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-45
The server.xml File
Child Elements Nested in the Service Element
Following are the child elements nested in the Service Element:
Connector Element
Engine Element
Connector Element
The Connector element connects the HTTPD component of the iTP Secure
WebServer with the NSJSP Manager. The connector receives all NSJSP request
messages on the $RECEIVE file. Each process can have only one $RECEIVE file
and since the NSJSP connector receives messages through this file, there can be
only one Connector element that reads messages from $RECEIVE. The
connector handles messages based on the type of the message. If the message is
from an HTTPD component, an HTTPD message is handed over to a component
that handles the message from HTTPD. In NSJSP, the message is handed over to
the NSJSPHttp11Processor component to process the message. If it is a JMX
message, the message is handed over to the component that handles JMX
messages, which is NSJSPMessageConnectionHandler.
To understand the attributes that affect the connector behavior, it is important to
understand the major differences between the NSJSP connector and the default
connector supplied with Apache Tomcat.
The Apache Tomcat connector receives inputs through a TCP/IP port in the form of
a stream of characters. The connector is responsible for all the HTTP1.1 protocol
validation and translation. In this way, the connector functions as a simple web
server.
The NSJSP Connector element communicates with the HTTPD component of
the iTP Secure WebServer and receives all the input request data through the
Table 3-12. Attribute List of the Service Element
Attribute Description
Default
value
className The Java class name of the implementation to use. This
class must Implement the
org.apache.catalina.Service interface. If no class
name is specified, the standard implementation will be
used.
HP recommends that this attribute not be modified.
org.apache
.catalina.
core.Stand
ardService
name The display name of this Service, which will be included in
log messages, if the default implementation with standard
catalina components is used.
The name of each Service that is defined under a
Server element must be unique.
NSJSP