If your message flow interacts with an Oracle database, and you want to coordinate the updates made to the database with other actions within the message flow, configure your broker to manage these updates.
Before you start:
To complete this task, you must have completed the following task:
If you want to use Oracle in coordinated transactions, follow the general instructions in the section called "Oracle configuration" in the WebSphere MQ System Administration book, and use these with the instructions given here. In particular, you must provide a symbolic link to the 32-bit Oracle client library libclntsh from /var/mqm/exits.
The following examples show what you must include in the XAResourceManager stanza in the qm.ini file on Linux and UNIX systems, and the equivalent information for Windows:
XAResourceManager: Name=OracleXA SwitchFile=<Your install directory>/merant/lib/UKor8dtc20.so XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=<Your install directory>/merant/lib/UKor8dtc20.sl XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=<install_dir>/merant/lib/UKor8dtc20.so XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=<install_dir>/merant/lib/UKor8dtc20.so XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
SwitchFile: C:\WMQI\BIN\UKor8dtc20.dll
XAOpenString: ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+
threads=TRUE+DB=ORACLEDB
ThreadOfControl: THREAD
The following examples show what you must include in the XAResourceManager stanza in the qm.ini file on Linux and UNIX systems, and the equivalent information for Windows:
XAResourceManager: Name=OracleXA SwitchFile=UKor8dtc20.so XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=UKor8dtc20.sl XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=UKor8dtc20.so XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=UKor8dtc20.so XAOpenString=ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+ threads=TRUE+DB=ORACLEDB XACloseString= ThreadOfControl=THREAD
SwitchFile: C:\WMQI\BIN\UKor8dtc20.dll
XAOpenString: ORACLE_XA+SQLNET=myserver+ACC=P/scott/tiger+sestm=0+
threads=TRUE+DB=ORACLEDB
ThreadOfControl: THREAD
If you want to use Oracle in coordinated transactions, follow the general instructions in the section called "Oracle configuration" in the WebSphere MQ System Administration book, and use these with the instructions given here.
The following examples show what you must include in the XAResourceManager stanza in the qm.ini file on UNIX systems, and the equivalent information for Windows:
XAResourceManager: Name=OracleXA SwitchFile=UKoradtc20.so XAOpenString=ORACLE_XA+HostName=myhostname+PortNumber=myportnumber+Sid=mySID +ACC=P/myuid/mypasswd+SesTM=100+DataSource=mydatasourcename+K=2+ XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=UKoradtc20.sl XAOpenString=ORACLE_XA+HostName=myhostname+PortNumber=myportnumber+Sid=mySID +ACC=P/myuid/mypasswd+SesTM=100+DataSource=mydatasourcename+K=2+ XACloseString= ThreadOfControl=THREAD
XAResourceManager: Name=OracleXA SwitchFile=UKoradtc20.so XAOpenString=ORACLE_XA+HostName=myhostname+PortNumber=myportnumber+Sid=mySID +ACC=P/myuid/mypasswd+SesTM=100+DataSource=mydatasourcename+K=2+ XACloseString= ThreadOfControl=THREAD
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ac00910_ |