NonStop JMS User's Manual (H06.03+, J06.03+, NonStop JMS 3.0+)
NSJMS Administrative Servlet Installation and
Configuration
NonStop Server for Java Message Service User’s Manual—522356-006
6-9
Administrative Servlet Installation Procedure for
NonStop Servlets for JavaServer Pages (T1222V20)
3. Using an editor of your choice, modify the iTP Secure WebServer
servlet.config file:
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)
4. Copy the NSJMS jar files located in the NSJMS installation lib directory to the
directory where the iTP Secure WebServer common library files are located:
where /usr/tandem/nsjms/version/lib represents the lib directory of the
NSJMS installation.
5. Use the cd command to go to the directory where the ITP Secure WebServer
iTP_server.xml file is located; for example:
6. Using an editor of your choice, modify the iTP Secure WebServer
iTP_server.xml file:
Locate the comment:
<!-- Servlet BankDemo Context
commented out, to use the example, remove the comment
<Context path="/servlet_jsp/bankdemo" docBase="BankDemo"
reloadable="false" debug="0"/>
-->
Insert this statement directly below it:
<Context path="/servlet_jsp/nsjms" docBase="nsjms"
debug="0" reloadable="false"> </Context>
OSH: cp /usr/tandem/nsjms/version/lib/*.jar
/usr/tandem/webserver/servlet_jsp/common/lib
OSH: cd /usr/tandem/webserver/servlet_jsp/conf