2 Replies Latest reply on Jun 28, 2002 12:30 PM by Yin Tse

    xdoclet & jboss 3 - sample errors deployment

    Yin Tse Newbie

      Hi all,
      I was able to build the sample app that came with xdoclet 1.12 and tried to deploy it in jboss 3.0, but ran into some errors. Here's the output that I got when deplying it. I checked the beans to see if the proper getter and setter were there and they were . Please provide any suggestions or pointers to solve these errors. Thanks .



      09:25:47,562 INFO [EJBDeployer]
      Bean : AllTypesEntityBean
      Section: 10.6.2
      Warning: The entity bean class must define a get accessor for each CMP field.
      Info : Field: aBoolean

      09:25:47,578 INFO [EJBDeployer]
      Bean : AllTypesEntityBean
      Section: 10.6.2
      Warning: The entity bean class must define a set accessor for each CMP field.
      Info : Field: aBoolean


      09:25:48,828 WARN [JawsApplicationMetaData] Warning: data found in jaws.xml for entity bank/Account
      but bean is not a jaws-managed cmp entity in ejb-jar.xml
      09:25:48,843 WARN [JawsApplicationMetaData] Warning: data found in jaws.xml for entity addr/Address
      but bean is not a jaws-managed cmp entity in ejb-jar.xml
      09:25:48,843 WARN [JawsApplicationMetaData] Warning: data found in jaws.xml for entity AllTypesEnti
      tyBean but bean is not a jaws-managed cmp entity in ejb-jar.xml

      09:25:49,171 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication=sam
      ples.ear,J2EEServer=Single,j2eeType=EJBModule,name=samples-ejb.jar
      09:25:49,187 ERROR [EjbModule] Initialization failed
      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
      :270)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMet
      aData.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.j
      ava:601)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:321)
      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
      at org.jboss.ejb.Container.invoke(Container.java:789)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:272)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284
      )
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy72.create(Unknown Source)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:392)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284
      )
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:272)
      at org.jboss.system.ServiceController.create(ServiceController.java:212)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284
      )
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.create(Unknown Source)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:380)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:631)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
      at java.lang.reflect.Method.invoke(Native Method)