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-22
The Installation-Specific servlet.config File
Example 3-28 shows the default value of the java.io.tmpdir variable.
catalina.home and catalina.base
The catalina.home and catalina.base arguments are mandatory and
specify the installation directory for NSJSP. The values for these variables must be
the same. The catalina.home argument is used to identify the directory
containing the common libraries for all the applications in an NSJSP environment.
The catalina.home argument must always point to a directory containing lib
and bin directories which include all the container libraries that come with a
default installation of NSJSP. The catalina.base directory is used to identify the
directory that contains conf, logs, temp, webapps, and work directories. These
directories are specific to the container configuration and the web applications.
Example 3-29 shows the default values for catalina.home and
catalina.base variables.
SessionBasedLoadBalancing
Specifies a NonStop-specific argument. This value indicates whether sessions
must be considered as sticky sessions. Sticky sessions have an affinity to the
process (a ServerClass instance) where the session was created and all requests
within that session will always go to the same process. The argument can have
two values true or false. The default value is true. If this variable is not set in
the installation-specific servlet.config file, the value is considered to be true.
For more information on how this parameter effects the behavior of NSJSP, see
Session Management
on page 3-75.
SessionBasedCookieExpiry
Specifies a NonStop-specific argument. The default value is false. If this value is
set to true, the JSESSIONID cookie has the same expiry date as the
corresponding session object. If the value is false, the cookie persists in the web
Example 3-28. The Default Value of the java.io.tmpdir Variable
-Djava.io.tmpdir=$env(NSJSP_HOME)/temp
Note. HP recommends that both catalina.home and catalina.base should
always point to the same directory location. The update option of the setup script
assumes that an entire NSJSP installation is within a single directory and not split
across two directories.
Example 3-29. The Default Values for catalina.home and catalina.base
Variables
-Dcatalina.home=$env(NSJSP_HOME)
-Dcatalina.base=$env(NSJSP_HOME)










