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-60
The context.xml File
the application-specific context.xml file does not define its own manager element
then the one defined in the <NSJSP_HOME>/conf/context.xml file will be used.
Table 3-16 provides an overview of the default context.xml file.
Example 3-52 shows the default context.xml file.
Table 3-17
shows the attribute list for the Context element.
Table 3-16. The default context.xml File
Location <NSJSP_HOME>/conf/context.xml
Description The default context.xml file is the context definition loaded by all
web applications.
Example 3-52. The default context.xml File
<!--
The contents of this file will be loaded for each web application
-->
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!--
NSJSP specific Web application loader.
All contexts in NSJSP must be loaded using this application loader.
-->
<Loader
className="com.tandem.servlet.catalina.loader.NSJSPWebappLoader"/>
<!--
NSJSP specific Standard Manager.
The Manager does no session persistence.
-->
<Manager pathname=""
className="com.tandem.servlet.catalina.session.NSJSPStandardManager"/>
<!--
<Manager
className="com.tandem.servlet.catalina.session.NSJSPPersistentManager">
<Store
className="com.tandem.servlet.catalina.session.NonStopSQLJDBCStore"
driverName="com.tandem.sqlmx.SQLMXDriver"
connectionURL="jdbc:sqlmx:"
sessionTable="<catalog>.<schema>.<tablename>"
sessionIdCol="session_id"
sessionProcessNameCol="process_name"
sessionRecNumberCol="rec_number"
sessionAppCol="app_name"
sessionDataCol="session_data" sessionValidCol="valid"
sessionMaxInactiveCol="maxinactiveinterval"
sessionLastAccessedCol="lastaccessed"/>
</Manager>
-->
</Context>