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-23
The Installation-Specific servlet.config File
browser as long as the browser is open. If sessions are configured to be persistent
and to expire with short durations, then setting this attribute to true might improve
performance.
When setting this value to true, it is important that the date and time on the
browser workstation match or is very close to that of the NonStop server where
NSJSP is running. If the time are greatly out of synchronization, the cookie in the
browser may expire before the corresponding session expires.
Example 3-30 shows a sample configuration of the
SessionBasedCookieExpiry variable.
com.tandem.servlet.nsjsp
Specifies a NonStop-specific argument. This argument indicates whether the
running process is an NSJSP process. The default value is true. If the value is set
to false, NSJSP exhibits only Apache Tomcat behavior. Although NSJSP is
based on Apache Tomcat, the default behavior of some of the features in NSJSP is
different from that of Apache Tomcat as shown below.
Example 3-30. A Sample Configuration of the SessionBasedCookieExpiry
Variable
-DSessionBasedCookieExpiry=false
Default session manager
NSJSP com.tandem.servlet.catalina.NSJSPStandardManager
Apache
Tomcat
org.apache.catalina.session.StandardManager
Default context configuration class
NSJSP com.tandem.servlet.catalina.startup.NSJSPContextConfig
Apache
Tomcat
org.apache.catalina.startup.ContextConfig
HTTP protocol processor
NSJSP com.tandem.servlet.coyote.http11.NSJSPHttp11Processor
Apache
Tomcat
org.apche.coyote.http11.Http11Processor
Attribute: port and shutdown
NSJSP Not applicable
Apache
Tomcat
Used in Apache Tomcat