NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-002
3-7
nsjspadmin.config
Example 3-2. Configuration File nsjspadmin.config
set nsjspadmin_objectcode $root/bin/nsjspadmin.ssc
Server $nsjspadmin_objectcode {
CWD $env(NSJSP_HOME)
Env CLASSPATH=$JVCP:$USRCP
Env JAVA_HOME=$env(JAVA_HOME)
Env JREHOME=$env(JAVA_HOME)/jre
Env TANDEM_HTTPD_SC_NAME=HTTPD
Env TANDEM_SERVLET_SC_NAME=SERVLET
Env TANDEM_SERVLET_SC_PATH=$server_objectcode
Env TANDEM_FILEMAPS_CONFIG=$root/conf/filemaps.config
MapDefine =TCPIP^PROCESS^NAME $transport
Maxservers 1
Numstatic 1
Maxlinks 250
# Check that the Linkdepth and TANDEM_RECEIVE_DEPTH parameter
# values match.
# This value should also match the acceptCount and not exceed
# the value of maxProcessors specified in the
# $env(NSJSP_home/conf/iTP_server.xml file. Otherwise, requests
# will be queued when they reach this maximum configured value.
# The default is 25.
Linkdepth 25
Env TANDEM_RECEIVE_DEPTH=25
#
# File locations to direct standard input, output and error.
#
Stdin /dev/null
Stdout $root/logs/nsjspadmin.log
Stderr $root/logs/nsjspadmin.log
#
# This is the actual Arglist used to start up the NSJSPAdmin
# Container.
#
Arglist -Xbootclasspath/a:$env(JAVA_HOME)/lib/tools.jar \
-Xnoclassgc -Xmx64m -Xss128k -Dbrowserdebug=false \
-Djdbc.drivers=com.tandem.sqlmp.SQLMPDriver \
$NSJSP_SECMGR $NSJSP_SECMGR_POLICY $NSJSP_JAAS_CONFIG \
-DEnableJMXProxyServlet=false \
-Djava.endorsed.dirs=$env(NSJSP_ENDORSED_DIRS) \
-Dcatalina.home=$env(NSJSP_HOME) \
-Djava.io.tmpdir=$env(NSJSP_HOME)/temp \
com.tandem.servlet.NSJSPAdminBootstrap \
-config $nsjsp_config_file start
}