IBM Support

IZ31185: MESSAGE IS NOT ROLLED BACK WHEN RUNTIME EXCEPTION IS THROWN FROM ONMESSAGE() WHEN USING THE WEBSPHERE MQ V6 RESOURCE ADAPTER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the WebSphere MQ Version 6 Resource Adapter within
    a J2EE 1.4 compliant application server, messages are not being
    rolled back if a message-driven bean's onMessage() method
    throws a runtime exception. The messages are being consumed
    instead.
    
    When the runtime exception is thrown from onMessage(), the
    following warning message will be seen in the application
    server's log file:
    
    MQJCA4004: Message delivery to an MDB failed. See the linked
    exception for details.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ Version 6 resource
    adapter.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    The WebSphere MQ Version 6 resource adapter swallowed up the
    RuntimeException thrown from the message-driven bean's onMessage
    () method, rather than allowing it to reach the application
    server. This meant that the server thought the message had been
    consumed successfully, and did not attempt to roll back the
    transaction in which the message was processed.
    

Problem conclusion

  • The resource adapter has been changed to allow any Runtime
    Exceptions thrown from onMessage() to propagate back up to the
    application server.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v6.0
    Platform           Fix Pack 6.0.2.6
    --------           --------------------
    Windows            U200299
    AIX                U819350
    HP-UX (PA-RISC)    U819028
    HP-UX (Itanium)    U819230
    Solaris (SPARC)    U819232
    Solaris (x86-64)   U819240
    iSeries            tbc_p600_0_2_6
    Linux (x86)        U818989
    Linux (x86-64)     U819234
    Linux (zSeries)    U819231
    Linux (Power)      U819029
    Linux (s390x)      U819233
    
    The latest available maintenance can be obtained from
    'Websphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available, information on
    its planned availability can be found in 'Websphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ31185

  • Reported component name

    WMQ LIN X86 V6

  • Reported component ID

    5724H7204

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-09-03

  • Closed date

    2008-09-22

  • Last modified date

    2009-03-10

  • 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

    WMQ LIN X86 V6

  • Fixed component ID

    5724H7204

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023