-
1. Re: Unable to do a jndi lookup from remote client
slaboure Apr 25, 2002 2:00 PM (in response to norm32)Hello,
Can you more simply try this:
p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
p.put("java.naming.provider.url", "192.168.100.123:1099"); // No "jnp://" thing
p.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" );
Cheers,
sacha -
2. Re: Unable to do a jndi lookup from remote client
norm32 Apr 25, 2002 2:28 PM (in response to norm32)That didn't work either.
Thanks anyways
Norm -
3. Re: Unable to do a jndi lookup from remote client
norm32 Apr 25, 2002 3:11 PM (in response to norm32)I'm getting a strange CommunicationException
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:
java.net.ConnectException: Connection refused]
Why is the app trying to connect to 0.0.0.0? -
4. Re: Unable to do a jndi lookup from remote client
slaboure Apr 26, 2002 1:12 PM (in response to norm32)Can you please give us a small java file that exhibit this behaviour (the *simplest* file you can, just a few lines) so we can take a look at the code?
-
5. Re: Unable to do a jndi lookup from remote client
adrian.brock Apr 26, 2002 1:55 PM (in response to norm32)Look in the FAQ forum at
Connection refused to 127.0.0.1
Regards,
Adrian