[jboss-user] [EJB/JBoss] - Re: Problem looking up EJB session bean (Name not bound)

McGerman1 do-not-reply at jboss.com
Wed Jun 6 04:34:12 EDT 2007


Hi the correct Lookup when deploying in an ear file must be:

Object authenRef = _intialCtx.lookup("<ear-file-without-extension>/AuthenticatorBean/remote");

in your case:
Object authenRef = _intialCtx.lookup("test/AuthenticatorBean/remote");

I had the same problem like you before ;-))


Greedings McGerman

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051623#4051623

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051623



More information about the jboss-user mailing list