This content has been marked as final.
Show 1 reply
-
1. Re: JNDI lookup from app server of ejb in another server ret
alrubinger May 18, 2007 1:16 PM (in response to justinmiller)Could be a few things. First check the JNDI Console to be sure you''re looking up the right address in EJB_NAME:
http://jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole
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...
S,
ALR