NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
3-76
The context.xml File
The following properties are used in Apache Tomcat, but not applicable on NSJSP:
xmlNamespaceAware
xmlValidation
The following elements are defined in the <NSJSP_HOME>/conf/context.xml file:
WatchedResource
The WatchedResource identifies an application resource that has to be watched
by the auto deployer. For more information on the auto deployer, see autoDeploy
on page 3-64. There can be multiple WatchedResource entries defined in a
context.xml file. Some resources, such as an application WAR file (if present),
the application directory, and the context definition file are by default added as
watched resources.
Manager
tldNamespaceAware If the value of this flag is true, the TLD files XML validation
will be namespace-aware. If you turn this flag on, you should
probably also turn tldValidation on. The default value for this
flag is false, and setting it to true will have a negative
impact on performance.
tldValidation If the value of this flag is true, the TLD files will be XML
validated on context startup. The default value for this flag is
false, and setting it to true will incur a performance penalty.
unloadDelay The time in ms that the container waits for servlets to unload.
If this property is not specified, the default value is 2000 ms.
unpackWAR If true, NSJSP unpacks all compressed web applications
before running them. If this property is not specified, the
default value is true.
useNaming Set to true (the default) to have Catalina enable a JNDI
InitialContext for this web application that is compatible
with Java2 Enterprise Edition (J2EE) platform conventions. If
this property is not specified, the default value is true.
workDir Represents the pathname to a scratch directory. This
information is provided by this Context for temporary
read-write use by servlets within the associated web
application. This directory will be made visible to servlets in
the web application by a servlet context property (of type
java.io.File) named
javax.servlet.context.tempdir as described in the
Servlet Specification. If this property is not specified, a suitable
directory underneath $CATALINA_BASE/work is provided.
Table 3-17. Property List for the Context Element (page 6 of 6)
Property Description