[jboss-user] [EJB 3.0] - Re: JNDI lookup from app server of ejb in another server ret

ALRubinger do-not-reply at jboss.com
Fri May 18 13:16:16 EDT 2007

Could be a few things.  First check the JNDI Console to be sure you''re looking up the right address in EJB_NAME:


Won't be the Interceptor; you're simply doing a lookup of an arbitrary object in JNDI.  

Are both app servers JBoss AS?  If not, you might need the following properties to obtain your Context:

properties.put("java.naming.factory.initial", org.jnp.interfaces.NamingContextFactory");
  | properties.put("java.naming.factory.url.pkgs", org.jboss.naming:org.jnp.interfaces");

Maybe these can give you some more insight...


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

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

More information about the jboss-user mailing list