On 19/02/2020 11:00, Jonathan Yom-Tov wrote:
> hi,
> 
> I'm configuring a two tomcat cluster with session replication and
> encountering a strange issue. One of the tomcats appears to choose the AJP
> connector port at random. The other tomcat obeys the port directive from
> its connector without a problem. This is doubly strange because the second
> tomcat's entire directory is copied from the first's and I only made the
> necessary modifications to ports in server.xml in order to avoid clashes.
> The random port changes with every restart of tomcat.
> 
> Any ideas on where I can find where tomcat chooses the port, or how I can
> debug this?

It should only do that if the port is set to zero and the JVM (or
possibly the OS - it isn't Tomcat anyway) selects the port.

Can you show us the configuration for this Connector?

Mark

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

Reply via email to