Ubuntu – How to get statistics of apache tomcat

jquerytomcatUbuntu

I'm new to Tomcat server.

I'm designing a tool that provides the statistics of hits(page views) in a tomcat server.
i.e . I want to design a monitoring tool that gives the data of hits from a customized particular time to present time(Drop down).

I'm using Jquery bar chart plugin to design the graphs based on hits w.r.t time.

How can I do this?

I'm doing it for a Ubuntu server (10.04). Java version -6 and Tomcat version 6.

Best Answer

Tomcat can be configured to expose a jmx interface. Although I am not sure you would find Apache like access log files (note you can do it with an AccessLog valve in tomcat configuration), you would find a lot of useful information's like connector stats, JVM stats, etc

Take a look at this page for instance: http://tomcat.apache.org/tomcat-7.0-doc/monitoring.html

Related Topic