NonStop Servlets for JSP System Administrator's Guide

Installing NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
2-5
Starting or Restarting NSJSP
After the setup script is executed, the default servlet.config file will be located in
the iTPWS_INSTALL_DIR/conf directory. If a pre-existing NSJSP configuration
already exists and the version matches, no backup is made and the pre-existing
NSJSP configuration files are kept unmodified. If the version is not the same, the
existing configuration files, iTP_server.xml, web.xml, and servlet.config,
are saved with the extension bkup.version appended to the end, for example,
servlet.config.bkup.3.2.3.
In addition, when using a JVM binary in a location other than the default
/usr/tandem/java, either set the JAVA_HOME OSS environment variable or
modify the servlet.config file to the alternate Java location prior to starting the
environment. If not set, the default servlet.config file will use the Java binary
from /usr/tandem/java.
Once the setupjava and setup scripts have run, do not delete or modify the
version-specific directory /usr/tandem/webserver/servlet_jsp/
<version> or its subdirectories as there are OSS symbolic links pointing back to
that directory tree. If you do delete any of these directories or subdirectories, you
will have to reinstall the entire product starting with unpaxing the product PAX file.
2. Verify the VPROC of the iTPWS_INSTALL_DIR/bin/servlet.ssc binary.
There should be a T1222 VPROC that matches with the <version> portion of the
installation directory. If there is not a match, then an installation error has occurred
and must be corrected before proceeding.
3. Update your OSS profile. After installing NSJSP 2.0, you must update your OSS
profile to include the servlet.jar file in the Java CLASSPATH. For example:
/usr/tandem/webserver/servlet_jsp/common/lib/servlet.jar
This will enable you to successfully compile servlets in the NSJSP environment.
Starting or Restarting NSJSP
When the NSJSP software is started, a running TCP/IP process is required. This
process was set by the setup script.
1. To start NSJSP, execute the start script from the
/usr/tandem/webserver/conf directory in the iTP Secure WebServer
environment. The script starts the HTTPD process using the httpd.config
configuration file. The script is shown below:
OSS: cd /usr/tandem/webserver/conf
OSS: ./start
2. When you see the EMS message
(#1) Servlet ServerClass started. Version
Procedure = T1222V20_17MAR03_BASE_V200_5
you can access the NSJSP sample page from a web browser at URL:
http://hostname:portnumber/samples/Servlets/