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-17
The Installation-Specific servlet.config File
Example 3-14 shows the default value of the SERVLET_BANK variable.
NSJSP_DLL_PATH
The value of the NSJSP_DLL_PATH variable contains the directory where the
NSJSP native libraries are located. This variable can be used to include other
directories where application specific native libraries are located. The value of the
NSJSP_DLL_PATH variable is used to set the _RLD_LIB_PATH. For more
information on the _RLD_LIB_PATH, see the RLD Manual.
Example 3-15 shows the default value of the NSJSP_DLL_PATH variable.
Server Class Configuration using the Server Directive
The Server directive is used to configure the Servlet Server Class. This section
describes the Servlet Server Class configuration. For more information about the
Server directive, see the iTP Secure WebServer System Administrator's Guide.
The following environment variables are defined in the Server directive:
CLASSPATH
The CLASSPATH variable contains the Java classpath. The classpath is defined by
the JVCP and USRCP variables. This environment variable is mandatory and is
used by the JVM when the server class is started. For more information on the
CLASSPATH, see the NonStop Server for Java Reference Manual.
Example 3-16 shows the default value of the CLASSPATH variable.
Example 3-14. Default Value of the SERVLET_BANK Variable
#################################################################
#
# 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
Example 3-15. Default Value of the NSJSP_DLL_PATH Variable
#################################################################
#
# NSJSP SHARED RUNTIME LIBRARY (SRL) location
#
set NSJSP_DLL_PATH $env(NSJSP_HOME)/lib
Example 3-16. The Default Value of the CLASSPATH Variable
Env CLASSPATH=$JVCP:$USRCP










