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-43
The server.xml File
<!--
Ensure that only one "Connector" (HTTP/1.1) is configured for
the Service.
Note: A "Service" is not itself a "Container", so you may not define
subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="NSJSP">
<Connector protocol="HTTP/1.1" maxThreads="75">
<!--
Listener to enable Non-Stop JMX for NSJSP.
Non-Stop JMX is the JMX implementation using $RECIEVE
for its transport.
NSJSP Manager uses this mechanism to manage NSJSP.
-->
<Listener className="com.tandem.servlet.JMXConnectionListener" />
</Connector>
<Engine name="NSJSP" backgroundProcessorDelay="60"
defaultHost="localhost">
<!-- Use the LockOutRealm to prevent attempts to guess user
passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm
className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase" digest="MD5" />
</Realm>
<!--
The NSJSP request dumper valve dumps (in the log) useful
debugging information about the request and response data
received and sent by NSJSP.
The "recordLength" attribute specifies the maximum number of
bytes to write per log record. A log record is created for
each incoming request and the outgoing response.
The "dumperOn" attribute determines whether to enable/disable
the valve. Default value for "dumperOn" is false.
Example 3-41. The server.xml File (page 2 of 3)