Sun GlassFish Enterprise Server v2.1.1 Administration Guide

Web Container Statistics

The web container fits into the tree of objects as shown in The Applications Tree. Web container statistics are displayed for each individual web application. Statistics available for the web container for servlets are shown in Table 18–6, and statistics available for web modules are shown in Table 18–7.

Table 18–6 Web Container (Servlet) Statistics

Statistic 

Units 

Data Type 

Comments 

errorcount

Number 

CountStatistic 

Cumulative number of cases where the response code is greater than or equal to 400. 

maxtime

Milliseconds 

CountStatistic 

The maximum amount of time the web container waits for requests. 

processingtime

Milliseconds 

CountStatistic 

Cumulative value of the amount of time required to process each request. The processing time is the average of request processing times divided by the request count. 

requestcount

Number 

CountStatistic 

The total number of requests processed so far. 

Statistics available for web modules are shown in Web Container Statistics.

Table 18–7 Web Container (Web Module) Statistics

Statistic 

Data Type 

Comments 

jspcount

CountStatistic 

Number of JSP pages that have been loaded in the web module. 

jspreloadcount

CountStatistic 

Number of JSP pages that have been reloaded in the web module. 

sessionstotal

CountStatistic 

Total number of sessions that have been created for the web module. 

activesessionscurrent

CountStatistic 

Number of currently active sessions for the web module. 

activesessionshigh

CountStatistic 

Maximum number of concurrently active sessions for the web module. 

rejectedsessionstotal

CountStatistic 

Total number of rejected sessions for the web module. This is the number of sessions that were not created because the maximum allowed number of sessions were active. 

expiredsessionstotal

CountStatistic 

Total number of expired sessions for the web module. 

sessionsize

AverageRangeStatistic 

Size of the session for the web module. Value is either high, low, or average, or is in bytes for serialized sessions. 

sessionpersisttime

AverageRangeStatistic 

Time (in ms, low, high, or average) taken to persist HTTP session state to back-end store for the web module. 

cachedsessionscurrent

CountStatistic 

Current number of sessions cached in memory for the web module. 

passivatedsessionscurrent

CountStatistic 

Current number of sessions passivated for the web module.