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 Guide544548-004
3-15
filemaps.config
filemaps.config
The filemaps.config file includes the NSJSP-specific filemap directive. For more
information on the filemap directive, see iTP Secure WebServer Administrators Guide.
The entries in the filemaps.config file are referred by the SERVLET ServerClass
and the NSJSPADMIN ServerClass during startup to determine the correct context path
for the application.
For example, consider a new application called orders and assume that
com.tandem.servlet.CONTEXT_PREFIXES is set to /servlet_jsp. Depending
on whether there is an entry in filemaps.config for the orders application, the
following is true:
If filemaps.config includes filemap/orders during startup, the orders
application is deployed under the context /orders and not in
/servlet_jsp/orders.
If filemaps.config does not include any entry for the orders application,
during startup it is deployed as /servlet_jsp/orders.
Any application deployed using the Manager application can request the NSJSPADMIN
ServerClass to add the context path as a Filemap for HTTPD routing purpose. You
must place all user-defined filemaps in the file filemaps.config because it is
managed by the NSJSPADMIN ServerClass.
Deploying Web Applications
You can deploy a web application using any of the methods listed below:
Deploying web applications using context.xml
Deploying web applications on NSJSP startup
Deploying web applications on a running NSJSP server
Deploying web applications using NSJSP Manager
Deploying web applications using NSJSP Client Deployer
Deploying web applications using context.xml
A context descriptor, context.xml, is required to configure a context within the
NSJSP server. A context descriptor is an XML file that contains the NSJSP
configuration for a context. For more information on deploying a web application using
context.xml, refer http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html.
Note. During the Restart process of NSJSP, the container refers the filemaps.config file
to verify the context path of all the applications that are deployed. The filemaps for Manager
and Admin applications are present in the nsjspadmin.config file but are not verified.