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-15
The Installation-Specific servlet.config File
Example 3-11 shows the default value of the JAVA_HOME variable.
JVCP
The JVCP variable includes additions for the Java classpath and is used to set the
CLASSPATH variable. Do not modify the jar files listed in this variable. Use the
USRCP variable to identify any installation-specific jar files that also need to be
added to the CLASSPATH variable.
Example 3-12 shows the default value of the JVCP variable.
USRCP
By default the USRCP variable is empty. This variable can be used to include any
installation-specific jar files that need to be added to the CLASSPATH. If the
USRCP variable is not empty, the format of this variable must be the same as for
JVCP. For example, <full path to jar1>:<full path to jar2>:..
Example 3-11. The Default Value of the JAVA_HOME Variable
#################################################################
#
# Set the JAVA_HOME and GUARDIAN_SUBVOL
#
set env(JAVA_HOME) /nsjsp/software/java6.0/java
if {![info exists env(GUARDIAN_SUBVOL)]} {
set env(GUARDIAN_SUBVOL) /G/system/zweb
}
Example 3-12. The Default Value of the JVCP Variable
#################################################################
#
# The following code sets up the Java Specific class PATH variables
into
# a Tcl variable called JVCP. JVCP will be prepended to the
classpath of
# the JVM.
#
set JVCP ""
append JVCP $env(NSJSP_HOME) "/bin/bootstrap.jar:"
append JVCP $env(NSJSP_HOME) "/bin/commons-daemon.jar:"
append JVCP $env(NSJSP_HOME) "/bin/tomcat-juli.jar:"
append JVCP $env(NSJSP_HOME) "/bin/ns-logger.jar:"
append JVCP $env(NSJSP_HOME) "/bin/nsjspmbeanserver.jar:"
#
# This trims off the rightmost colon char.
#
set JVCP [string trimright $JVCP ":"]