Version 6

    JSR 77 MBeans for web applications statistics


    Make use of JMX-Console (apply filter :type=GlobalRequestProcessor,) to find out more about Tomcat


    • I/O activity (attributes bytesReceived and bytesSent)

    • Maximum and total processing time (attributes maxTime and ProcessingTime)

    • Number of requests (attribute  requestCount)

    • Error count (attribute errorCount )


    Available for JBoss3.2.5 and up



    Apply filter :type=ThreadPool, to get statistics on current thread pool usage for Tomcat.

    Available for JBoss3.2.5 and up.




    Tomcat 5.0.x status servlet


    You can also make use of Status servlet to monitor session and request.

    Browse to http://localhost:8080/status on your JBoss local instance.


    To get additional information like web application deployed and processing time, max time, request count etc for each of the servlets grouped by application make use of







    Tomcat makes use of AccessLogValve which creates log that can later be analyzed by standard log analysis tools to track page hit counts, user session activity, and so on.


    AccessLogValve is defined in jbossweb-tomcat50.sar\server.xml (available from JBoss3.2.5 and up) or jbossweb-tomcat41.sar\META-INF\ jboss-service.xml (for JBoss3.2.3 and lower)


               <Valve className="org.apache.catalina.valves.AccessLogValve"
                   prefix="localhost_access_log." suffix=".log"
                   pattern="common" directory="${jboss.server.home.dir}/log" 
                   resolveHosts="false" ></Valve>

    By default this is commented out.


    To find out more about AccessLogValve visit Tomcat Server Configuration Reference