IBM Support

PM74832: AFTER APPLYING UK81710 OR UK81711, MDB LISTENERS USING A DURABLESUBSCRIPTION MAY FAIL WITH MQRC_INVALID_SU 12/10/11 PTF PECHANGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After applying UK81710 or UK81711 to MQ, an error may occur
    when processing messages for an Activation Specification or MDB
    listener.
    The failure occurs when the Activation Spec or MDB listener are
    using a durable subscriber and the "clone support" option is
    enabled. When a message arrives on the subscribed topic, an
    error in the checking for the clone support option results in
    the error:
    com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ2008: Failed
    to open MQ queue 'SYSTEM.MANAGED.DURABLE.CA49DEE2011470FB'.  JMS
    attempted to perform an MQOPEN, but WebSphere MQ reported an
    error.  Use the linked exception to determine the cause of this
    error.  Check that the specified queue and queue manager are
    defined correctly.:com.ibm.mq.MQException: JMSCMQ0001: WebSphere
    MQ call failed with compcode '2' ('MQCC_FAILED') reason '2523'
    ('MQRC_INVALID_SUBSCRIPTION').
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of WebSphere MQ for z/OS Version 7 *
    *                 Release 0 Modification 1 and Release 1       *
    *                 Modification 0.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: In WSAS, a subscription can fail with   *
    *                      MQRC 2523 MQRC_INVALID_SUBSCRIPTION,    *
    *                      when an MDB listener is configured to   *
    *                      service a durable subscription, and the *
    *                      connection factory for the listener has *
    *                      "Allow cloned durable subscriptions"    *
    *                      selected.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    PM71101 changed the code path for an spiSubscribe with the
    lpiSDO_Open_Destination option specified.  Causing a check to be
    made on the subscription identity for the subscribe in some
    situations.  However, when lpiSDO_Open_Destination is set a
    subscription identity is not specified and as a result of this
    check a subscription will fail with MQRC 2523
    MQRC_INVALID_SUBSCRIPTION.
    
    In WSAS, for a cloned durable subscription, the MDB listener
    registers the subscription in the control region with an
    spiSubscribe call including lpiSDO_JOIN_SHARED in the subscribe
    options.  Later, when a message arrives on the subscription
    destination queue, a message reference is passed to the servant
    region for processing.  To be able to get the message, the
    destination queue for the subscription needs to be opened.  This
    is done using spiSubscribe with the lpiSDO_OPEN_DESTINATION
    option set (lpiSDO_JOIN_SHARED is not specified on this call).
    A change in the JOIN options is interpreted as an attempt to
    change the subscription - which is allowed only if a
    subscription identity is supplied.  Since the call doesn't
    provide a subscription identity (as lpiSDO_Open_Destination is
    set), the spiSubscribe is rejected with
    MQRC_INVALID_SUBSCRIPTION.
    

Problem conclusion

  • The code has been changed so that the subscription identity is
    not checked if a subscribe has set lpiSDO_Open_Destination.
    010Y
    100Y
    CSQMSUB
    CSQMSUBI
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM74832

  • Reported component name

    WMQ Z/OS V7

  • Reported component ID

    5655R3600

  • Reported release

    010

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-10-11

  • Closed date

    2012-12-11

  • Last modified date

    2013-03-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UK90224 UK90225 IV42169

Modules/Macros

  • CSQMSUB  CSQMSUBI
    

Fix information

  • Fixed component name

    WMQ Z/OS V7

  • Fixed component ID

    5655R3600

Applicable component levels

  • R010 PSY UK90224

       UP13/02/05 P F302 Ø

  • R100 PSY UK90225

       UP13/02/05 P F302 Ø

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 March 2013