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-2
Administrative Servlet Installation Procedure for
Java Servlets
Administrative Servlet Installation Procedure for Java Servlets
Use this installation procedure if you are running Java Servlets (T0094V20).
1. Log on as the owner of the /usr/tandem/webserver/conf directory.
2. Use the cd command to go to the directory where the ITP Secure WebServer
configuration file is located. For example:
3. Using an editor of your choice, modify the iTP Secure WebServer
servlet.config file as:
a. Locate the line set server_objectcode $root/bin/servlet.ssc and
insert this line directly below it:
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 where the Tool Command language (Tcl) variable JVCP is set and
insert this command directly below where JAVA_HOME is set:
foreach i [glob -nocomplain $env(NSJMS_HOME)/lib/*.zip
$env(NSJMS_HOME)/lib/*.jar] { append JVCP $i ":" }
This Tcl command sets up the class PATH variable for NSJMS.
c. Locate the line set USRCP $root/samples/Servlets:$root/samples/
Servlets/SunSamples and append this information to the end of that line:
:$root/samples/Servlets/nsjms:$env(NSJMS_HOME)
4. Create the NSJMS servlet directory
/usr/tandem/webserver/samples/Servlets by executing these
commands:
Note. By default, access to the /usr/tandem/webserver/conf directory is restricted to
the owner of the directory structure, the user ID under which the iTP WebServer was installed.
The directory owner can allow anyone to access the directory, however, the system supervisor
can always access the directory.
OSH: cd /usr/tandem/webserver/conf
OSH: cd /usr/tandem/webserver/samples/Servlets
OSH: mkdir nsjms