tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: AJP connector getPort
Date Tue, 25 Sep 2007 09:58:31 GMT
Andrew Hole wrote:
> I have a solution with an apache with mod_jk  and 2 tomcat instances.
> How can I know with a JSP which tomcat instance process the request?
> Basically I want that my JSP show AJP connector port.
>   
Use JMX to get such information.

Start JVM with following arguments 
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html and then connect 
to it using JConsole. You will find a lot of Tomcat's components.

-- 
Mikolaj Rydzewski <miki@ceti.pl>


Mime
View raw message