File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Monitors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Monitors" Watch "Tomcat Monitors" New topic

Tomcat Monitors


Joined: Nov 30, 2005
Posts: 1
Does anyone know how to capture the counters on tomcat instance.(like Active Threads,current threads,etc...)
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

A lot of this information can be seen from the Tomcat Manager/html application .

On a default install:

You may need to add your name to the realm in the tomcat/conf/tomcat-users.xml file. Once on the page, click the Server Status link on the right side of the header.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870


There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Tomcat Monitors
It's not a secret anymore!