Specialized Administration > Site Maintenance > Windchill MBeans > ServletRequests (Monitors)
  
ServletRequests (Monitors)
The ServletRequests MBean monitors servlet requests and thus is only instantiated in the servlet engine. For those method servers that have an embedded Tomcat, the ServletRequests MBean is located under the following method server node:
com.ptc > WebbAppContexts > <webAppName> > Monitors
Using the attributes for this MBean, you can set the logger levels to gather statistics. The following table shows the levels of statistics that can be gathered:
Statistics Grouping
Description
Total
Statistics accumulated since web application startup.
Baseline
Statistics accumulated since last invocation of the resetBaselineStatistics() operation (or since web application startup if this operation is never invoked).
Summary
Statistics accumulated for a time interval specified by the SummaryIntervalSeconds attribute. Summary statistics are logged but not reflected in the MBean attributes.
Recent
Statistics accumulated for a time interval specified by the RecentIntervalSeconds attribute. The corresponding Recent* MBean attributes are updated at the end of each measurement interval.
Request
Data for an individual servlet request.
* 
You can set up which servlet requests are tracked and which statistics are gathered by setting values for the RequestLoggerOutputAttributes and StatisticLoggerOutputAttributes in this MBean.
* 
To trace a user session into the method server, you can set RequestLoggerLevel to INFO and set the Id and SessionID in RequestLoggerOutputAttributes.
* 
The RequestLoggerUseShortFormat attribute controls whether the Property Name is prepended to the value in the logs. If you put the column headings in Excel, you can set this to false and import the data more easily for analysis.
* 
From the Operations node under the method server, you can use the captureActiveContexts button to capture running contexts. The contexts then display under ServletRequests MBean.
The ServletRequests MBean also provides a MaxAverageActiveRequestsThreshold attribute. When the average (concurrently) active requests over a summary statistics interval exceeds this threshold a JMX notification is sent. For information about notifications, see Setting Up Your JMX Environment.