IBM Support

PH13286: OPTION TO DISABLE ONE PHASE COMMIT OPTIMIZATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Oracle DRDA feature fails with exception:
    
    The XA Error is            : -6
    The XA Error message is    : Routine was invoked in an
    inproper
    context.
    The Oracle Error code is   : 2056
    The Oracle Error message is: Internal XA Error
    
    when 1PC optimization is enabled. With this APAR the 1PC
    optimization can be disabled.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Liberty    *
    *                  users of the transaction service            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Provide a mechanism to disable the one- *
    *                      phase optimization when all resources   *
    *                      but one vote read only.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The transaction service performs a one-phase commit optimization
    when all resources prepared before the final resource vote read-
    only.  This is a performance optimization that avoids an
    additional protocol flow for the final resource and the
    requirement to log the transaction state, however there should
    be a mechanism provided to disable this optimization.
    

Problem conclusion

  • A new Transaction Manager service configuration property has
    been provided to allow the one-phase optimization to be
    disabled.  The name of the property is OnePCOptimization and the
    value is a boolean indicating whether the optimization is
    enabled.  By default the value is true, maintaining the existing
    behaviour and indicating that the optimization is enabled.  The
    optimization can be disabled by setting the property to a value
    of false.
    
    This issue is fixed by Open Liberty GitHub issue 9031. For more
    information, see https://github.com/OpenLiberty/open-
    liberty/issues/9031
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 19.0.0.10.  Please refer to the Recommended Updates page
    for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH13286

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-06-13

  • Closed date

    2020-04-09

  • Last modified date

    2020-04-09

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021