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

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator’s Guide544548-004
3-2
servlet.config
the filemaps.config file contains the dynamically added Filemaps. The
filemaps.config file is sourced from the file servlet.config.
servlet.config
The servlet.config file is used to configure the SERVLET ServerClass, and allows
you to set the following NSJSP configuration parameters:
Environment Variables
Server Directive
Environment Variables
NSJSP_HOME is an environment variable that includes the path of the NSJSP
installation directory. You may need to set the NSJSP_HOME environment variable
according to your NSJSP installation directory, for example:
set env(NSJSP_HOME) /usr/tandem/webserver/servlet_jsp
Do not modify the environment variables included in the servlet.config file
because they are relative to the NSJSP_HOME variable.
Server Directive
The server directive is used to configure the PATHMON-specific NSJSP configuration.
For more information on PATHMON configuration, see the iTP Secure WebServer
System Administrator’s Guide.
The values of Numstatic and Maxservers are set in the server directive. The
default value of Numstatic is set to four, and Maxservers is set to 12. Do not modify
these entries.
TANDEM_FILEMAPS_CONFIG
The TANDEM_FILEMAPS_CONFIG environment variable specifies the path or
location of the filemaps.config file. The default value of the
TANDEM_FILEMAPS_CONFIG variable is filemaps.config in the directory
iTPWS_INSTALL_DIR/conf. For example:
Env TANDEM_FILEMAPS_CONFIG=$root/conf/filemaps.config
Note. The setup script automatically takes a backup of the previous servlet.config file
when you upgrade from an earlier version of NSJSP by selecting either the Fresh installation
or the Reinstallation option.
Note. If a persistent store is not configured, you must set Numstatic and Maxservers to
the same value. If the values are not equal and the system load increases, PATHMON begins
additional dynamic servlet server processes. When the system load decreases, PATHMON
stops these processes. As a result, the session data stored in the servlet server processes
is lost.