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-55
The server.xml File
Table 3-15 shows the attribute list for the Host element.
Table 3-15. Attribute List for the Host Element (page 1 of 2)
Attribute Description Default Value
appBase The Application Base directory for this virtual host.
This is the pathname of a directory that might
contain web applications to be deployed on this
virtual host. You may specify an absolute pathname
for this directory, or a pathname that is relative to the
<NSJSP_HOME> directory.
webapps
autoDeploy This flag value indicates if new web applications,
dropped in to the appBase directory while NSJSP is
running, should be automatically deployed.
For more information, see autoDeploy
on page 3-57.
true
backgroundPro
cessorDelay
This value represents the delay in seconds between
the invocation of the backgroundProcess method
on this Host and on its child containers, including all
contexts. Child containers will not be invoked if their
delay value is not negative (which would mean they
are using their own processing thread). Setting this
to a positive value will cause a thread to be
spawned. After waiting the specified amount of time,
the thread will invoke the backgroundProcess
method on this host and all its child containers. A
host will use background processing to perform live
web application deployment related tasks. If not
specified, the default value for this attribute is -1,
which means the host will rely on the background
processing thread of its parent Engine.
className The Java class name of the implementation to use.
This class must implement the
org.apache.catalina.Host interface. If this
attribute is not specified, the standard host
implementation
org.apache.catalina.core.StandardHost
will be used.
HP recommends that you not modify this value.
deployOnStart
up
This attribute indicates if web applications from this
host should be automatically deployed when the
NSJSP server class is started. Even if this attribute
is set to false and autoDeploy is set to true,
the applications will still be deployed when the
background process for the host runs.
If both autoDeploy and deployOnStartup are
set to false, the applications must be deployed
through the NSJSP Manager.