NonStop Servlets for JSP System Administrator's Guide
Installing NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
2-7
Uninstalling NSJSP
Uninstalling NSJSP
The uninstall script removes the currently installed version of the NSJSP software
libraries and class files from the specified JVM (default /usr/tandem/java) and then
relinks the JVM. The uninstall script also removes all the NSJSP files, directories,
and web applications that were installed in your iTP WebServer environment.
You must run this script using the same userid that was previously used to install
NSJSP. For example, if you previously used the SUPER.SUPER ID to install NSJSP, the
uninstall script should be run as follows:
TACL> LOGON SUPER.SUPER
TACL> OSH
OSS: cd /usr/tandem/webserver/servlet_jsp/<version>
OSS: ./uninstall
If you use the wrong userid, the uninstall script will not execute.
After the execution of the uninstall script, the Servlet JNI code (libT1222.a) is
removed from the $JAVA_HOME/jre/lib/oss/posix_threads directory. The Java
binaries are automatically rebuilt.
Example 2-1. The nsjsp_stop Script
/usr/tandem/webserver/conf : ./nsjsp_stop
NonStop(tm) Servlets for JavaServer Pages(tm) Stop Script
T1222V20_17MAR03_BASE_V200_5
__________________________________________________________
Gracefully shuts down the NonStop(tm) Servlets for JavaServer Pages(tm)
ServerClass (SERVLET) and the iTP WebServer environment. This script should
be used if you need to flush the session data into a pre-configured store or
if you need the destroy() methods to be invoked on all loaded servlet and jsp
programs.
Note: This script may take a long time to stop the SERVLET ServerClass
(depending on your configuration). You can use ^C (Control-C) at any time to
break out of this script in case it takes too long. You will then need to use
the '/usr/tandem/webserver/conf/stop' script to shutdown the iTP WebServer
environment.
iTP WebServer Installation = /usr/tandem/webserver
iTP WebServer Config File = /usr/tandem/webserver/conf/httpd.config
iTP WebServer Pathmon Name = /G/zweb ($zweb)
Freezing and stopping the SERVLET ServerClass ... Done.
Shutting down the iTP WebServer environment via
/usr/tandem/webserver/conf/stop ...
httpd: (#451) self-signed test certificate in use (server:
<www.mycompany.com, port: 443) - do not trust for secure transactions
Caution. Running uninstall will reset your JVM to the pre-NSJSP installation level and remove
all your web applications in the webapps directory. So before you run the script, make sure you
back up your web applications.