IBM Support

PH49341: A RACE CONDITION OF TRANSACTION TIMEOUT COULD LEAVE AN INDOUBT TRANSACTION AT RM SIDE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When a transaction timeout happens, there is a race condition
    where the XA resoruce is disassociated from the transaction
    before the actual abort. Thus, the abort processing doesn't
    cleanup the pending transaction at RM side.
    
    Liberty 21.0.0.11
    JDBC driver Name: Microsoft JDBC Driver 7.2 for SQL Server
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty using xa resources           *
    ****************************************************************
    * PROBLEM DESCRIPTION: A race condition of a transaction       *
    *                      timeout could lave an indoubt           *
    *                      transaction using the Microsoft JDBC    *
    *                      driver 7.2.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If indoubt transactions are occurring and the Microsoft JDBC
    driver 7.2 is being used, a boolean value was changed to an
    AtomicBoolean to fix the race condition.
    

Problem conclusion

  • The race condition during the transaction timeout is fixed by
    changing the boolean value to an AtomicBoolean.  Indoubt
    transactions still can occur during system outages.  This fix
    is mainly for when transaction timeouts are occurring leaving
    transaction indoubt when using the Microsoft JDBC driver.
    
    The fix for this APAR is targeted for inclusion in fix pack
    22.0.0.11. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH49341

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-07

  • Closed date

    2022-11-22

  • Last modified date

    2022-11-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 November 2022