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-17
The Installation-Specific servlet.config File
Example 3-4 shows a sample configuration of the server_objectcode variable.
NSJSP_HOME
The NSJSP_HOME variable is used to set the full path of the directory where
NSJSP is installed.
Example 3-5 shows the default value of the NSJSP_HOME variable, where the iTP
Secure WebServer is installed in the default location /usr/tandem/webserver,
and that the default NSJSP installation directory is used, which is servlets.
JVM_POLICY_FILE
The JVM_POLICY_FILE variable specifies the security policy file that needs to be
used if NSJSP is run with a security manager. The default security policy file in
NSJSP is <NSJSP_HOME>/conf/iTP_catalina.policy. The
JVM_POLICY_FILE variable is used to set the value of the
NSJSP_SECMGR_POLICY variable to indicate the security policy file. For more
information about the security policy file and syntax of the file, see Chapter 7,
Migrating to NSJSP 7.0.
Example 3-6
shows the default value of the JVM_POLICY_FILE variable.
NSJSP_SECMGR_POLICY
The value of this variable is the Java command-line argument that is used to
indicate a security policy file. The value reads
Example 3-4. A Sample Configuration of the server_objectcode Variable
#
# 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/instA.ssc
Note. The value for this variable is set by the setup script. Do not modify this
value.
Example 3-5. The Default Value of the NSJSP_HOME Variable
#
# The NSJSP installation directory.
#
set env(NSJSP_HOME) /usr/tandem/webserver/servlets
Example 3-6. The Default Value of the JVM_POLICY_FILE Variable
set env(JVM_POLICY_FILE) $env(NSJSP_HOME)/conf/iTP_catalina.policy