NonStop Servlets for JavaServer Pages (NSJSP) 5.0 System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-003
3-50
Configuring the Manager for Sessions Support
className
The Java class name of the implementation to use. This class must implement the
org.apache.catalina.Manager interface. If not specified, the default is
com.tandem.servlet.catalina.session.NSJSPStandardManager.
distributable
If distributable is set to true, the session manager enforces the restrictions
described in the Servlet 2.3 specifications on distributable applications which
means that all the session attributes should implement the
java.io.Serializable interface. The default value is false.
The value of this property is automatically inherited from the web application
deployment descriptor (WEB-INF/web.xml) based on the presence or absence of
the <distributable> element.
maxInactiveInterval
The maximum inactive interval (in minutes) for any sessions created. The default
value is 30 minutes.
The value of this property is automatically inherited from the web application
deployment descriptor (WEB-INF/web.xml) based on the value specified in the
<session-timeout> element.
NSJSP provides two implementations of the manager:
The default, NSJSPStandardManager, provides no persistence and stores
sessions in memory only.
The optional, NSJSPPersistentManager, stores active sessions that have been
swapped out and also saves sessions across restarts of the NSJSP container. By
configuring the appropriate <Store> element nested under the <Manager>
element, you can specify the storage location for the session data.
NSJSPStandardManager (Standard Implementation)
NSJSPStandardManager is the standard manager implementation that is used for
any context unless overridden by specifying a <Manager> element nested under a
<Context> element. This manager implementation does not provide session
persistence: sessions are stored in memory only.
In addition to the attributes specified in Configuring the Manager for Sessions Support
on page 3-49, NSJSPStandardManager supports these attributes:
algorithm
Name of the message digest algorithm to calculate the session identifiers it
generates. The java.security.MessageDigest class must support this value.
The default value is MD5.