iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Using NonStop Servlets for JavaServer Pages With 
The iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
9-18
The servlet.config File
You may need to change the following entries:
Environment Variables
The SERVLET_JSP_HOME environment variable must be set, as follows:
 Set env(SERVLET_JSP_HOME) /usr/tandem/webserver/servlet_jsp
Filemaps
For each new application (a collection of related servlets, JSP and other resources) you 
must add a corresponding filemap in the servlet.config file. 
For example, assume you have a new application called orders, you will have to add the 
following filemap.
Filemap /orders $server_objectcode
Server Directive 
•
Among many other entries, Numstatic and Maxservers are set in the server 
directive. The default situation is that both are set to 1, because the NonStop Servlets 
for JavaServer Pages process is multithreaded. 
To support sessions, all processes in the web container must be static. That is, the 
Numstatic and Maxservers attributes of the web container must have the same value. 
If the values are not equal, the LINKMON will bring up additional dynamic Servlet 
server processes based on the system load. If a dynamic Servlet server process is 
shut down because the system load has decreased, all the session data it contained 
will be lost.
 The following entries must not be changed:
•
Arglist parameter. The arglist parameter in the server directive has been used to 
specify the following configuration:
The class file which the servlet server process loads immediately upon startup.
org.apache.tomcat.startup.Tomcat 
The NonStop Servlets for JavaServer Pages home directory 
-Dtomcat.home=$env(SERVLET_JSP_HOME)
The name of the customized server.xml file for NonStop Servlets for JavaServer 
Pages to use 
-f conf/iTP_server.xml
Consider adding any of the optional Java runtime arguments (listed below) to the 










