NonStop JMS User's Manual (NonStop JMS 2.0+)

NSJMS Administrative Servlet Installation and
Configuration
NonStop Server for Java Message Service User’s Manual522356-002
4-5
Administrative Servlet Installation Procedure for
NonStop Servlets for JavaServer Pages (T1222V1X)
3. Using an editor of your choice, modify the iTP Secure WebServer
servlet.config file as follows:
a. Locate the statement:
if {![info exists env(GUARDIAN_SUBVOL)]} {set
env(GUARDIAN_SUBVOL) /G/system/zweb }
Insert this line directly below it:
if {![info exists env(NSJMS_HOME)]} {set
env(NSJMS_HOME) /usr/tandem/nsjms/version }
The env parameter specifies the environment variable for the NSJMS
administrative servlet, and /usr/tandem/nsjms/version represents the
home directory for the NSJMS installation.
b. Locate the line set USRCP $root/root/samples/Servlets and append
this information to the end of that line:
:$env(NSJMS_HOME):$env(NSJMS_HOME)/lib/nsjms.jar:$env
(NSJMS_HOME)/lib/fscontext.jar:$env(NSJMS_HOME)/lib/
providerutil.jar
4. Use the cd command to go to the directory where the ITP Secure WebServer
iTP_server.xml file is located; for example:
5. Using an editor of your choice, modify the iTP Secure WebServer
iTP_server.xml file as follows:
Locate the comment:
<!-- Add your context mappings here. -->
Insert this statement directly below it:
<Context path="/servlet_jsp/nsjms" docBase="webapps/nsjms"
debug="0" reloadable="false"> </Context>
6. Create the NSJMS servlet directory
/usr/tandem/webserver/servlet_jsp/webapps/nsjms by executing
these commands:
OSH: cd /usr/tandem/webserver/servlet_jsp/conf
OSH: cd /usr/tandem/webserver/servlet_jsp/webapps
OSH: mkdir nsjms