NonStop Servlets for JavaServer Pages (NSJSP) 5.0 System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-003
3-53
Configuring the Persistent Store
minIdleSwap
The interval (in seconds) for which a session must be idle (time since last access
to the session) before it is eligible to be persisted to the session store and
passivated out of the NSJSP container's memory. If this feature is enabled, the
interval specified here should be less than the value specified for maxIdleSwap.
The default of -1 disables this feature.
maxIdleSwap
The 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. If this feature is enabled, the interval specified here
should be equal to or longer than the value specified for maxIdleBackup. The
default of -1 disables this feature.
randomClass
The Java class name of the java.util.random implementation class. The
default class is java.security.SecureRandom.
saveOnRestart
Determines whether all sessions should be saved to the store on shutdown. The
default is true. To allow the session data to be persisted, bring down the NSJSP
SERVLET and nsjspadmin ServerClass by using the 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). For
more information, see Stopping NSJSP on page 2-5.
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, bring down the NSJSP SERVLET and
nsjspadmin ServerClass by using the nsjsp_stop script
(iTPWS_INSTALL_DIR/conf/
nsjsp_stop) instead of the stop script provided with the iTP WebServer distribution.
For more information, see Stopping NSJSP on page 2-5.
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.










