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

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
3-77
In-Memory Sessions
(SessionBasedLoadBalancing = true)
After enabling SessionBasedLoadBalancing, configure the
NSJSPStandardManager as the session manager. Example 3-62 shows the default
configuration of the NSJSP Standard Manager in the
<NSJSP_HOME>/conf/context.xml file.
Table 3-18 lists the attributes of the NSJSPStandardManager. For more information
on configuring the Manager element, see Configure the Manager Element on
page 3-82.
Example 3-61. Arglist from a servlet.config file with
SessionBasedLoadBalancing Enabled
Arglist -Xmx64m -Xss128k -Xnoclassgc \
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
-Djava.util.logging.config.file=$env(NSJSP_HOME)/conf/logging.properties \
-
Djavax.management.builder.initial=com.tandem.servlet.jmx.NSJSPMBeanServerB
iilder \
$NSJSP_SECMGR \
$NSJSP_SECMGR_POLICY \
$NSJSP_JAAS_CONFIG \
-Dcom.tandem.servlet.CONTEXT_PREFIXES=/scA \
-Dcatalina.home=$env(NSJSP_HOME) \
-Dcatalina.base=$env(NSJSP_HOME) \
-Djava.io.tmpdir=$env(NSJSP_HOME)/temp \
-DSessionBasedLoadBalancing=true
org.apache.catalina.startup.Bootstrap start
Example 3-62. The Default Configuration of the NSJSP Specific Standard
Manager
<!--
NSJSP specific Standard Manager.
The Manager does no session persistence.
-->
<Manager pathname=""
className="com.tandem.servlet.catalina.session.NSJSPStandardManager"/>