GRAVE: EJB5070: Exception creating stateless session bean : [TravelDAO]
ATTENTION: A system exception occurred during an invocation on EJB TravelDAO method public void com.sunparadise.sessionbean.TravelDAO.addPlace(com.supinfo.sunparadise.entity.Place)
javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:448)
at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2418)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1811)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:200)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:75)
at $Proxy157.addPlace(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:146)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:176)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:682)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:216)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1841)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1695)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1078)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:797)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:561)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2558)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)
Caused by: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:718)
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:200)
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:443)
... 22 more
Caused by: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:526)
at com.sun.ejb.containers.StatelessSessionContainer.access$000(StatelessSessionContainer.java:90)
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:716)
... 24 more
Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=com.sunparadise.sessionbean.TravelDAO/place,Remote 3.x interface =com.sunparadise.sessionbean.PlaceDAO,ejb-link=null,lookup=null,mappedName=,jndi-name=com.sunparadise.sessionbean.PlaceDAO,refType=Session into class com.sunparadise.sessionbean.TravelDAO
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:614)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:384)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:168)
at com.sun.ejb.containers.BaseContainer.injectEjbInstance(BaseContainer.java:1622)
at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:486)
... 26 more
Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/com.sunparadise.sessionbean.TravelDAO/place' in SerialContext [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=com.sunparadise.sessionbean.TravelDAO/place,Remote 3.x interface =com.sunparadise.sessionbean.PlaceDAO,ejb-link=null,lookup=null,mappedName=,jndi-name=com.sunparadise.sessionbean.PlaceDAO,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO' [Root exception is javax.naming.NamingException: Lookup failed for 'com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO' in SerialContext [Root exception is javax.naming.NameNotFoundException: com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO not found]]]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:513)
... 30 more
Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=com.sunparadise.sessionbean.TravelDAO/place,Remote 3.x interface =com.sunparadise.sessionbean.PlaceDAO,ejb-link=null,lookup=null,mappedName=,jndi-name=com.sunparadise.sessionbean.PlaceDAO,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO' [Root exception is javax.naming.NamingException: Lookup failed for 'com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO' in SerialContext [Root exception is javax.naming.NameNotFoundException: com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO not found]]
at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:174)
at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1040)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:688)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:657)
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:148)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
... 32 more
Caused by: javax.naming.NamingException: Lookup failed for 'com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO' in SerialContext [Root exception is javax.naming.NameNotFoundException: com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO not found]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:169)
... 37 more
Caused by: javax.naming.NameNotFoundException: com.sunparadise.sessionbean.PlaceDAO#com.sunparadise.sessionbean.PlaceDAO not found
at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:197)
at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:168)
at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:58)
at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:101)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:430)
... 39 more
Partager