iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Using NonStop Servlets for JavaServer Pages
(NSJSP)
iTP Secure WebServer System Administrator’s Guide—523346-002
9-14
Begin the Installation
4. To complete a typical installation of NSJSP, first run the setupjava script, then run
the setup script. Both of these scripts are located in the OSS file system directory:
/usr/tandem/webserver/servlet_jsp/<version>
Both scripts have dependencies on the OSS environment variable PATH. The
PATH variable must include the OSS /bin directory and the NSJ 2.0 /bin directory.
For example:
export PATH=$PATH:/bin:/usr/tandem/java/bin
Please ensure that the PATH variable is initialized correctly before running either
script. Failure to do so will result in "file not found" errors and an incomplete
installation.
setupjava
The ./setupjava script updates and re-links the JVM (default /usr/tandem/java)
to include this version of the NSJSP software libraries and class files. By default, the
./setupjava updates the JVM java binary located in /usr/tandem/java. If the
JVM java binary is in a location other than the default, then both the ./setupjava
and ./setup scripts will prompt to allow the alternate location to be specified.
1. Run the ./setupjava script using the same userid as was used to install the pre-
existing T0094 SSC software; if the T0094 software was not previously installed,
the userid must match the userid that was used to install the JVM NSJ 2.0
software.
For example, if you previously used SUPER.SUPER to install the older T0094, the
./setupjava would be run as follows:
TACL> LOGON SUPER.SUPER
TACL> OSH
OSS: cd /usr/tandem/webserver/servlet_jsp/<version>
OSS: ./setupjava
2. After running the ./setupjava script, ensure that no errors have been reported
by the script. If you use the wrong userid, the ./setupjava script will not be able
to remove and back up the older T0094 SSC library and class files and your T1222
NSJSP environment will not run correctly.
After the execution of the ./setupjava script, the servlet jar files
(ServletJSPConnector.jar and iTP_Servlet_JSP.jar) will be in the
/usr/tandem/java/jre/lib directory.
The Servlet JNI code (libtandemservlet.a) will be in the
/usr/tandem/java/jre/lib/oss/posix_threads directory.
Caution. Running ./setupjava will backup and uninstall any pre-existing T0094 SSC JVM
binary linkages rendering any pre-existing T0094 SSC servlet applications unusable without
migration.