1 Reply Latest reply on Oct 11, 2002 10:32 AM by prabhakar

    JNDI Port.  Error whent alking to JBOSS

    chhibber

      When I attemp to access a page, my client(tomcat) talks to localhost:1099.

      The problem is I am setting it so my jndi server is listening on another port or IP other then localhost:1099.
      How do I change it so that it talks to something other then localhost. I am attempting to run two instances of jboss.

      I am using jboss 3.0.3 + tomcat 4.0.5

      To hopefully clarify this is the error I recieve when requesting a page.

      2002-10-10 18:10:22,073 WARN [org.jnp.interfaces.NamingContext] Failed to connect to localhost:1099
      javax.naming.CommunicationException: Failed to connect to server localhost:1099. Root exception is
      javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099. Root exception is
      java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
      at java.net.PlainSocketImpl.connectToAddress(
      etc.. etc.. etc..

      The problem is my jndi server is listening on another port or IP other then localhost.
      How do I change it so that it talks to something other then localhost.


      Cheers
      and Thanks in advance for any help
      SC