Sanjay,

Refer to the EJB 1.1 specification (or any decent
j2ee/ejb book that covers the ejb 1.1 spec) on the
"javax.rmi.PortableRemoteObject.narrow(Object, Class)"
requirement.

Going through the product manuals and examples would
of course help.

-krish


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjay Saluja
> Sent: Monday, August 27, 2001 12:48 PM
> To: [EMAIL PROTECTED]
> Subject: Exception at time of lookup
>
>
> Hi All
>
> I am using Websphere Appserver 4.0(Advanced Edition)..
> In my session bean, i am looking up an entity bean..
>
> The code is :
> validateUser()
> {
>         .......
>         LoginEntityHome lh = (LoginEntityHome)initial.lookup("LoginEntityHome");
> }
>
> It is raising following exception:
>
> [01.08.27 15:51:17:171 GMT+05:30] 42530e28 ExceptionUtil X CNTR0020E:
> Non-application exception occurred while processing method validateUser on
> bean BeanId(LoginApp#login-ejb.jar#LoginSessionBean, null):
> java.rmi.RemoteException: LoginEntityHome
>
> Please guide me in this problem
>
> Thanks
> Sanjay

===========================================================================
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".

Reply via email to