NonStop Servlets for JSP System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
3-4
servlet.config
-Dbrowserdebug=[ true | false ]
allows the browser to show error details. The default is false. If you encounter
an unexplained error with a certain request, look at the log files, turn on the
browserdebug (true), restart the server, and rerun the request.
-Djdbc.drivers
identifies the SQL driver to NonStop Server for Java. It 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.sqlmp.SQLMXDriver
-Djava.security.manager
sets the Java Security Manager to be used. 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 equalto signs (==) are required to inform the JVM to use this file
exclusively and to ignore all others.
-Djava.endorsed.dirs
identifies the directories that have the JAR files that NSJSP needs
(-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 will not save sessions to a persistent store (if one is
configured via the iTP_server.xml file) when a new session gets 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, you will end up saving the same session twice (once on session
creation or load and once upon the request completion).