当前位置: 技术问答>java相关
不能创建stateless EJB的问题。
来源: 互联网 发布时间:2015-06-03
本文导语: 现在编写一个Bid系统,通过了deploy,进行系统测试时,发现如下错误: Debug: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Co...
现在编写一个Bid系统,通过了deploy,进行系统测试时,发现如下错误:
Debug: java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException;
nested exception is:javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException;
nested exception is:javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
n(ShutdownUtilDelegate.java:64)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at logics._ItemInterface_Stub.postItem(Unknown Source)
at client.BiddingClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22
9)
at com.sun.enterprise.appclient.Main.main(Main.java:155)
Caused by: java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException;
nested exception is:javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
va:389)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:43
1)
at logics.ItemInterfaceBean_EJBObjectImpl.postItem(ItemInterfaceBean_EJB
ObjectImpl.java:79)
at logics._ItemInterfaceBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
nericPOAServerSC.java:520)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
ericPOAServerSC.java:210)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
erverSC.java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
ool.java:99)
Caused by: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(S
tatelessSessionContainer.java:358)
at com.sun.ejb.containers.StatelessSessionContainer.getContext(Stateless
SessionContainer.java:285)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:365
)
at logics.ItemInterfaceBean_EJBObjectImpl.postItem(ItemInterfaceBean_EJB
ObjectImpl.java:73)
... 7 more
Debug: java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException;
nested exception is:javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException;
nested exception is:javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
n(ShutdownUtilDelegate.java:64)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at logics._ItemInterface_Stub.postItem(Unknown Source)
at client.BiddingClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22
9)
at com.sun.enterprise.appclient.Main.main(Main.java:155)
Caused by: java.rmi.RemoteException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException;
nested exception is:javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
va:389)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:43
1)
at logics.ItemInterfaceBean_EJBObjectImpl.postItem(ItemInterfaceBean_EJB
ObjectImpl.java:79)
at logics._ItemInterfaceBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
nericPOAServerSC.java:520)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
ericPOAServerSC.java:210)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
erverSC.java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
ool.java:99)
Caused by: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(S
tatelessSessionContainer.java:358)
at com.sun.ejb.containers.StatelessSessionContainer.getContext(Stateless
SessionContainer.java:285)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:365
)
at logics.ItemInterfaceBean_EJBObjectImpl.postItem(ItemInterfaceBean_EJB
ObjectImpl.java:73)
... 7 more
|
我来我来
|
这么快,楼主强吖
|
^&^