locked
Windows 7 64 Bits - MSDTC fails with MQ Series 7 RRS feed

  • Question

  • hello,

    I try to do a distributed transaction with Mq Series on my new computer and it fails with 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.

    in my program, I have the following error code :

    MQRC_UOW_ENLISTMENT_ERROR
    CompCode: 2Reason: 2354 :

    I also activate Mq Tracing that you can have an extract but i don't understant this trace :

    000056B0 18:35:03.913065  2532.5   RSESS:000004 ---}! reqDoConnect (rc=MQRC_OPTIONS_ERROR)
    000056B1 18:35:03.913072  2532.5   RSESS:000004 !! - __________
    000056B2 18:35:03.913077  2532.5   RSESS:000004 !! - MQCONN <<
    000056B3 18:35:03.913083  2532.5   RSESS:000004 !! - Name     : Input Parm
    000056B4 18:35:03.913088  2532.5   RSESS:000004 !! - Hconn:
    000056B5 18:35:03.913094  2532.5   RSESS:000004 Data:-
    000056B5 18:35:03.913094  2532.5   RSESS:000004 0x00000000 04BDEC50 FF FF FF FF                   : ÿÿÿÿ
    000056B6 18:35:03.913104  2532.5   RSESS:000004 !! - ConnectOpts:
    000056B7 18:35:03.913109  2532.5   RSESS:000004 Data:-
    000056B7 18:35:03.913109  2532.5   RSESS:000004 0x00000000 04BDEB70 43 4E 4F 20 02 00 00 00 20 00 00 02 00 00 00 00 : CNO .... .......
    000056B7 18:35:03.913109  2532.5   RSESS:000004 0x00000000 04BDEB80 80 EC BD 04 00 00 00 00             : €ì½.....
    000056B8 18:35:03.913124  2532.5   RSESS:000004 !! - Compcode:
    000056B9 18:35:03.913130  2532.5   RSESS:000004 Data:-
    000056B9 18:35:03.913130  2532.5   RSESS:000004 0x00000000 04BDEB60 02 00 00 00                   : ....
    000056BA 18:35:03.913140  2532.5   RSESS:000004 !! - Reason:
    000056BB 18:35:03.913146  2532.5   RSESS:000004 Data:-
    000056BB 18:35:03.913146  2532.5   RSESS:000004 0x00000000 04BDEB64 FE 07 00 00                   : ....
    000056BC 18:35:03.913157  2532.5   RSESS:000004 !! - MQI:MQCONN HConn=FFFFFFFF rc=000007FE
    000056BD 18:35:03.913166  2532.5   RSESS:000004 !! - ErrorCode :- 00005203 Numeric Insert1 :- 00000000 (0) Numeric Insert2 :- 00000003 (3)
    000056BE 18:35:03.913172  2532.5   RSESS:000004 !! - QM_DEVL                     
    000056BF 18:35:03.913178  2532.5   RSESS:000004 !! - __________
    000056C0 18:35:03.913183  2532.5   RSESS:000004 !! - xa_open <<
    000056C1 18:35:03.913189  2532.5   RSESS:000004 !! - Xa_info    : Input Parm
    000056C2 18:35:03.913195  2532.5   RSESS:000004 !! - Rmid     : Input Parm
    000056C3 18:35:03.913200  2532.5   RSESS:000004 !! - Flags     : Input Parm
    000056C4 18:35:03.913206  2532.5   RSESS:000004 !! - Return value:
    000056C5 18:35:03.913211  2532.5   RSESS:000004 Data:-
    000056C5 18:35:03.913211  2532.5   RSESS:000004 0x00000000 04BDEB20 FD FF FF FF                   : ýÿÿÿ
    000056C6 18:35:03.913221  2532.5   RSESS:000004 --}! XAOpen (rc=Unknown(FFFFFFFD))
    000056C7 18:35:03.913235  2532.5   RSESS:000004 --}! MQRMIOpen (rc=Unknown(FFFFFFFD))
    000056C8 18:35:03.913250  2532.5   RSESS:000004 execute op 0 completed: rc=-3, ThreadId=5116, ClientThreadId=6044
    000056C9 18:35:03.913261  2532.5   RSESS:000004 MQRMI op 0 failed, close worker thread
    000056CA 18:35:03.913273  2532.5   RSESS:000004 Worker thread ending: threadid=0, rmid=41, count=0
    000056CB 18:35:03.913282  2532.5   RSESS:000004 --} WorkerThread (rc=OK)
    000056CC 18:35:03.913296  2532.5   RSESS:000004 --{ xatm_DLLMain
    000056CD 18:35:03.913315  2532.5   RSESS:000004 --}! xatm_DLLMain (rc=Unknown(1))
    000056CE 18:35:03.913331  2532.5   RSESS:000004 --{ DLLMain
    000056CF 18:35:03.913339  2532.5   RSESS:000004 THREAD DETACH 5116, nthreads=0
    000056D0 18:35:03.913351  2532.5   RSESS:000004 --}! DLLMain (rc=Unknown(1))
    000056D1 18:35:03.913369  2532.5   RSESS:000004 !! - amqxgtan DLL_THREAD_DETACH for OSThread:5116 MQThread:5
    000056D2 18:35:03.913378  2532.5   RSESS:000004 !! - xtrTurnOffTrace: Turning off trace for this thread
    	

    My environment is :

    Windows 7 64 bits

    IBM MQ client (installed from Server installation, so i have the licence file : amqpcert.lic) version 7.0.1

    I Have a correct MSDTX configuration :

    Activate all flags (Allow NetWork Access, Allow remote clients, allow remote administration, allow inbound, allow outbound, no Authenticiation required and allow XA and allow SNA LU 6.32 transactions)

    In my registry, I have two keys to :

    Key Name:     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
    Class Name:    <NO CLASS>
    Last Write Time:  06.07.2010 - 11:17
    Value 0
     Name:      mtxoci.dll
     Type:      REG_EXPAND_SZ
     Data:      %systemroot%\system32\mtxoci.dll
    
    Value 1
     Name:      amqmtsxatmc.dll
     Type:      REG_SZ
     Data:      C:\Program Files (x86)\IBM\WebSphere MQ\bin64\amqmtsxatmc.dll
    
    Value 2
     Name:      <NO NAME>
     Type:      REG_SZ
     Data:      
    
    Value 3
     Name:      amqmtsxatm.dll
     Type:      REG_SZ
     Data:      C:\Program Files (x86)\IBM\WebSphere MQ\bin64\amqmtsxatm.dll
    
    
    

    I Just saw the following registry key :

    Key Name:     HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSDTC\XADLL
    Class Name:    <NO CLASS>
    Last Write Time:  14.07.2009 - 06:53
    Value 0
     Name:      mtxoci.dll
     Type:      REG_EXPAND_SZ
     Data:      %systemroot%\system32\mtxoci.dll
    
    
    

    Maybe, it is the problem. Could you help me to validate if this is the problem.

    Thanks very much


    Yannick
    Friday, July 30, 2010 4:10 PM

Answers

  • Hi YGO,

    Could you enable TRACE_XA, TRACE_CM, TRACE_SVC and TRACE_PROXY..

    And also, just to confirm, C:\Program Files (x86)\IBM\WebSphere MQ\bin64\amqmtsxatm.dll is a x64 binary, right?

    Thanks


    Rafael Barcelos - SDET Transactions/Agreements Team
    Monday, August 16, 2010 5:32 PM
    Moderator

All replies