NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
3-39
The server.xml File
Example 3-43. The server.xml File (page 1 of 2)
<!--
Ensure that the port is always set to -1 It only then possible to shutdown
the server using the freeze;stop command of pathway
-->
<Server port="-1">
<!--
Initialize Jasper prior to webapps are loaded. Documentation at
/docs/jasper-howto.html
-->
<Listener className="org.apache.catalina.core.JasperListener" />
<!--
JMX Support for the Tomcat server. Documentation at
/docs/non-existent.html
-->
<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleLis
tener" />
<!--Listener to instantiate StoreConfig MBeans-->
<Listener
className="org.apache.catalina.storeconfig.StoreConfigLifecycleLi
stener" />
<!--Listener to instantiate NSJSP specific MBeans-->
<Listener className="com.tandem.servlet.NSJSPLifecycleListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase" description="User
database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/nsjsp-users.xml" />
</GlobalNamingResources>
<Service name="NSJSP">
<!--
The Listener inside connector component is required to enable
the JMX generic connector server for NSJSP. If not present
the JMX Connection server will be disabled.
-->
<Connector protocol="HTTP/1.1" connectionTimeout="0"
acceptCount="25" maxThreads="75">
<Listener
className="com.tandem.servlet.JMXConnectionListener"/>
</Connector>
<Engine name="NSJSP" defaultHost="localhost" >
<Realm
className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase" digest="MD5" />










