NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
3-68
The server.xml File
Table 3-15 shows the property list for the Executor element.
Example 3-50. A Sample of the Executor element
<Executor name="tomcatThreadPool" namePrefix="tomcat-http--"
maxThreads="300" minSpareThreads="50"/>
<Connector
executor="tomcatThreadPool"
port="${http.port}"
protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
acceptCount="100"
maxKeepAliveRequests="15"/>
Table 3-15. Property list for the Executor Element
Property Description
Default
Value
threadPriori
ty
Indicates the thread priority for threads in the executor. Thread.NO
RM_PRIORI
TY.
daemon Boolean value which indicates whether the threads
should be daemon threads or not, the default is true
True
namePrefix Denotes the name prefix for each thread created by the
executor. The thread name for an individual thread will
be namePrefix+threadNumber.
maxThreads Indicates the max number of active threads in this pool. 200
minSpareThre
ads
Indicates the minimum number of threads always kept
alive.
25
maxIdleTime Indicates the number of milliseconds before an idle
thread shutsdown, unless the number of active threads
are less or equal to minSpareThreads.
60000
prestartminS
pareThreads
Boolean value which indicates whether
minSpareThreads should be started when starting the
Executor or not.
False
threadRenewa
lDelay
After a context is stopped, threads in the pool are
renewed. To avoid renewing all threads at the same
time, this delay is observed between 2 threads being
renewed. The value is in ms and if negative, threads are
not renewed.
1000










