tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edmon Begoli" <>
Subject Question for Tomcat API experts - How to get period export of key throughput parameters
Date Tue, 18 Jul 2006 18:13:46 GMT

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

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

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
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

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message