Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

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.