We are currently hosting multiple JBOSS sessions by running different jboss server instances on different JVM ports. I have created a client app than connects to the a server instance, but when I try to create an initial contect to a machine it always get connection refused.
If I connect to a machine that is running a single instance of jboss via: java.naming.provider.url=IP:1099 java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
It works fine. I think somthing is is going wrong trying to connect to a server that supports mutiple instances of JBOSS. I have even tried using Naming over HTTP and get the same result. Does anyone have a clue as to what is going on here?