I believe the problem is also reported in the post below:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= post was also left unanswered, though....
I've tried to play with JNDI settings: started server with "-Djava.rmi.server.hostname=localhost", set "java.naming.provider.url=localhost:1099" in "jndi.properties", but no success.
Unfortunately, our client is supposed to be running on the same machine with the server (according to the other report it is when this problem pops up) in many cases. We could run the system on 3.0, though.
Please, anybody knowing, tell me is it a bug in the new JBoss, or I maybe doing something wrong (e.g. didn't set up something on the server)?
Are you running on a Windows machine? If so, is your Java instance installed in a directory path that has a space in it (JAVA_HOME)?
At various times, JNDI and RMI on Windows can be upset by this. Always ensure that you install your JDKs in a directory path that contains no spaces.
This is usually where I have seen these type of jnp connection problems on Windows machines - since about 2.2 (maybe 2.0 but that was a long time ago ...).