NonStop Servlets for JSP System Administrator's Guide

Programming and Management Features
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
4-16
nsjsp_manager Commands
The Change NSJSP Manager Log File selection changes the log file used to store all
the commands run by the nsjsp_manager utility. By default, the nsjsp_manager
utility logs to the
iTPWS_INSTALL_DIR/servlet_jsp/logs/nsjsp_manager.log file
Example 4-13 is a screen snap-shot of the nsjsp_manager user interface changing
the log file for the current session.
nsjsp_manager Commands
The nsjsp_manager utility also provides the following commands to allow you to run
the manager operations under OSS without interaction:
nsjsp_manager list
nsjsp_manager start context_path
nsjsp_manager stop context_path
nsjsp_manager remove context_path
nsjsp_manager reload context_path
nsjsp_manager install context_path { app_dir | war_file }
where
context_path
The path attribute of the <Context> tag in the
iTPWS_INSTALL_DIR/servlet_jsp/conf/iTP_server.xml file.
app_dir
The full path of the application to be installed.
war_file
The full path of the WAR file containing the application to be installed.
Example 4-13. nsjsp_manager Change NSJSP Manager Log File
#---------- NSJSP Manager Main Menu ----------#
0) List All Web Applications
1) Start a Web Application
2) Stop a Web Application
3) Install a Web Application
4) Reload a Web Application
5) Remove a Web Application
6) Clean NSJSP Session Data
7) Clean NSJSP Log Files
8) Change NSJSP Manager Log File
9) Exit
#-------------------------------------------#
Enter your selection ([0]-9) ...... 8
Enter the log file name
[/usr/tandem/webserver/servlet_jsp/logs/nsjsp_manager.log] ...
/usr/tandem/webserver/servlet_jsp/logs/mySession.log