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

NSJMS Installation and Configuration for TNS/R
NonStop Server for Java Message Service User’s Manual522356-006
2-8
Install and Configure NSJMS
For example:
If NonStop Server for Java (T0083V31) is installed use these commands:
where version is the vproc of this JVM release (for example, jdk131_v10)
If NonStop Server for Java (T2766V10) is installed use these commands:
where version is the vproc of this JVM release (for example, jdk141_v10)
The vproc should contain a version procedure similar to:
Version procedure: T1251V30_30SEP2003_BASE_LIBNSJMS
5. Use the export command to update the NSJMS_HOME variable. For example:
6. Use the export command to update the CLASSPATH variable. For example:
7. Verify that you have access to an existing SQL catalog, or create a new catalog.
NSJMS uses SQL tables to store messages and destination information.
To create a new SQL catalog:
For additional information about the requirements for creating SQL catalogs, see
the SQL/MP Installation and Management Guide.
8. Update SQL Catalog and Table Location:
If the NSJMS SQL tables reside on the same subvolume as the SQL catalog,
using an editor of your choice, update the SQL catalog location in the
/usr/tandem/nsjms/version/creatsql file to reflect the
OSH: cd /usr/tandem/nssjava/version/bin/oss/posix_threads
OSH: vproc java
OSH: cd /usr/tandem/nssjava/version/bin
OSH: vproc java
Note. The remaining installation steps do not require super.super privileges. However, to
maintain a secure environment, you should choose or create a user ID that is configured for
the OSS environment and from under which you run your JMS applications. Use this user ID to
perform the post-installation steps.
OSH: cd /usr/tandem/nsjms/version
OSH: export NSJMS_HOME=$PWD
OSH: cd /usr/tandem/nsjms/version
OSH: export JAVA_HOME=/usr/tandem/java
OSH: export JREHOME=$JAVA_HOME/jre
OSH: export CLASSPATH=$NSJMS_HOME:$NSJMS_HOME/examples:$CLASSPATH
OSH: export CLASSPATH=`echo $NSJMS_HOME/lib/*.jar | tr ' ' ':'`:$CLASSPATH
OSH: gtacl -p sqlci 'create catalog $volume.subvol;exit;'