I have deployed an Entity EJB component (in WebSphere 4.0 Advanced Ed. ) with a collection methed named loadAll() (defined in EJBHome interface) that returns a collection (java.util.Collection) of all the records i.e. Entity EJBs. Now when I call this EJB component from a JSP page (that's also deployed in WebSphere 4.0 Advanced Ed.), I get the following error message. Please note that the EJB ejbLoadAll() method executes successfully and returns the correct number of records i.e. PK objects. Similarly other methods i.e. findByPrimaryKey() and create() are working correctly. Now the error occurs when the collection is iterated in the JSP page in order to retrieve each EJB Remote object from the collection.
 
"Error 500: Server caught unhandled exception from servlet [JSP 1.1 Processor]: org.omg.stub.javax.ejb._EJBObject_Stub"
 
Please let me know if someone has work around to this problem.
 
Thanks
 
Zahid.

Reply via email to