NonStop Servlets for JSP System Administrator's Guide
Installing NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
2-4
setup
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 backup 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 JNI code (libT1222.a)
will be in the /usr/tandem/java/jre/lib/oss/posix_threads directory
The Java binaries will have been automatically rebuilt to include the Servlet JNI
code (libT1222.a).
The setupjava script is expected to be run only once when the product is first
unpaxed (by using COPYOSS) into its version-specific location. Running it a
second time is not necessary unless you need to re-install the T1222 NSJSP
libraries and/or class files.
setup
The setup script integrates NSJSP 2.0 with a previously installed iTP Secure
WebServer. This script prompts you for the location of an installed iTP Secure
WebServer to which you wish to add NSJSP support. It also prompts you for the logger
choices: whether to select multiple log files (the default) or a single log file. For more
information on log files, refer to Section 5, Logs and Error Conditions.
1. Run the setup script using the same userid as you used to install the iTP Secure
WebServer.
For example, if you previously used the SUPER.WEB userid to install the iTP
Secure WebServer you must now use SUPER.WEB to install this portion of the
product as follows:
TACL> LOGON SUPER.WEB
TACL> OSH
OSS: cd /usr/tandem/webserver/servlet_jsp/<version>
OSS: ./setup
Caution. Once the T1222 NSJSP software has been linked into the default /usr/tandem/java
JVM binary, the older T0094 SSC product must not be unpaxed by the COPYOSS utility.
Running COPYOSS on the T0094PAX file will update various linkages in the default
/usr/tandem/java path and make the NSJSP installation unusable.
If you unpax the T0094 product on top of a running NSJSP installation, you can recover by
removing the /usr/tandem/java/lib/oss/posix_threads/libtandemservlet.a and
/usr/tandem/java/lib/servletclasses.zip files. Then, run the NSJSP setupjava script again.
Be aware that the Enterprise Application Server (EAS) 1.0 product contains the T0094 SSC
(Servlets 2.0) product. If you install NSJSP first, then EAS, do not run the COPYOSS utility on
the T0094PAX file. If you wish to use NSJSP with EAS, install the EAS software first, then the
NSJSP software to avoid this problem.