---------------------------------------------------------------------------
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
---------------------------------------------------------------------------
----- Original Message ----- From: "Amit Bhargava" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, May 14, 2008 1:43 PM
Subject: Current thread count monitoring


Hi,

I'm new to Tomcat monitoring. I have an installation of Tomcat 5.5 on Windows 2003 server. I am trying to monitor Tomcat using JConsole (part of JDK 6). Could someone please tell me how I can get the current thread queue length in Tomcat?

Regards,
Amit

You have to add something like this to Java Opt
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port="9004"
-Dcom.sun.management.jmxremote.authenticate="false"
-Dcom.sun.management.jmxremote.ssl="false"

Enter in the Java Tab of the service console, if you using a windows service.

Then TC knows you want to JMX

Then in the JDK/bin you start JConsole
tell it Remote localhost:9004

Then stuff will start happening...
Look at Mbeans Tab
Catalina/Threadpool/http-8080/attributes
and choose the thread details you need.
CurrentThreadCount
CurrentThreadBusy

etc...


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




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

Reply via email to