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

Migrating to NSJSP 6.1
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
7-8
Comparing Configuration Properties in NSJSP 5.0,
NSJSP 6.0, and NSJSP 6.1
For more information on logging severity in NSJSP 6.1, see Chapter 5, Logging in
NSJSP.
port – Although the behavior of the server component with respect to the port
attributes has not changed between NSJSP 5.0 and NSJSP 6.1, NSJSP 6.1 requires
the port attribute to be explicitly set to -1.
Listeners – The NSJSPServerLifeCycleListener is replaced by the
ServerLifeCycleListener. The functionality of the two listeners is the same. For
more information on the new listeners in NSJSP 6.1, see Child Elements Nested in the
Server Element on page 3-41.
Environment Resource Name – The parameters mentioned as ResourceParams
in NSJSP 5.0 are mentioned as attributes of the Resource definition in NSJSP 6.1.
Connector – The changes in NSJSP 6.1 are as follows:
The minProcessors and maxProcessors properties are not included in NSJSP
6.1. These properties refer to the protocol processors and the minimum and the
maximum number of processors that the connector needs to create. In NSJSP 6.1,
the protocol processors are created only if required. After the protocol processors
are created, the processors are cached internally and reused.
The acceptCount property has no relevance in NSJSP 6.1 as the messages are
obtained through the $RECEIVE file. Messages are queued in the $RECEIVE file
and no internal queue for messages is maintained.
The minSpareThreads and maxSpareThreads attributes are not relevant in
NSJSP 6.1. Starting with the NSJSP 6.0 release, you can configure the connector
to use an Executor element for threads. You can use the minSpareThreads and
maxSpareThreads attributes in the Executor element. However, the default
configuration does not use the Executor element.
For more information about the Executor, see http://tomcat.apache.org/tomcat-6.0-
doc/config/executor.html.
In NSJSP 6.1, the default value of enableLookups is false, which is the same
as in the NSJSP 5.0 configuration. Therefore, this property is not mentioned
explicitly in the connector configuration
The connectionTimeout is not relevant in NSJSP 6.1 as it uses a custom
ServerSocket class, which is extended from the java.net.ServerSocket, to
create socket objects for messages received on $RECEIVE.
Table 7-3 lists the differences in the NSJSP 6.0 and NSJSP 6.1 server.xml files.