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-62
The context.xml File
override Overrides the setting of either the global or Host default
contexts.
Set to true to have explicit settings in this Context element
override any corresponding settings in either the global or
Host default contexts. By default, settings from a default
context are used.
If a symbolic link is used for the docBase, changes to the
symbolic link are effective only after an NSJSP restart or by
undeploying and redeploying the context. A context reload is
not sufficient.
privileged Changes the context's parent class loader to be the Server
Class loader rather than the Shared class loader.
Set to true to allow this context to use container servlets,
such as the manager servlet. If this attribute is not specified,
the default value is false.
Note. In a default installation, the Common class loader is
used for both the Server Class loader and the Shared class
loaders.
path The value of this field must not be set except when statically
defining a Context in server.xml, as it will be inferred from
the filenames used for either the.xml context file or the
docBase.
Note. HP recommends that contexts should not be specified
in the server.xml file as this file is meant for container
configuration and application specific contexts should be
specified in the META-INF/context.xml file of the
application.
reloadable Set to true if you want Catalina to monitor classes in /WEB-
INF/classes/ and /WEB-INF/lib for changes, and
automatically reload the web application if a change is
detected. This feature is very useful during application
development, but it requires significant runtime overhead and
is not recommended for use with applications that have been
deployed in production. Hence, the default setting for this
attribute is false. As an alternative, however, to trigger
reloads of deployed applications on demand, you can use the
Manager web application.
wrapperClass Represents the Java class name of the
org.apache.catalina.Wrapper implementation class
that will be used for servlets managed by this Context. If this
attribute is not specified, a standard default value will be used.
Table 3-17. Attribute List for the Context Element (page 2 of 5)
Attribute Description