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
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
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
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
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.