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-67
The server.xml File
Example 3-49 shows the default values for the RequestTrackerValve.
Request Dumper Filter
The class name of this filter is
com.hp.tandem.nsjsp.valves.NSJSPRequestDumperFilter. This
filter dumps (that is, records) all the incoming requests and the outgoing
responses to the parent log file. For example, if this filter is configured under an
Engine and is turned on by setting the dumperOn property to true, the valve
dumps all the requests and responses for all the applications in all the Hosts
configured for the Engine. This filter too, like any other filter, can be configured
in an Engine, Host or a Context. The recordLength property indicates
the maximum size of the record printed to the log file. A record is printed for the
request and another for the response.
The default server.xml file does not have this valve configured. If this filter is
configured, the dumperOn and the recordLength properties can be changed
while the server is running using the MBeans feature of the NSJSP Manager
application.
Executor Element
The Executor represents a thread pool that can be shared between components
in Tomcat. Historically there has been a thread pool per connector created but this
allows you to share a thread pool, between (primarly) connector but also other
components when those get configured to support executors.
The Executor has to implement the org.apache.catalina.Executor
interface.
The Executor is a nested element to the Service element. And for it to be
picked up by the connectors, the Executor element has to appear prior to the
Connector element in server.xml.
Example 3-50
shows the default values for the Executor element.
Example 3-49. The Default Values for the RequestTrackerValve
<Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true"
configClass="com.tandem.servlet.catalina.startup.NSJSPContextConfig">
<Valve className="com.hp.tandem.nsjsp.valves.RequestTrackerValve"/>
</Host>