Web module
Reporting module provides web listener to monitor servlet containers.
Installation
Add commons-monitoring-web to your webapp.
Monitor requests
Simply add the filter org.apache.commons.monitoring.web.servlet.MonitoringFilter:
<filter>
<filter-name>monitoring-request</filter-name>
<filter-class>org.apache.commons.monitoring.web.servlet.MonitoringFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>monitoring-request</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Monitor sessions
Simply add the listener org.apache.commons.monitoring.web.servlet.MonitoringFilter:
<listener>
<listener-class>org.apache.commons.monitoring.web.servlet.MonitoringFilter</listener-class>
</listener>
Accessing results
If you installed the reporting webapp you should be able to get the result under the report tab.