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-40
The server.xml File
This section discusses the following topics:
Server Element
Listener Elements
GlobalNamingResources Element
Service Element
Server Element
The Server element represents the entire catalina servlet container. Therefore, it must
be the single outermost element in the server.xml configuration file.
Table 3-10
shows the attribute list for the Server element.
<!--
The following is the definition of a request dumper
valve. If enabled this valve will dump the incoming
requests and the outgoing response in the logger of its
container (in this case its the Engine) The
recordLength attribute specifies the maximum number of
bytes to write per log record. A record each is created
for the incoming request and outgoing response If the
dumperOn attribute is omitted the valve is disabled.
For the valve to be enabled the dumperOn attribute
**should** be set to true
-->
<!--
<Valve
className="com.hp.tandem.nsjsp.valves.NSJSPRequestDum
perValve" dumperOn="true" recordLength="1000"/>
-->
<Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false"
xmlNamespaceAware="false" configClass=
"com.tandem.servlet.catalina.startup.NSJSPContextConfig">
<!--
The RequestTrackerValve should be configured to track the
requests to applications deployed in this host. The valve
generates statistics related to the requests for all the
web applications under the host. This tracker is a must
to display application statistics in the new Domain
Manager application
-->
<Valve
className="com.hp.tandem.nsjsp.valves.RequestTrackerValve" />
</Host>
</Engine>
</Service>
</Server>
Example 3-43. The server.xml File (page 2 of 2)