Hi,

This question is directed towards Tomcat developers or Tomcat API experts.

We are trying to establish an inspection mechanism that will track key
parameters
of Tomcat's over the period of time including severe peaks and low usage
times.

The key parameters that we interested in are:


  - Current number of threads that are servicing web requests on the
  HTTP or AJP connector,



  - Current number of database connections utilized



  - Current size of the backlog queue of waiting http/ajp requests


We want to output these parameter on a periodic basis, say every 30 sec so
that we can track the Tomcat's
behavior over time and over different loads.


I am aware of MBean server and how to access it via tool like JConsole.

However, use of the JConsole on the hardened environement where only JRE is
used
and where only few ports are open is not feaseable. Plus, it provides a
snapshot and not aggregate data.

What we would like to do/have is some form of a Tomcat valve or simply
a separate component that is periodically dumping these values that I listed
above.


Can someone please advise me on the appropriate API, preferably directly
accessible and not via JMX that would enable me to get that information.

--
Thank you,
Edmon Begoli
http://blogs.ittoolbox.com/eai/software

Reply via email to