NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-002
3-4
servlet.config
-Djdbc.drivers
Identifies the SQL driver to NonStop Server for Java. This option is required for
servlets that use SQL/MP or SQL/MX for Java. If present, this option must
have the value com.tandem.sqlmp.SQLMPDriver or
com.tandem.sqlmx.SQLMXDriver.
-Djava.security.manager
Sets the Java Security Manager. By default, NSJSP is run without a security
manager (-Dnsjsp.security.manager=none).
-Djava.security.policy
sets the Java Security Manager policy file
(-Djava.security.policy==<file>).
The double equality signs (==) are required to inform the JVM to use this file
exclusively and to ignore all others.
-Djava.security.auth.login.config==$env(JAAS_CONFIG_FILE)
Sets the JAAS login configuration file. By default, NSJSP is run without a JAAS
configuration file (-Dnsjsp.jaas.login.config=none).
-Djava.endorsed.dirs
Identifies the directories that have the JAR files and classes that are used with
the Java Endorsed Standards Override Mechanism (ESOM) (-
Djava.endorsed.dirs=$env(NSJSP_ENDORSED_DIRS).
-Djava.io.tmpdir
Defines the temporary directory. This argument and value are required.
(-Djava.io.tmpdir=$env(NSJSP_HOME)/temp).
-DSaveSessionOnCreation=[ true | false ]
Enables or disables saving sessions to a persistent store at creation time.
Setting this to false does not save sessions to a persistent store (if one is
configured through either the iTP_server.xml file or in any Context
configuration (<context>.xml) files when a new session is created, loaded,
or recreated across restarts of the NSJSP container.
The default value is true (-DSaveSessionOnCreation=true). If you set the
-DSessionBasedLoadBalancing option to false, you may want to set this
option (-DSaveSessionOnCreation) to false for performance reasons.
Otherwise, same session is saved twice (once on session creation or load and
once upon the request completion).