IBM Support

PI53471: Extended Unit of Work API may not throw errors back to the appli cation when they occur during transaction end processing.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the Unit of Work Manager, a Unit of Work may not
    throw errors back to the application when they occur during
    transaction completion - for example, if a resource drops
    out of the transaction during commit processing, the
    application may not be thrown an exception to indicate this
    event.  This is contrary to the published API documentation,
    and may lead the application to believe a Unit of Work has
    been successful when it has in fact been rolled back.
    
    Note that this issue only occurs when using the
    UOWManager.runUnderUOW(int uowType, boolean join,
    ExtendedUOWAction uowAction, Class<?>[] rollbackOn,
    Class<?>[] dontRollbackOn) method. runUnderUOW methods with
    different signatures are not affected.
    
    Users may be experiencing this issue if they are seeing
    RollbackException or SystemException FFDCs originating in
    the runUnderUOW method, and which are not being reflected by
    corresponding failures in their application.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the new Unit of Work API methods   *
    *                  added in IBM WebSphere Application Server   *
    *                  Liberty Profile 8.5.5.6                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Extended Unit of Work API may not throw *
    *                      errors back to the application when     *
    *                      they occur during transaction end       *
    *                      processing.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the Unit of Work Manager, a Unit of Work may not
    throw errors back to the application when they occur during
    transaction completion - for example, if a resource drops out of
    the transaction during commit processing, the application may
    not be thrown an exception to indicate this event.  This is
    contrary to the published API documentation, and may lead the
    application to believe a Unit of Work has been successful when
    it has in fact been rolled back.
    
    Note that this issue only occurs when using the
    UOWManager.runUnderUOW(int uowType, boolean join,
    ExtendedUOWAction uowAction, Class<?>[] rollbackOn, Class<?>[]
    dontRollbackOn) method. runUnderUOW methods with different
    signatures are not affected.
    
    Users may be experiencing this issue if they are seeing
    RollbackException or SystemException FFDCs originating in the
    runUnderUOW method, and which are not being reflected by
    corresponding failures in their application.
    

Problem conclusion

  • The code was erroneously ignoring some exceptions during
    transaction end processing. The code has been changed to wrap
    the exception in a UOWException and rethrow it.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.9.  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

    PI53471

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-02

  • Closed date

    2015-12-16

  • Last modified date

    2015-12-16

  • 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

  • R855 PSY

       UP

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

Document Information

Modified date:
28 April 2022