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

NSJMS Installation and Configuration
NonStop Server for Java Message Service User’s Manual522356-002
2-8
Install and Configure NSJMS
6. Update the CLASSPATH Variable
Use the export command to update the CLASSPATH variable. For example:
7. Verify SQL Catalog Access
NSJMS uses SQL tables to store messages and destination information. Verify you
have access to an existing SQL catalog or create a new catalog. 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
a. If the NSJMS SQL tables will 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
volume.subvol of the existing or newly created SQL catalog specified in Step
7 on page 2-8. For example:
Change:
VOLUME;
To:
VOLUME $volume.subvol;
b. If the NSJMS SQL tables will reside on a different subvolume from the SQL
catalog, using an editor of your choice, add the SQL catalog location to the
/usr/tandem/nsjms/version/creatsql file by adding a CATALOG
command referring to the catalog from Step 7 on page 2-8 and update the
VOLUME command to refer to the volume.subvol where the database tables
will reside. For example:
Change:
VOLUME;
To:
CATALOG $volume1.subvol1
VOLUME $volume2.subvol2
OSH: cd /usr/tandem/nsjms/version
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;'