"Sharan, Abhishek" wrote:
>
> Hi All
> i am facing a very typical yet strange problem.
>
> Scenario
> -----------
> in the websphere test environment in VAge
>
> Inside Servlet ,a finder method is invoked say findByUserID which returns
> Enumeration of RemoteReferneces to entitybean.
> at the ejb layer the enumeration is being constructed properly( confirmed
> through using VAge Debugger).
>
> when the enumeration is recieved at servlet end and we try to reterive
> remoteref from enumeration by casting it to appropraite remoteRef class.
> ClassCastException is thrown.
Did you use javax.rmi.PortableRemoteObject.narrow to narrow the home reference
before casting it?
> Enironment
> ------------------
> Win NT workstation 4.0
> Visual Age Enterprise Edition 3.0
>
> anybody faced similiar problem.
> any pointer/help is very much apprecaited
>
> Thank you
> Abhishek Sharan
>
> ===========================================================================
> 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".
--
________________________________________________________________________________
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".