This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes run j2ee tutorial example OrderBean, and get Exceptions followed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "run j2ee tutorial example OrderBean, and get Exceptions followed." Watch "run j2ee tutorial example OrderBean, and get Exceptions followed." New topic
Author

run j2ee tutorial example OrderBean, and get Exceptions followed.

tao jiang
Greenhorn

Joined: May 26, 2002
Posts: 5
D:\j2eetutorial\examples\build\ejb\order>runclient -client OrderApp.ear -name OrderClient -textauth
Initiating login ...
Enter Username:user
Enter Password:user12
Binding name:`java:comp/env/ejb/SimpleOrder`
about to create
Caught an exception.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: ejbLoad: Index: 0, Si
ze: 0; nested exception is:
javax.ejb.EJBException: ejbLoad: Index: 0, Size: 0
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelega
te.java:64)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at _Order_Stub.getLineItems(Unknown Source)
at OrderClient.main(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:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:229)
at com.sun.enterprise.appclient.Main.main(Main.java:155)
Caused by: java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: ejbLoad: Index: 0,
Size: 0; nested exception is:
javax.ejb.EJBException: ejbLoad: Index: 0, Size: 0
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:389)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:431)
at OrderBean_EJBObjectImpl.getLineItems(OrderBean_EJBObjectImpl.java:60)
at _OrderBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.jav
a:520)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java
:210)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
Caused by: javax.ejb.EJBException: ejbLoad: Index: 0, Size: 0
at OrderBean.ejbLoad(Unknown Source)
at com.sun.ejb.containers.EntityContainer.callEJBLoad(EntityContainer.java:1632)
at com.sun.ejb.containers.EntityContainer.afterBegin(EntityContainer.java:848)
at com.sun.ejb.containers.BaseContainer.startNewTx(BaseContainer.java:1119)
at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:1030)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:375)
at OrderBean_EJBObjectImpl.getLineItems(OrderBean_EJBObjectImpl.java:54)
... 7 more
-------------------------------------------------
thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: run j2ee tutorial example OrderBean, and get Exceptions followed.
 
Similar Threads
Still getting duplicate in JPA ManyToMany Entity Relationship
Session bean for sending e-mail
JCA Consuming legacy System WebService
Problem in EJB reference Example
Help with CMP implementation.