* 2 Tomcat instances on same box

2005-08-09 Thread Paul Wallace
Hello, I am trying to achieve not the unimaginable, I thought - to have one instance of Tomcat (5.5) running on port 80, and one - also 5.5 (using the same JAVA_HOME) running on port 8080 on the same box (Win XP). They both start up independently and load on localhost / localhost:8080 just

Re: * 2 Tomcat instances on same box

2005-08-09 Thread Brian Bonner
Paul, I think it's probably because there are other ports (i.e the Tomcat Admin Port that might be on 8005 and the AJP Port that may be on 8009) in use that are common to both of your instances. Brian Paul Wallace wrote: Hello, I am trying to achieve not the unimaginable, I

Re: * 2 Tomcat instances on same box

2005-08-09 Thread Wade Chandler
Paul, It sounds like you have them running on the same port. Either the connector 8005 is the same for both or the 8080 is still being used by both. The bind exception is a socket server exception telling you both instances are trying to use the same port number some where. Wade --- Paul

RE: * 2 Tomcat instances on same box

2005-08-09 Thread Paul Wallace
Hi and thank you both for your replies. It turns out more than the HTTP port number needs to be different, as Server port=8005 shutdown=SHUTDOWN was common to both and thus causing the problem. Apart from being an attribute of the parent node, what is this port? Rgds Paul. It sounds like you

RE: * 2 Tomcat instances on same box

2005-08-09 Thread Caldarale, Charles R
From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: * 2 Tomcat instances on same box Apart from being an attribute of the parent node, what is this port? It's the one Tomcat listens on for the shutdown command in order to gracefully terminate. Bound to 127.0.0.1 only, so you have

RE: * 2 Tomcat instances on same box

2005-08-09 Thread Wade Chandler
One is the control port for SHUTDOWN and maybe other control (think only shutdown), and the other is the AJP port used to connect tomcat to other servers like Apache and IIS. If you are on a Linux box you can use Pseudo IP addresses. Linux allows more than one IP address to be assigned to a NIC.