NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator’s Guide—544548-004
3-3
servlet.config
Arglist
The Arglist parameter in the server directive specifies JVM command-line
arguments. Example 3-1 shows a sample arglist for an NSJSP container class.
Java Runtime Arguments
You can add any of the following optional Java runtime arguments to the Java
Arglist parameter.
-Xmx maximum-heap-size [ k | m ]
maximum-heap-size
Sets the maximum size of the memory allocation pool, which is the garbage
collected heap, to maximum-heap-size that must be greater than or equal to
1000 bytes.
k
Sets the value to be read in kilobytes. If neither k nor m is specified, the
value is read in bytes.
m
Sets the value to be read in megabytes. If neither k nor m is specified, the
value is read in bytes.
In Example 3-1 the maximum-heap-size is being set to 64 MB, which
indicates the maximum heap size that can be used.
Example 3-1. Arglist for an NSJSP Container Class
Arglist -Xmx64m -Xss128k -Xnoclassgc \
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
-Djava.util.logging.config.file=$env(NSJSP_HOME)/conf/logging.properties\
-Djavax.management.builder.initial=com.tandem.servlet.jmx.NSJSPMBeanServer
Builder \
-Dnsjsp.security.manager=none \
-Djava.security.policy==/usr/tandem/webserver/servlet_jsp/conf/iTP_catal
ina.policy \
-Dnsjsp.jaas.login.config=none \
-Dcatalina.home=$env(NSJSP_HOME) \
-Dcatalina.base=$env(NSJSP_HOME) \
-Djava.io.tmpdir=$env(NSJSP_HOME)/temp \
org.apache.catalina.startup.Bootstrap start
Note. Note that the Arglist arguments for Java precede the NSJSP container class.










