Hi all,
I am having some problems deploying the samples ear in Jboss 3 RC2. Note that the 
build went fine, I didn't have any problem building the ear file. Here's the trace of 
my errors, please let me know if you have any suggestion about the warnings on the 
home interface method for account bean etc..., Thanks all:


23:00:30,474 INFO  [EARDeployer] Init J2EE application: 
file:/E:/java/jboss/server/default/deploy/sa
mples.ear
23:00:31,776 INFO  [EJBDeployer]
Bean   : bank/Account
Method : public abstract void transfer(Account, Account, float) throws RemoteException
Section: 12.2.9
Warning: A home method declared in the home interface must not return the entity beans 
remote interf
ace.

23:00:31,826 INFO  [EJBDeployer]
Bean   : bank/Account
Section: 12.2.1
Warning: null

23:00:31,866 INFO  [EJBDeployer]
Bean   : AllTypesEntityBean
Section: 10.8.1
Warning: The type of the primkey-field must match the primary key class.

23:00:31,876 INFO  [EJBDeployer]
Bean   : AllTypesEntityBean
Section: 10.6.2
Warning: The entity bean class must define a get accessor for each CMP field.

23:00:31,876 INFO  [EJBDeployer]
Bean   : AllTypesEntityBean
Section: 10.6.2
Warning: The entity bean class must define a set accessor for each CMP field.

23:00:32,056 INFO  [EjbModule] Creating
23:00:32,116 INFO  [EjbModule] Deploying bank/Account
23:00:33,979 INFO  [EjbModule] Deploying addr/Address
23:00:33,999 INFO  [EjbModule] Deploying AllTypesEntityBean
23:00:34,019 INFO  [EjbModule] Deploying City
23:00:34,049 INFO  [EjbModule] Deploying Country
23:00:34,069 INFO  [EjbModule] Deploying Language
23:00:34,089 INFO  [EjbModule] Deploying LanguageCode
23:00:34,109 INFO  [EjbModule] Deploying bank/Customer
23:00:34,269 INFO  [EjbModule] Deploying bank/CustomerBMP
23:00:34,430 INFO  [EjbModule] Deploying Stateful
23:00:35,060 INFO  [EjbModule] Deploying bank/Teller
23:00:35,070 INFO  [EjbModule] Deploying test.ejb.Queue
23:00:36,983 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
23:00:36,983 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
23:00:36,993 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
23:00:36,993 WARN  [JawsApplicationMetaData] Warning: data found in jaws.xml for 
entity City but bea
n is not a jaws-managed cmp entity in ejb-jar.xml
23:00:36,993 WARN  [JawsApplicationMetaData] Warning: data found in jaws.xml for 
entity Country but
bean is not a jaws-managed cmp entity in ejb-jar.xml
23:00:36,993 WARN  [JawsApplicationMetaData] Warning: data found in jaws.xml for 
entity Language but
 bean is not a jaws-managed cmp entity in ejb-jar.xml
23:00:36,993 WARN  [JawsApplicationMetaData] Warning: data found in jaws.xml for 
entity LanguageCode
 but bean is not a jaws-managed cmp entity in ejb-jar.xml
23:00:38,425 INFO  [JDBCInitCommand] Created table 'customer' successfully.
23:00:38,555 ERROR [EntityContainer] Exception in service lifecyle operation: create
org.jboss.deployment.DeploymentException: primkey-field must be the same type as 
prim-key-class
        at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCCMPFieldMetaData.<init>(JDBCCMPFieldMetaData.
java:130)
        at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java
:270)
        at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(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:595)
        at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:322)
        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:790)
        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:867)
        at $Proxy0.create(Unknown Source)
        at org.jboss.system.ServiceController.create(ServiceController.java:271)
        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 $Proxy22.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:867)
        at $Proxy0.create(Unknown Source)
        at org.jboss.system.ServiceController.create(ServiceController.java:271)
        at org.jboss.system.ServiceController.create(ServiceController.java:211)
        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:376)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:651)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:645)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:526)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)
        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 $Proxy4.deploy(Unknown Source)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java
:586)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:465)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca
nner.java:237)
        at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
        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:867)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:341)
        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 $Proxy3.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:281)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:692)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:527)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:472)
        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.server.ServerImpl.doStart(ServerImpl.java:320)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:218)
        at org.jboss.Main.boot(Main.java:142)
        at org.jboss.Main$1.run(Main.java:375)
        at java.lang.Thread.run(Thread.java:484)
23:00:38,616 ERROR [EntityContainer] Exception in service lifecyle operation: destroy



__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to