FIX: BUG: Locking Problem When Using XA Transactions

Last reviewed: March 2, 1998
Article ID: Q181776
The information in this article applies to:
  • Microsoft Transaction Server, version 2.0

SYMPTOMS

Microsoft Transaction Server causes database blocking problems when transactions are used against XA-compliant databases, including Oracle and DB/2. If two or more Microsoft Transaction Server components that share a transaction open connections to the same database and try to access the same database records or index sets, they collide on locks.

CAUSE

This problem occurs because of the way that Msdtcprx.dll generates the XA Transaction ID (XID). The XID has two parts: a Global Transaction ID (GTRID) and a Branch Qualifier (BQUAL). The XIDs contain three GUIDs. For Microsoft Transaction Server version 2.0, all three GUIDs are located in the GTRID and the BQUAL is empty. However. the first GUID should be in the GTRID and the other two GUIDS in the BQUAL. Therefore, to XA, each connection looks like it is working on a different transaction. By generating the XA XID in the new way, all of the connections work on the same transaction.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Transaction Server version 2.0. A supported fix is now available, but has not been fully regression- tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.

Keywords          : TSrvDTC TSrvXA kbbug2.00
Version           : WinNT:2.0
Platform          : winnt
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.