0 Replies Latest reply on Oct 1, 2003 3:50 PM by Prabhakar Krishnaswami

    Token Unknown error

    Prabhakar Krishnaswami Newbie

      I am trying to deploy entity beans which uses CMR on JBOss 3.04 and running into all kinds of problem. The problem I am currently having is while creating a table pertaining to a bean. The error thrown is as follows:

      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Error while creating t
      able; - nested throwable: (org.firebirdsql.jdbc.FBSQLException: GDS Exception. D
      ynamic SQL Error
      SQL error code = -104
      Token unknown - line 1, char 240
      ))]
      15:16:12,095 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that enabl
      ed: true

      My impression is that the firebird driver does not like one of my fields and I am not sure which one.

      The xml pertaining to this bean is as follows:


      <display-name>AddressBean</display-name>
      <ejb-name>AddressBean</ejb-name>
      <local-home>AddressLocalHome</local-home>
      AddressLocal
      <ejb-class>AddressBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>java.lang.Object</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>AddressBean</abstract-schema-name>
      <cmp-field>
      street2
      <field-name>street2</field-name>
      </cmp-field>
      <cmp-field>
      no description
      <field-name>country</field-name>
      </cmp-field>
      <cmp-field>
      street1
      <field-name>street1</field-name>
      </cmp-field>
      <cmp-field>
      region
      <field-name>region</field-name>
      </cmp-field>
      <cmp-field>
      postalcode
      <field-name>postalcode</field-name>
      </cmp-field>
      <cmp-field>
      city
      <field-name>city</field-name>
      </cmp-field>
      <security-identity>

      <use-caller-identity></use-caller-identity>
      </security-identity>
      <resource-ref>
      <res-ref-name>PK</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>



      Is more information required to give me a response? I would appreciate any help on this issue