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-19
The Installation-Specific servlet.config File
BANK_CATALOG
The BANK_CATALOG variable is set to the value of the $SERVLET_BANK variable.
For more information, see SERVLET_BANK on page 3-16.
Example 3-21 shows the default value of the BANK_CATALOG variable.
NSJSP_CONFIG_FILE
Specifies the NSJSP configuration file that is used by the NSJSP Manager. This
variable is only present in the NSJSP Manager server class configuration file. For
more information, see Chapter 4, Managing NSJSP.
Example 3-22 shows the default value of the NSJSP_CONFIG_FILE variable.
TANDEM_RECEIVE_DEPTH
The TANDEM_RECEIVE_DEPTH variable is mandatory and it must have a numeric
value. This variable indicates the maximum number of requests that a single server
class process handles simultaneously. For more information on how this affects the
behavior of NSJSP, see the NonStop Servlets for JavaServer Pages (NSJSP)
Configuration White Paper.
Example 3-23 shows the default value of the TANDEM_RECEIVE_DEPTH variable.
The following command-line arguments are passed to the JVM when the server
class is started. The arguments are specified using the Arglist command. The
command-line arguments include the arguments defined by NSJ and NSJSP. Any
command-line argument valid in NSJ can also be used in NSJSP.
Xmx
Specifies the maximum size, in bytes, of the JVM memory allocation pool. The
default value is 64m, which is sufficient to run an application like the Java Pet
Store. This is enough memory to handle about 50 concurrent requests in a single
instance of server class. You can change this number to meet the requirements of
applications that are deployed in NSJSP.
Example 3-21. The Default Value of the BANK_CATALOG Variable
Env BANK_CATALOG=$SERVLET_BANK
Example 3-22. The Default Value of the NSJSP_CONFIG_FILE Variable
Env NSJSP_CONFIG_FILE=$env(NSJSP_HOME)/conf/nsjsp_manager.config
Example 3-23. The Default Value of the TANDEM_RECEIVE_DEPTH Variable
Env TANDEM_RECEIVE_DEPTH=50