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-24
The Installation-Specific servlet.config File
It is recommended that the com.tandem.servlet.nsjsp variable is set to
true. Setting the variable to false might require additional changes to the
configuration files, such as server.xml, because the default Tomcat behavior
might require different configuration parameters than NSJSP.
DiscardFileMapHistory
Preserves or discards the history of all changes to the Filemaps. The default value
is false.
Filemap changes are made by the NSJSP Manager application when deploying
and undeploying web applications. If the DiscardFileMapHistory parameter is
set to true, and if an existing Filemap definition for a URI needs to be
overwritten, the existing Filemap definition is first deleted and then a new definition
is inserted. If the DiscardFileMapHistory parameter is set to false, the old
definition is retained as a comment and the new definition is added.
Example 3-31 shows an example of a new Filemap definition being added when
DiscardFileMapHistory is true.
Example 3-32 shows an example of retaining the previous Filemap definition when
DiscardFileMapHistory is false.
EnableJMXProxyServlet
In NSJSP 6.0 and later versions, the JMX Proxy Servlet is either enabled or
disabled in the deployment descriptor (web.xml) of the old manager application.
This argument was used in NSJSP 5.0 to enable or disable the JMX Proxy Servlet.
This argument must not be used in NSJSP 6.1. In NSJSP 6.1, the JMX Proxy
Note. To get pure Tomcat behavior, you can install Apache Tomcat on a NonStop
server.
Note. HP recommends that you retain the default value of false to preserve the
Filemap history.
Example 3-31. New Filemap Information
#
# 2010-04-08 14:47:10.765 - Added Filemap '/bank'.
Filemap /bank /usr/tandem/webserver/bin/dev.ssc
Example 3-32. Filemap History Available as a Comment
#
# 2010-04-08 14:47:10.765 - Added Filemap '/bank'.
# Filemap /bank /usr/tandem/webserver/bin/dev.ssc
#
# 2010-04-09 15:23:11.123 - Added Filemap '/bank'.
Filemap /bank /usr/tandem/webserver/bin/prod.ssc










