NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-002
3-55
Configuring the Persistent Store
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). See
Stopping NSJSP on page 2-7 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, 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.
See Stopping NSJSP on page 2-7 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 using the following attributes:
checkInterval
The number of seconds between checks for expired sessions that are stored in the
NonStop SQL Database. The default is 60 seconds.
className
The Java class name of the implementation to use. Specify
com.tandem.servlet.catalina.session.NonStopSQLJDBCStore.
debug
The debug level for messages logged to the associated <Logger>. Higher
numbers generate more detailed output. The default is 0 (zero).