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-56
The server.xml File
name The network name for this virtual host. Regardless
of the case used to specify the hostname, NSJSP
will convert it to lower case internally.
One of the Hosts nested within an Engine must have
a name that matches the defaultHost setting for
that Engine.
localhost
deployXML For a description of this attribute, see deployXML
on
page 3-58.
errorReportVa
lveClass
The Java class name of the error reporting valve,
which will be used by this Host. This valve provides
error reports. Setting this property enables you to
customize the format of the error pages, which will
be generated by NSJSP. If not specified, the default
value for this class will be
org.apache.catalina.valves.ErrorReport
Valve.
This class must implement the
org.apache.catalina.Valve interface.
unpackWARs Set this attribute to true if you want web
applications that are placed in the appBase
directory as web application archive (WAR) files to
be unpacked into a corresponding disk directory
structure. Set this attribute to false, to run such
web applications directly from the WAR file.
For more information, see unpackWARs
on
page 3-57.
true
workDir The pathname to a scratch directory to be used by
applications for this Host. Each application will have
its own subdirectory with temporary read-write use.
Configuring a context workDir will override the use
of the Host workDir configuration. This directory
can be made visible to servlets in a web application
by configuring a servlet context attribute (of type
java.io.File) named
javax.servlet.context.tempdir as described
in the Servlet Specification. If not specified, a
suitable directory below $CATALINA_BASE/work
will be provided.
configClass For NSJSP the value of this attribute must be
com.tandem.servlet.catalina.startup.NS
JSPContextConfig
com.tandem
.servlet.c
atalina.st
artup.NSJS
PContextCo
nfig
Table 3-15. Attribute List for the Host Element (page 2 of 2)
Attribute Description Default Value










