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 Guide—544548-004
3-11
server.xml
The above action directs all Uniform Resource Indicators (URI), starting with
/servlet_jsp/admin and /servlet_jsp/manager, to the NSJSPADMIN
ServerClass.
server.xml
The server.xml file is the configuration file that is read at server startup. It is used to
configure various components of NSJSP server, such as server, service,
connector, host, and other LifeCycleListeners.
The default location of the server.xml file is NSJSP_HOME/conf. NSJSP 6.0 does
not add any new element types or attributes to the configuration file other than those
mentioned in the Apache Tomcat 6.0 documentation, located at
http://tomcat.apache.org/tomcat-6.0-doc/config/index.html. However, the default values
of certain attributes must be modified for the correct functioning of NSJSP:
port
Ensure that the port is always set to ‘-1’ because NSJSP receives inputs from an
HTTPD ServerClass instance.
shutdown
This attribute is not used by NSJSP 6.0.
Listeners
Listeners are child elements of the main server element. Apart from the
LifeCycleListeners provided in Tomcat 6.0, NSJSP 6.0 includes two new
LifeCycleListeners:
com.tandem.servlet.NSJSPLifecycleListener
org.apache.catalina.storeconfig.StoreConfigLifecycleListener
Table 3-1
describes the listeners in the file server.xml.










