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-54
The server.xml File
Host
The Host element represents a virtual host. One or more Host elements are
nested inside an Engine element. One of the Host elements under an Engine
must have a name matching the defaultHost attribute of that Engine. In the
default server.xml file the value of the defaultHost attribute of the Engine
element is localhost and there is only one Host configured with the name
localhost. For more information on virtual hosts, see Virtual Hosts on page 3-73.
Example 3-50 shows the default values for the Host element.
Example 3-50. The Default Values for the Host Element
<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>