Topic
  • 1 reply
  • Latest Post - ‏2012-02-20T09:24:57Z by Shawn_Jiang
SystemAdmin
SystemAdmin
2233 Posts

Pinned topic Issue with deployment of EJB project

‏2012-02-15T07:10:21Z |
Hello,

I am using Eclipse (Indigo), Wasce 3.0 and DB2 for my project. I am just trying to deploy a ejb project with a stateless session bean and JPA entity class file for a table. I have added the EclipseLink persistence provider. I am encountering the following error on deployment ....
At least one deployment problem:
org.apache.geronimo.common.DeploymentException:
At least one deployment problem:

at org.apache.geronimo.common.DeploymentException.cleanse(DeploymentException.java:87)

at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:143)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)

at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)

at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)

at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)

at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)

at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)

at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)

at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)

at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)

at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)

at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1450)

at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90)

at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1285)

at java.security.AccessController.doPrivileged(Native Method)

at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1390)

at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:807)

at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)

at sun.rmi.transport.Transport$1.run(Transport.java:177)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:173)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:679)
org.apache.geronimo.common.DeploymentException: No default PersistenceUnit specified, and none located
at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.findPersistenceUnitQuery(PersistenceRefBuilder.java:218)

at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.buildNaming(PersistenceRefBuilder.java:168)

at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:98)

at org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:461)

at org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:409)

at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doAddGBeans(EjbModuleBuilder.java:1180)

at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:1149)

at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:700)

at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)

at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763)

at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)

at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)

at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)

at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)

at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)

at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)

at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)

at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)

at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)

at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)

at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)

at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1450)

at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90)

at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1285)

at java.security.AccessController.doPrivileged(Native Method)

at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1390)

at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:807)

at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)

at sun.rmi.transport.Transport$1.run(Transport.java:177)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:173)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:679)

Please help me resolve the problem.

Thank you in advance.
Updated on 2012-02-20T09:24:57Z at 2012-02-20T09:24:57Z by Shawn_Jiang
  • Shawn_Jiang
    Shawn_Jiang
    154 Posts

    Re: Issue with deployment of EJB project

    ‏2012-02-20T09:24:57Z  
    Thanks for your time to report the issue, we need more info here. It will be very helpful if you can provide your application package for us to recreate the problem.