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

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-002
3-5
nsjspadmin.config
-DDiscardFileMapHistory=[ true | false ]
Preserves or discards the history of all Filemap related changes. The default is
false, if the option is not specified. This means that all the history of Filemap
related changes is preserved.
-DEnableJMXProxyServlet=[ true | false ]
Enables or disable the JMXProxyServlet in the manager web application. The
default is false, which is disabled.
-DSessionBasedLoadBalancing=[ true | false ]
Enables or disables session-based load balancing support. Setting this option
to false and configuring a PersistentManager and Persistent Store using the
iTP_server.xml configuration file enables any SERVLET ServerClass
process to handle a session-based request. The default value is true
(-DSessionBasedLoadBalancing=true).
-DSessionBasedCookieExpiry=[ true | false ]
Enables or disables the expiration time for session cookies based on the
session expiration time on the server side. The default value is false
(-DSessionBasedCookieExpiry=false).
For additional information about NonStop Server for Java, see the NonStop Server for
Java (NSJ) Programmer’s Reference.
nsjspadmin.config
The nsjspadmin.config file contains the configuration of the nsjspadmin
ServerClass. Although the nsjspadmin ServerClass is in the same TS/MP
environment as the SERVLET ServerClass, it still has its own configuration file so that
Note. If the session timeout value is low (default is 30 minutes) and the clock values
on the server and client are badly skewed, the cookie may expire immediately after
being sent to the client (browser). The default value of false sets the cookie expiration
time to -1, which means that the cookie persists until the client (browser) window is
shut down or closed. However, if the client sends a cookie that refers to a session that
has expired (and the current request does not need or refer to a session), then the
server ensures that the cookie expires immediately.
Example 3-1. Sample Server Directive Arglist
Arglist -Xbootclasspath/a:$env(JAVA_HOME)/lib/tools.jar \
-Xnoclassgc -Xmx64m -Xss128k -Dbrowserdebug=false \
-Djdbc.drivers=com.tandem.sqlmp.SQLMPDriver \
$NSJSP_SECMGR $NSJSP_SECMGR_POLICY $NSJSP_JAAS_CONFIG \
-DEnableJMXProxyServlet=false
-Djava.endorsed.dirs=$env(NSJSP_ENDORSED_DIRS) \
-Dcatalina.home=$env(NSJSP_HOME) \
-Djava.io.tmpdir=$env(NSJSP_HOME)/temp \
com.tandem.servlet.NSJSPBootstrap -config $nsjsp_config_file start