1 Reply Latest reply on Feb 21, 2003 6:23 AM by Adrian Brock

    jndi.properties

    dmx Newbie

      I have 2 JBoss servers running on the same machine. JMS client 1 needs to connect to JBoss 1 and JMS client 2 needs to connect to JBoss2.

      When i have just 1 JBoss server running, the jndi.properties file for my JMS client is as follows:
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      java.naming.provider.url=machine_name

      Now that i have 2 JBoss servers, i think i need to specify the port number too. What is the port number by default? can someone help?