NonStop Servlets for JSP System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
3-40
Configuring the Persistent Store
maxIdleSwap
The time interval (in seconds) for which a session must be idle (time since last
access to the session) before it is persisted to the session store and passivated out
of the NSJSP container's memory. The default value of -1 disables this feature. If
this feature is enabled, the time interval specified here should be equal to or longer
than the value specified for maxIdleBackup.
randomClass
The Java class name of the java.util.random implementation class. The
default class used is java.security.SecureRandom.
saveOnRestart
Whether all sessions should be saved to the store on shutdown. By default, this
attribute is set to true. To allow the session data to be persisted, the NSJSP
SERVLET ServerClass should be brought down via the new nsjsp_stop script
(iTPWS_INSTALL_DIR/conf/nsjsp_stop) instead of the stop script provided
with the iTP WebServer distribution (iTPWS_INSTALL_DIR/conf/stop). See
Stopping NSJSP on page 2-6 for more details.
Configuring the Persistent Store
If you are using the NSJSPStandardManager, no elements can be nested inside your
<Manager> element.
For the persistence manager implementation (NSJSPPersistentManager), you
must nest a <Store> element that defines the characteristics of the persistent data
store.
To enable the session data to be persisted, the NSJSP SERVLET ServerClass should
be brought down via the new nsjsp_stop script (iTPWS_INSTALL_DIR/conf/
nsjsp_stop) instead of the stop script provided with the iTP WebServer distribution.
See Stopping NSJSP on page 2-6 for more details.
NonStopSQLJDBCStore
The NonStopSQLJDBCStore implementation is a NonStop SQL database-based
store that saves swapped-out sessions into a pre-configured NonStop SQL database
table that is accessed by a JDBC driver.
To configure a NonStopSQLJDBCStore, add a <Store> element nested under the
<Manager> element with the following attributes:
checkInterval
The number of seconds between checks for expired sessions that are stored in the
NonStop SQL Database. The default value used is 60 seconds.