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

NSJMS Installation and Configuration for TNS/E
NonStop Server for Java Message Service User’s Manual522356-006
3-6
Install and Configure NSJMS
COPYOSS extracts the files contained in T1251PAX and places them in the
version-specific OSS directory /usr/tandem/nsjms/version, where version
for this RVU is: (for example, T1251H10_30MAY2005_H10).
3. Go to Install and Configure NSJMS on page 3-6 for detailed instructions about
running the install script and configuring NSJMS.
Install and Configure NSJMS
1. Change the directory:
OSH: cd /<jms-install-dir>/nsjms/T1251H10_30MAY2005_H10/lib
where <jms-install-dir> is the standard or non-standard NSJMS install
location.
2. Copy the JNDI files from your workstation to the NSJMS directory:
Using FTP in binary mode, transfer the providerutil.jar file and the
fscontext.jar file from your workstation to the
/<jms-install-dir>/nsjms/version/lib directory, where version for this
RVU is: (for example, T1251H10_30MAY2005_H10).
3. TACL>OSH
OSH: cd /<jms-install-dir>/nsjms/T1251H10_30MAY2005_H10/lib
OSH: chmod u+x libnsjms.so
OSH: chmod u+x libnsjms_64.so
4. Use the export command to update the NSJMS_HOME variable. For example:
5. Use the export command to update the CLASSPATH variable. For example:
Note. Running the copyoss command does not affect any environment currently running
on your NonStop NS-series server.
Note. The 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 /<jms-install-dir>/nsjms/T1251H10_30MAY2005_H10
OSH: export NSJMS_HOME=$PWD
If T2766H10 is installed in the standard location: (For U64 support, Java
SPR T2766H70 or above is supported):
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: export _RLD_LIB_PATH=$NSJMS_HOME/lib