tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: 2 tomcat on the same PC
Date Fri, 18 Aug 2006 13:39:18 GMT
> From: Martin Gainty [mailto:mgainty@hotmail.com] 
> You've introduced a collision for the same resources
> 
> Tomcat1 starts up and acquires listener connection for all 
> ports configured 
> within server.xml (default is 8080)
> Tomcat2 starts up and attempts to acquire listener connection 
> on all ports 
> configured within server.xml (goes after 8080)
> 
> so..
> Tomcat1 wins and Tomcat2 constantly contends for the same 
> port specified in 
> Connector
> Change the port specification for the default Catalina connector
>     <Connector port="8080"          -- TO
>     <Connector port="8081"         --8081 is a port which is 
> not being used 
> (not displayed) if you run netstat -a

Martin: That's not the complete story; he will also have to change the
shutdown port (defined near the top of the file).  If he's running via
some 'smart' program that looks for other instances running, he may also
have to bypass that.

		- Peter

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


Mime
View raw message