IBM Support

PK84748: WMSG0031E EXCEPTION PROCESSING JMS MESSAGE FOR MDB; A ROLLBACK (WLTC0032W) MAY BE SEEN DURING CLEANUP OF THE LOCAL TRANSACTION

Fixes are available

7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for AIX
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for IBM i
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Windows
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for HP-UX
7.0.0.5: Java SDK 1.6 SR5 Cumulative Fix for WebSphere Application Server
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Solaris
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Linux
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for IBM i
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for AIX
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Windows
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for HP-UX
7.0.0.7: Java SDK 1.6 SR6 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Solaris
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Linux
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
Obtain the fix for this APAR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The problem occurs for bean-managed transactions, with
    message-driven beans listening against a queue on a WebSphere MQ
    queue manager via a listener port, with an RRS enabled
    connection factory on z/OS.  The WebSphere Application Server
    messaging code is failing to inform the transaction manager that
    the consumption of the message by the listener port should occur
    under RRS transaction coordination.
    
    Following warning/exception messages may be seen:
    
    BBOO0221W: WLTC0032W: One or more local transaction resources
    were rolled back during the cleanup of a
    LocalTransactionContainment.
    
    BBOO0221W: WMSG0031E: Exception processing JMS Message for MDB
    MDBTestBean, JMSDestination jms/JMSTestDestination
     2_QueueDest : javax.ejb.TransactionRolledbackLocalException:  ;
    nested exception is:
    com.ibm.websphere.csi.CSITransactionRolledbackException
    

Local fix

  • N/A.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM WebSphere Application Server   *
    *                  V7.0 using WebSphere MQ as a messaging      *
    *                  provider                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Message-driven bean (MDB) applications  *
    *                      using bean managed transactions fail    *
    *                      to consume messages, when listening to  *
    *                      a WebSphere MQ queue via a listener     *
    *                      port.                                   *
    *                      A TransactionRolledbackLocalException   *
    *                      might be thrown committing the          *
    *                      transaction, and the messages return    *
    *                      to the queue when the application       *
    *                      server is shut down.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The listener port code does not inform the transaction manager
    that RRS coordinated work is performed within WebSphere MQ by
    the listener port. This is required due to an optimization in
    WebSphere Application Server Version 7.0 that defers some
    native processing until an RRS enabled resource is enlisted in
    the local transaction context.
    The failure to inform the transaction manager of the RRS
    involvement results in a TransactionRolledbackLocalException
    exception being thrown while committing the application's
    bean-managed transaction. The transaction is rolled back.
    The TransactionRolledbackLocalException exception is only
    observed for a BINDINGS transport WebSphere MQ connection.
    
    In addition, the transasction that consumed the message within
    WebSphere MQ is left uncommitted by the listener port.
    This causes all messages consumed from the WebSphere MQ
    destination to be rolled back when the application server is
    terminated. This is caused by the WebSphere MQ Version 7.0
    resource adapter silently ignoring a call to acknowledge a
    message when the JMS ServerSession is incorrectly configured
    in AUTO_ACKNOWLEDGE mode.
    Previous versions of WebSphere MQ translated the
    acknowledgement into an MQCMIT action, even though the
    acknowledge mode was set incorrectly.
    The manual acknowledgement of a message by the listener port
    is only performed on z/OS.
    The rollback of messages on application server shut down can
    be observed for a CLIENT or BINDINGS transport WebSphere MQ
    Connection.
    

Problem conclusion

  • The fix for this APAR allows a message listener to correctly
    invoke an MDB from a WebSphere MQ queue with a bean-managed
    transaction context on z/OS.
    
    The fix causes the listener port to inform the transaction
    manager that the consume of the message will be performed
    using an RRS coordinated local transaction, when the connection
    uses a BINDINGS transport on z/OS.
    
    The fix also causes the listener port to establish the
    ServerSession in CLIENT_ACKNOWLEDGE mode on z/OS, so that the
    MQCMIT is performed as part of message acknowledgement in the
    WebSphere MQ Version 7.0 resource adapter.
    
    APAR PK84748 is currently targeted for inclusion in Service
    Level (Fix Pack) 7.0.0.5 of IBM WebSphere Application Server.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK84748

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-15

  • Closed date

    2009-06-01

  • Last modified date

    2009-08-03

  • 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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK48200

       UP09/07/27 P F907

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2021