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-26
The Installation-Specific servlet.config File
Example 3-34 shows the default value of the SaveSessionOnCreation variable.
com.tandem.servlet.CONTEXT_PREFIXES
This is the URI name that is specified during installation when you run the setup
script. The value must begin with / followed by the URI name, which is made up
of alphanumeric characters. This value does not support multiple / characters. For
more information about the URI name, see Chapter 2, Installing NSJSP.
Although, by default, all applications have a context name which follows the value
of the com.tandem.servlet.CONTEXT_PREFIXES parameter, it is possible to
configure different ways to access an application.
For example, if the value of this parameter is /dev and the application foo.war is
deployed, by default, the context path for this application will be /dev/foo.
Therefore, the application can be accessed using the URL
http://<ipaddress:port>/dev/foo.
The default behavior of the NSJSP servlet container can be overridden in two
ways:
Deploy applications using the NSJSP Manager and check the Automatically
Add Filemap option. For more information on NSJSP Manager, see Chapter 4,
Managing NSJSP.
Deploy applications using the Client Deployer and set appendContext to
false. For more information on Client Deployer, see Chapter 4, Managing
NSJSP.
The NSJSP Manager and the Client deployer each provide an option to deploy an
application without requiring the value of this parameter. Using the example quoted
above, it is possible to deploy the foo.war application such that it can be
accessed using the URL http://<ipaddress:port>/foo. In this case, the
context path of the application will be /foo and not /dev/foo.
maxWaitTimeSecs
Any message greater than 30000 bytes is referred to as a big message. The value
of maxWaitTimeSecs is relevant when the size of the message transfer between
NSJSP and HTTPD is big and requires exchanging multiple messages between
HTTPD and NSJSP. The value of maxWaitTimeSecs is a number indicating the
number of seconds that the NSJSP Connector should wait before aborting a
message exchange between HTTPD and NSJSP. For more information on
message exchange between HTTPD and NSJSP, see the NonStop Servlets for
JavaServer Pages (NSJSP) Configuration White Paper.
Example 3-34. The Default Value of the SaveSessionOnCreation Variable
-DSaveSessionOnCreation=false