Can you more simply try this:
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" );
That didn't work either.
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?
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?
Look in the FAQ forum at
Connection refused to 127.0.0.1