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-9
The Installation-Specific servlet.config File
#################################################################
#
# 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
}
#################################################################
#
# 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 ":"]
#
# Set the default value of the User ClassPath blank
#
set USRCP ""
#################################################################
#
# Related to the BankDemo example application provided with NSJSP
#
# The value of SERVLET_BANK should be <catalog>.<schema>.<tablename>
# Catalog and schema should have been created. The application will create
# the given table if one is not present
set SERVLET_BANK bankcat.banksch.sraccts
#################################################################
#
# NSJSP SHARED RUNTIME LIBRARY (SRL) location
#
set NSJSP_DLL_PATH $env(NSJSP_HOME)/lib
#################################################################
# Do an existence check on the JDBC specific configuration
# file (jdbc.config). If the file exists, it will be
# included in the configuration.
if { [file exists $env(NSJSP_HOME)/conf/jdbc.config] } {
source $env(NSJSP_HOME)/conf/jdbc.config
}










