1 Reply Latest reply on Nov 16, 2002 4:43 AM by Juha Lindfors

    HELP!!! primkey-field must be the same type as prim-key-clas

    nicolas Newbie

      Hi, I'm having problems when stating up mi jboss 3.0.4 with tomcat
      I configured all xml files and I don't know wy is this hapend

      I get the following error...


      Warning: The type of the primkey-field must match the primary key class.

      2002-11-15 12:50:04,078 INFO [org.jboss.ejb.EjbModule] Creating
      2002-11-15 12:50:04,125 INFO [org.jboss.ejb.EjbModule] Deploying Entidad
      2002-11-15 12:50:04,515 INFO [org.jboss.ejb.EjbModule] Created
      2002-11-15 12:50:04,515 INFO [org.jboss.ejb.EjbModule] Starting
      2002-11-15 12:50:04,656 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=Entidad,service=EJB
      org.jboss.deployment.DeploymentException: primkey-field must be the same type as prim-key-class
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCCMPFieldMetaData.(JDBCCMPFieldMetaData.java:130)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:289)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:117)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)