IBM Support

IC60983: WEBSPHERE MQ V7 JAVA APPLICATIONS RETURN INCORRECT ERROR WHEN THE WRONG QUEUE OPEN OPTIONS ARE SPECIFIED FOR GET OR BROWSE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a WebSphere MQ V7 application using either the classes for
    Java or classes for Java Message Service (JMS) attempts to
    receive or browse a message from a queue and does not specify
    either input or browse for the queue open options, it receives
    an MQRC 2195 (MQRC_UNEXPECTED_ERROR) instead of the expected
    MQRC 2037 (MQRC_NOT_OPEN_FOR_INPUT) or MQRC 2036
    (MQRC_NOT_OPEN_FOR_BROWSE).
    
    If sharing conversations is disabled for the channel being used
    by the application, the correct error code is returned.
    

Local fix

  • To workaround issues with Shared connections, it is possible
    to disable the shared conversation functionality and revert
    to previous behavior by setting the maximum allowed
    conversations on the channel to 0, or altering the property
    on the JMS connection factory
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects WebSphere MQ applications using either the
    classes for Java or classes for JMS that receive/browse
    messages from a queue and do not specify the correct open
    options.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    When a WebSphere MQ application using either the classes for
    Java or classes for JMS tried to get or browse messages on a
    queue and has specified incorrect open options, the queue
    manager correctly returned the appropriate error. However, when
    sharing conversations were enabled on the channel being used by
    the application, the classes for Java and classes for JMS were
    unable to correctly receive the response from the queue
    manager, and returned a MQRC 2195 to the application.
    

Problem conclusion

  • The WebSphere MQ classes for Java and classes for JMS have been
    updated to check the open options specified before issuing a
    get or browse call to the queue manager, and return the correct
    error to the application.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.0
    --------           --------------------
    Windows            U200306
    AIX                U823774
    HP-UX (PA-RISC)    U823665
    HP-UX (Itanium)    U823667
    Solaris (SPARC)    U823772
    Solaris (x86-64)   U824344
    iSeries            tbc_p700_0_1_0
    Linux (x86)        U823664
    Linux (x86-64)     U823773
    Linux (zSeries)    U823668
    Linux (Power)      U823666
    
    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

    IC60983

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-30

  • Closed date

    2009-05-29

  • Last modified date

    2009-05-29

  • 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 WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R700 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","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 May 2009