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-46
The server.xml File
$RECEIVE file. The HTTPD component acts as the front-end web server and
handles all the protocol validation and translation. After the protocol is validated,
HTTPD extracts the necessary information and converts the information to a set of
name value pairs. The name value pairs are then sent in messages to the NSJSP
connector. The NSJSP connector assembles the request data from the messages
with the name value pairs and continues with processing the request. Thus, the
NSJSP Connector does not function as a web server. It receives messages from
HTTPD, assembles each request and then hands over the request to the catalina
container for further processing.
Example 3-46 shows the default values for the Connector element.
Table 3-13
shows the attributes for the Connector element in NSJSP.
Example 3-46. The Default Values for the Connector 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>