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)
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.
and Thanks in advance for any help
You can change the jndi port in "conf/jboss-service.xml". The server/host can be changed in "conf/jndi.properties". Pay heed to the warning above the line !!!