2.3 Setting Up the WebSphere MQ XA Compliant Resource Manager
$TUXDIR/udataobj/RM
file when installing Oracle Tuxedo. For example, on 64-bit Linux, the installation program adds the following lines: # WebSphere MQ 9.0
MQSeries_XA_RMI:MQRMIXASwitchDynamic: -L${MQMDIR}/lib64 -L /opt/mqm/lib64 -lmqmxa64 -lmqm
(On other hardware platforms, the default library suffixes and locations may be different.)
As the Oracle Tuxedo administrator, you should review this information to determine if it is correct for your installation. You may need to modify the RM file information
- If WebSphere MQ is installed in a non-standard location.
- If your application is to be linked with WebSphere MQ client libraries instead of WebSphere MQ server libraries.
- If your application prefers to use the static XA switch MQRMIXASwitch instead of the dynamic XA switch MQRMIXASwitchDynamic.
On Windows NT, there is no standard installation location for
WebSphere MQ, so the variable %MQMDIR%
is used in the
%TUXDIR%\udataobj\RM
file. This variable should be set
before building the MQ Adapter servers.
If using a 64-bit version of Oracle Tuxedo, be sure to link with libraries in the WebSphere MQ lib64 directory and not in the 32-bit lib directory, and be sure to link with the mqmxa64 library and not the mqmxa library.
Parent topic: Building the Oracle Tuxedo MQ Adapter