[jboss-user] [Beginners Corner] - Re: JBoss failed JNDI lookup without any error

PeterJ do-not-reply at jboss.com
Wed Dec 13 11:39:32 EST 2006


Is that a local or a remote EJB you are looking up? For a remote EJB, you should be using:

Object obj = ic.lookup("java:comp/env/ejb/MAPDelegate");
  | MAPDelegateHome mapHome = (MAPDelegateHome)PortableRemoteObject.narrow(obj, MAPDelegateHome.class);

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

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



More information about the jboss-user mailing list