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-2
servlet.config
servlet.config
This file contains the configuration information and filemaps required for the SERVLET
ServerClass. The file is located (by default) in iTPWS_INSTALL_DIR/conf.
For security when you run a new installation (of T1222) for the first time, the setup
script automatically makes a backup of any pre-existing servlet.config file. You
can then make any changes to the default, such as adding filemaps.
Environment Variables
You may need to change the NSJSP_HOME environment variable. It must be set, as
follows:
set env(NSJSP_HOME) /usr/tandem/webserver/servlet_jsp
Server Directive
Among many other entries, Numstatic and Maxservers are set in the server
directive. By default, Numstatic set to 2 and Maxservers is set to 5, because the
NSJSP process is multi-threaded.
To support sessions, all processes in the NSJSP container must be static if you are not
using persistent sessions. That is, the Numstatic and Maxservers attributes of the
NSJSP container must have the same value. If the values are not equal, the LINKMON
will bring up additional dynamic servlet server processes based on the system load. If
a dynamic servlet server process is shut down because the system load has
decreased, all the session data it contained is lost.
The following entries must not be changed:
Arglist
The arglist parameter in the server directive has been used to specify the
following configuration:
The class file which the NSJSP server process loads immediately upon startup.
com.tandem.servlet.NSJSPBootstrap
The NSJSP home directory
-Dcatalina.home=$env(NSJSP_HOME)
The name of the customized server.xml file for NSJSP to use
$nsjsp_config_file