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-8
nsjspadmin.config
nsjspadmin.config
The nsjspadmin.config file is used to configure the NSJSPADMIN ServerClass. All
the attributes in the servlet.config file are available and valid for the NSJSPADMIN
ServerClass. Some of the NSJSPADMIN-specific parameters are discussed below.
The NSJSPADMIN ServerClass is in the same TS/MP environment as the SERVLET
ServerClass and uses the same configuration file server.xml as the SERVLET
ServerClass. The NSJSPADMIN ServerClass is used to manage all instances of
SERVLET ServerClass. In the NSJSPADMIN ServerClass configuration, the Env
TANDEM_SERVLET_SC_NAME must specify the name of the SERVLET ServerClass to
be managed.
The NSJSPADMIN ServerClass must have the following ServerClass attributes:
Command-line parameter:
-Dcom.tandem.servlet.nsjspadmin= true
The default value is true. For NSJSPADMIN server to act as an admin, you
must set this parameter to true in the nsjspadmin.config file and not in
the servlet.config file.
Additional Environmental Variables (ENV) entries in the servlet configuration are:
TANDEM_HTTPD_SC_NAME
TANDEM_HTTPD_SC_NAME specifies the HTTPD ServerClass that is configured
in the iTP WebServer environment in which NSJSP 6.0 is configured (used
when dynamically adding Filemaps). This environmental variable is optional
and the default value is HTTPD.
TANDEM_SERVLET_SC_NAME
TANDEM_SERVLET_SC_NAME specifies the NSJSP SERVLET ServerClass
name in the iTP WebServer configuration. This environmental variable is
optional and the default value is SERVLET.
Note. This value must be set to true only for the NSJSPADMIN ServerClass and set
to false in the SERVLET ServerClass. If this value is true and if
com.tandem.servlet.nsjsp is explicitly configured for NSJSPADMIN, then
com.tandem.servlet.nsjsp should also be true in NSJSPADMIN.