Have you used PortableRemoteObject.narrow to narrow the object
reference that was read from the collection?
Zahid Iqbal wrote:
> 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.
>
--
_______________________________________________________________________________
Evan Ireland Sybase EAServer Engineering [EMAIL PROTECTED]
Wellington, New Zealand +64 4 934-5856
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".