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-43
The server.xml File
The GlobalNamingResources element in the default server.xml file defines
a resource of type org.apache.catalina.UserDatabase. This resource is
used by the UserDatabaseRealm that is nested in the Engine element.
Example 3-44 shows the default value for the GlobalNamingResources
element.
Service Element
A Service element represents the combination of one or more Connector
components that share a single Engine element for processing incoming
requests. One or more Service elements may be nested inside a Server
element.
Example 3-45 shows the default values for the Service element.
Example 3-44. The Default Value for the GlobalNamingResources Element
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and
saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFac
tory"pathname="conf/nsjsp-users.xml" />
</GlobalNamingResources>
Note. Although it is possible to add more than one Service element, HP
recommends only one Service element. This is because of the following reasons.
Each Service element requires a Connector element and NSJSP provides only
one Connector implementation that processes messages from the $RECEIVE file.
Therefore, there cannot be two Connector definitions using the same connector
implementation thus restricting the number of service definitions to only one.
The NSJSP Manager can manage applications in only one service.