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

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
3-48
The server.xml File
requests. One or more Service elements may be nested inside a Server
element.
Example 3-43 shows the default values for the Service element.
Table 3-11
shows the property list for the Service element.
Note. Although it is possible to add more than one Service element, HP
recommends only one Service element. This is because of the following reasons.
Each Service element requires a Connector element and NSJSP provides only
one Connector implementation that processes messages from the $RECEIVE file.
Therefore, there cannot be two Connector definitions using the same connector
implementation thus restricting the number of service definitions to only one.
The NSJSP Manager can manage applications in only one service.
Example 3-43. The Default Values for the Service Element
<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" 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" />
<!--
<Valve className=
"com.hp.tandem.nsjsp.valves.NSJSPRequestDumperValve"
dumperOn="true" recordLength="1000"/>
-->
<Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false" configClass=
"com.tandem.servlet.catalina.startup.NSJSPContextConfig">
<Valve className=
"com.hp.tandem.nsjsp.valves.RequestTrackerValve"/>
</Host>
</Engine>
</Service>