Author |
Message
|
verifier |
Posted: Tue Jan 18, 2011 1:09 am Post subject: MQRC_UOW_ENLISTMENT_ERROR, ServicedComponent(COM+), |
|
|
Newbie
Joined: 17 Jan 2011 Posts: 7
|
I get the error mentioned in the subject (CompCode: 2, Reason: 2354) on a Windows Server 2008 (64bit). I downloaded the MQ Client yesterday (7.something, the latest available)
I've tried to follow instructions as of http://social.msdn.microsoft.com/Forums/en/windowstransactionsprogramming/thread/34a2e44f-d74a-43ea-8bfa-aa79b6939eeb and http://www.mqseries.net/phpBB/viewtopic.php?p=222319&sid=42345733a53a13ab56de8a711dfa8000.
Registry
In the registry I got the following key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
amqmtsxatmc.dll
C:\Program Files (x86)\IBM\WebSphere MQ\bin64\amqmtsxatmc.dll
I got no amqmtsxatm.dll and have therefore not added it in the registry.
COM+
My COM+ application is running as NETWORK_SERVICE.
I've activated XA transactions at "Component Services -> Computers -> My computer -> Distrivuted Transaction Coordinator -> Local DTC -> Properties -> Security -> Enable XA Transactions"
MSDTC
MSDTC is started with the following settings:
Code: |
MSDTC started with the following settings:
Security Configuration (OFF = 0 and ON = 1):
Allow Remote Administrator = 0,
Network Clients = 1,
Trasaction Manager Communication:
Allow Inbound Transactions = 1,
Allow Outbound Transactions = 1,
Transaction Internet Protocol (TIP) = 0,
Enable XA Transactions = 1,
Enable SNA LU 6.2 Transactions = 1,
MSDTC Communications Security = Mutual Authentication Required,
Account = NT AUTHORITY\NetworkService,
Firewall Exclusion Detected = 0
Transaction Bridge Installed = 0
Filtering Duplicate Events = 1
|
Error
The error I get is:
The MSDTC XA Transaction Manager called the xa_open function for XA resource manager 'amqmtsxatmc.dll'. This call failed with an unexpected return code (0xfffffffd): File=d:\w7rtm\com\complus\dtc\dtc\xatm\src\xataskmgr.cpp Line=1955.
I then tried with the 32 bit version:
The XA Transaction Manager attempted to load the XA resource manager DLL. The call to LOADLIBRARY for the XA resource manager DLL failed: DLL=C:\Program Files (x86)\IBM\WebSphere MQ\bin\amqmtsxatmc.dll, HR=0x800700c1, File=d:\w7rtm\com\complus\dtc\dtc\xatm\src\xarmconn.cpp Line=2446.
How can I get everything running? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
shashikanth_in |
Posted: Tue Jan 18, 2011 2:10 am Post subject: |
|
|
Centurion
Joined: 26 Feb 2009 Posts: 123
|
Do you have WebSphere MQ Extended Transaction Client installed? This comes under a seperate license. This is required for XA transaction with MQ. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
verifier |
Posted: Tue Jan 18, 2011 2:13 am Post subject: |
|
|
Newbie
Joined: 17 Jan 2011 Posts: 7
|
No, I don't. Where can I download it? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
Vitor |
Posted: Tue Jan 18, 2011 5:13 am Post subject: |
|
|
![](images/avatars/905340816499abc1cdfb07.jpg) Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
verifier wrote: |
No, I don't. Where can I download it? |
Speak to whoever runs the IBM account at your site. They'll have details of your license & how to access the software. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
verifier |
Posted: Thu Feb 17, 2011 11:34 pm Post subject: |
|
|
Newbie
Joined: 17 Jan 2011 Posts: 7
|
I've installed the XA client now and got both DLLs.
I still get the same error.
Per suggestion from IBM I've changed so that the MS DTC runs under another account than NETWORK SERVICE (a domain account). I've also given the domain account execute privileges to the bin64 folder.
I still get the following error in the event log:
The MSDTC XA Transaction Manager called the xa_open function for XA resource manager 'amqmtsxatmc.dll'. This call failed with an unexpected return code (0xfffffffd): File=d:\w7rtm\com\complus\dtc\dtc\xatm\src\xataskmgr.cpp Line=1955.
Anyone got any ideas? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
zpat |
Posted: Fri Feb 18, 2011 12:37 am Post subject: |
|
|
![](images/avatars/200698233754e3c3649f6d0.jpg) Jedi Council
Joined: 19 May 2001 Posts: 5849 Location: UK
|
Search the forum & google for MQRC_UOW_ENLISTMENT_ERROR
Do you really need XA?
Can you remove any MQBEGIN call from your application (this call is not necessary if using syncpoint just with MQ). |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
verifier |
Posted: Fri Feb 25, 2011 5:36 am Post subject: |
|
|
Newbie
Joined: 17 Jan 2011 Posts: 7
|
Yes I do need XA.
IBM has just confirmed this as a bug. The version 7 client sends a connection option that a version 6 server do not recognize. They are working on a patch. |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
RikBaeten |
Posted: Mon Aug 08, 2011 6:23 am Post subject: |
|
|
![](images/avatars/5837125334d0232f7e1535.png) Novice
Joined: 26 Feb 2007 Posts: 19
|
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
verifier |
Posted: Wed Oct 17, 2012 11:24 pm Post subject: |
|
|
Newbie
Joined: 17 Jan 2011 Posts: 7
|
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|