This content has been marked as final.
Show 3 replies
-
1. Re: JMS example works on localhost, fails between two differ
bloodasp Nov 15, 2005 5:37 AM (in response to guycole)are you using the following or its equivalent?
Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfacesNamingContextFactory"); p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnpinterfaces"); p.put(Context.PROVIDER_URL, "localhost:1099");
make sure you also have the required client jars. -
2. Re: JMS example works on localhost, fails between two differ
guycole Nov 15, 2005 8:43 PM (in response to guycole)The answer turns out to be a RedHat environment variable. You need to set something like this or JNDI will not respond to remote requests.
JAVA_OPTS=-Djava.rmi.server.hostname=192.26.123.93 -
3. Re: JMS example works on localhost, fails between two differ
adrian.brock Nov 15, 2005 9:10 PM (in response to guycole)No the solution is in the FAQ.
Which if you've posted in the correct forum (jndi/network) you might have found.