glassfish:web:session:sessionRejectedEvent

event

Synopsis

glassfish:web:session:sessionRejectedEvent(
    int maxSessions,
    java.lang.String appName,
    java.lang.String hostName)

Description

This event is sent whenever an HTTP session could not be created because the maximum number of concurrent HTTP sessions for the application was reached.

Use this event to determine if the maximum number of concurrent sessions for the application needs to be increased (by default, there is no limit).

Parameters

maxSessions

The maximum number of active HTTP sessions allowed.

appName

The name of the web application in which an HTTP session was not created.

hostName

The name of the virtual server on which the application has been deployed.