+

Search Tips   |   Advanced Search

Sessions monitoring

We can use the SessionStats MXBean to monitor the performance data of sessions in the Liberty profile.

The performance data of sessions for each application are available as an MXBean which can be accessed through JMX.

The sessions associated with a single web application have their own SessionStats MXBean (that is, one SessionStats MXBean for each web application).

The ObjectName for identifying each Session MXBean is:

For example:

WebSphere:type=SessionStats,name=default_host/trade_lite
WebSphere:type=SessionStats,name=default_host/moneybank

The MXBean is responsible for reporting SessionStats for a single web application. The following key data are available for the SessionStats MXBean after monitoring is enabled:

CreateCount

The total number of sessions created.

LiveCount

The total number of live sessions.

ActiveCount

The total number of active sessions.

InvalidatedCount

The total number of sessions that are invalidated.

InvalidatedCountbyTimeout

The total number of sessions invalidated via timeout.


Parent topic: Monitoring the Liberty profile