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-9
The Installation-Specific servlet.config File
Example 3-3. An Installation-Specific servlet.config File
#
# VERSION=7.0.0
#
#
# The server_objectcode represents a SYMBOLIC LINK to your installed
# copy of the JVM (default /usr/tandem/java/bin/java)
# set server_objectcode $root/bin/serv1.ssc
#
# The NSJSP installation directory.
# set env(NSJSP_HOME) /jtg1/nsjsp/RQA/FINAL_QA/NSKIND/nonsuper/serv1
#################################################################
#
# Security Manager options. This allows the Java2 system code to check
the
# policy currently in effect and perform access control checks. This
enables
# us to allow the application and user Servlet/JSP code to run inside its
# own sandbox.
#
# NSJSP Java2 System policy file and Java2 VM option.
#
# Note: the "double" equalto signs "==" is not a typo!! This informs the
JVM
# to use this file exclusively and that all others are to be ignored.
# set env(JVM_POLICY_FILE) $env(NSJSP_HOME)/conf/iTP_catalina.policy
set NSJSP_SECMGR_POLICY -Djava.security.policy==$env(JVM_POLICY_FILE)
#
# By default, the JVM is run without a security manager.
set NSJSP_SECMGR -Dnsjsp.security.manager=none
#
# If you wish to run with a security Manager, uncomment the next
# statement ("set NSJSP_SECMGR ...").
#
# set NSJSP_SECMGR -Djava.security.manager
#################################################################
#
# NSJSP JAAS NonStopLoginModule configuration file.
#set env(JAAS_CONFIG_FILE) $env(NSJSP_HOME)/conf/iTP_jaas.config