NonStop JMS User's Manual (H06.03+, J06.03+, NonStop JMS 3.0+)

Reliable Messaging Bridge
NonStop Server for Java Message Service User’s Manual522356-006
5-3
Setting the Environment Variables
JAVA_HOME Environment Variable
Use the export command to set the JAVA_HOME variable. For example:
where version is the vproc of this RVU (for example, T1251V30_30SEP2003_V30).
NSJMS_HOME Environment Variable
Use the export command to set the NSJMS_HOME variable. For example:
where version is the vproc of this RVU (for example, T1251V30_30SEP2003_V30).
Add Foreign-Provider Client Jar Files
Modify the btool.sh script to include all foreign-provider client jar files that will be used
in the bridge Pathway environment:
1. Use the cd command to go to the directory where the btool.sh script is located. For
example:
where version is the vproc of this RVU (for example,
T1251V30_30SEP2003_V30)
2. Using an editor of your choice, modify the btool.sh script as:
a. Find the line export BRIDGE_SUPPORT_JARS=
b. Append the directory location for all foreign-provider client jar files to the end of
export BRIDGE_SUPPORT_JARS=. Use colons to separate the directory locations.
Example 5-1
on page 5-4 shows where in the btool.sh script the modifications should
be made.
OSH: cd /usr/tandem/nsjms/version/bridge
OSH: export JAVA_HOME=/usr/tandem/java
OSH: cd /usr/tandem/nsjms/version
OSH: export NSJMS_HOME=/usr/tandem/nsjms/version
OSH: cd /usr/tandem/nsjms/version/bridge