NonStop Servlets for JavaServer Pages (NSJSP) 5.0 System Administrator's Guide
Installing NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-003
2-6
Stopping NSJSP
To save persistent session data and allow your applications to shut down gracefully,
use the nsjsp_stop script instead of the iTPWS_INSTALL_DIR/conf/stop script
(described in the iTP Secure WebServer System Administrator’s Guide) to shut down
the NSJSP and iTP WebServer environments.
Note. This script is slower than the iTPWS_INSTALL_DIR/conf/stop script. So if you do
not use persistent sessions and do not care about gracefully allowing your applications to exit,
using the iTPWS_INSTALL_DIR/conf/stop script might be more appropriate for your
environment.
Caution. If you use the nsjsp_stop script when servlet requests are still pending, you must
restart the WebServer environment. Stopping the web container immediately stops all
execution threads that are running within the web container. There are no runtime checks that
allow the web container to stay up and wait for all threads to finish when an nsjsp_stop script
has been issued against the web container.
Example 2-1. The nsjsp_stop Script
/usr/tandem/webserver/conf : ./nsjsp_stop
NonStop(tm) Servlets for JavaServer Pages(tm) Stop Script
T1222H50_30APR2006_BASE_V500_1
__________________________________________________________
Gracefully shuts down the NonStop(tm) Servlets for JavaServer Pages(tm)
ServerClass (SERVLET+NSJSPAdmin)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 and NSJSPAdmin
ServerClasses (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 NSJSPAdmin ServerClass ...
Freezing and stopping the NSJSPAdmin ServerClass ... Done.
Freezing and stopping the SERVLET ServerClass ...
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: 80) - do not trust for secure transactions
/usr/tandem/webserver/conf










