tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Collision on port 8005 -- what to do about it?
Date Wed, 10 Jul 2013 19:34:54 GMT
On 10/07/2013 20:23, James H. H. Lampert wrote:
> We appear to be having, on a multi-IP-address system, a collision with
> port 8005, causing Tomcat to crash on takeoff.
> 
> Looking at server.xml, I see that 8005 is not mentioned in any
> "connector" definition, but rather in this:
> 
>> <Server port="8005" shutdown="SHUTDOWN">
> 
> I know how to bind a connector to a specific IP address, but I know
> nothing about this. Neither do I know what would happen if, once Tomcat
> is up, we were to attempt to send a shutdown message in the usual way:
> would we shut Tomcat down, or would we shut whatever owns 127.0.0.1:8005?

Tomcat version?

Tomcat 7 supports the address attribute in the server element.

Alternatively set the port to -1 and use kill <pid> to stop Tomcat.
Tomcat registers a shutdown hook so the effects of the kill are
identical to using the script.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message