IBM Support

IV45242: WMQ V7.0.1.X JAVA CLIENT APPLICATION GETS A '2349' REASON CODE WHEN TRYING TO PROCESS A MESSAGE HEADER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exceptions are reported when trying to
    process a message header from a WMQ v7.0.1.x java
    client:
    .
    [0x4665ba4] Exception caught [idx=2]:
    java.lang.RuntimeException: java.lang.RuntimeException:
    com.ibm.mq.headers.MQDataException: MQJE001: Completion
    code '1' Reason Code '2349'
    .
    [0x4665ba4] Failed to parse the message header list while
    retrieving properties: java.lang.RuntimeException:
    java.lang.RuntimeException:
    com.ibm.mq.headers.MQDataException: MQJE001: Completion
    code '1' Reason Code '2349'
    .
    MQRC 2349 (MQRC_CF_STRUC_ERROR) is incorrect. WMQ should
    return an MQRC 2142 (MQRC_HEADER_ERROR) indicating that
    there is a problem validating the header in the message.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ (WMQ) V7.0.1
    classes for Java client.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java +Java zOS
    ****************************************************************
    PROBLEM SUMMARY:
    When an error occurred in validating a Header within an MQ
    Message the following exception was returned to the application
    regardless of the platform of the client or server:
    
    java.lang.RuntimeException:
    com.ibm.mq.headers.MQDataException: MQJE001: Completion
    code '1' Reason Code '2349'
    
    The reason code was set to 2349 which means MQRC_CF_STRUC_ERROR
    and is specific to operations on a z/OS Queue Manager. This
    reason code was incorrect and it should have been 2142 which
    means MQRC_HEADER_ERROR.
    

Problem conclusion

  • This APAR solves the issue and now correct returns a
    RuntimeException containing an MQDataException with the reason
    code of '2142' indicating a problem with validating the Header
    in the MQ Message.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following:
    
                       v7.0
    Platform           Fix Pack 7.0.1.11
    --------           --------------------
    Windows            7.0.1.11
    AIX                7.0.1.11
    HP-UX (PA-RISC)    7.0.1.11
    HP-UX (Itanium)    7.0.1.11
    Solaris (SPARC)    7.0.1.11
    Solaris (x86-64)   7.0.1.11
    iSeries            7.0.1.11
    Linux (x86)        7.0.1.11
    Linux (x86-64)     7.0.1.11
    Linux (zSeries)    7.0.1.11
    Linux (Power)      7.0.1.11
    zOS                7.0.1.11
    
    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

    IV45242

  • Reported component name

    WMQ AIX V7

  • Reported component ID

    5724H7221

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-08

  • Closed date

    2013-07-26

  • Last modified date

    2013-08-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

    WMQ AIX V7

  • Fixed component ID

    5724H7221

Applicable component levels

  • R701 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 August 2013