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-14
setupjava:
(for example: T1222V10_30JUN01_BASE_V100_3)
The COPYOSS step simply unpaxes the T1222PAX file. Running COPYOSS on the
product PAX file will not effect any currently running environment in any way.
The softdoc file, T1221V10 is a text file that you can keep on <$ISV>.SOFTDOC, or
you can copy the file to any other location on your NonStop system by using the FUP
DUP or FUP RENAME commands.
3) To complete a typical installation of NSJSP, first run the setupjava script, then run the
setup script. Both of these 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 will update and re-link the JVM (/usr/tandem/java) to include this
version of the NSJSP software libraries and class files. Running setupjava will uninstall
any pre-existing T0094 SSC JVM binary linkages rendering any pre-existing T0094
SSC servlet applications unusable without migration.
This script must be run using the same userid as was used to install the pre-existing
T0094 SSC software; if the T0094 SSC 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 SSC, the
setupjava would be run as follows:
TACL> LOGON SUPER.SUPER
TACL> OSH
OSS: cd /usr/tandem/webserver/servlet_jsp/<version>
OSS: ./setupjava
After running the setupjava script, you must 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 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. The Java binaries will have been automatically rebuilt to include the Servlet
JNI code (libtandemservlet.a).