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-12
server.xml
.
Host
The <Host> element defines the virtual host. It supports the configClass
attribute.
configClass="com.tandem.servlet.catalina.startup.NSJSPContext
Config"
It is mandatory to set the configClass of <Host> element to
com.tandem.servlet.catalina.startup.NSJSPContextConfig.
The applications are automatically deployed when you start the NSJSP server. The
configClass decides the context of each application. For example, if you have a
WAR file called order.war, the context of this application will be either /order or
/servlet_jsp/order. The configClass decides the correct context after
Table 3-1. Listeners of server.xml
Listener Description
Jasper The classname for this listener is:
org.apache.catalina.core.JasperListener
For more information, refer
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html.
ServerLifecycle The classname for this listener is:
org.apache.catalina.mbeans.ServerLifecycleL
istener
Used internally in the NSJSP server for JMX operations.
GlobalResourcesL
ifecycle
The classname for this listener is:
org.apache.catalina.mbeans.GlobalResourcesL
ifecycleLister
Used internally in the NSJSP server for JMX operations.
StoreConfigLifec
ycle
The classname for this listener is:
org.apache.catalina.storeconfig.StoreConfig
LifecycleListener
Used to instantiate certain MBeans that are used by the
admin application to persist configuration changes made
by the admin application to the respective configuration
files (for example, the server.xml and context.xml
files of individual application).
NSJSPLifecycle The classname for this listener is:
com.tandem.servlet.NSJSPLifecycleListener
Used to instantiate certain NSJSP MBeans that broadcast
all admin operations to the servlet instances.










