IBM Support

IC70664: WMQ V7 SUBSCRIBER FAILS WITH JMSWMQ0026 WHEN UNSUBSCRIBING AND RE-SUBSCRIBING USING EMPTY SELECTOR STRING ("")

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A WebSphere MQ (WMQ) V7 JMS application using an asynchronous
    session which subscribes to a durable topic receives a
    few messages, then closes using the JMS message consumer
    consumer.close().
    
    The application then subscribes again using
    empty selector string (""). This fails with error:
    
    error: com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0026:
    Failed to subscribe to topic 'A_TOPIC' using MQSUB.
    Error message JMSWMQ0025 Failed to unsubscribe from topic
    'A_TOPIC' using MQCLOSE
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ v7 classes for Java
    Message Service (JMS) that use durable subscribers with message
    selectors.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    The problem occurred while using the empty string as the message
    selector. The MQ JMS Client did not treat an empty string as
    equivalent to null in the case of a durable subscription.
    

Problem conclusion

  • The fix ensures that the empty string and "null" are treated
    equivalent in case of durable subscriptions.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.4
    --------           --------------------
    Windows            U200323
    AIX                U835793
    HP-UX (PA-RISC)    U836458
    HP-UX (Itanium)    U836463
    Solaris (SPARC)    U836459
    Solaris (x86-64)   U836465
    iSeries            tbc_p700_0_1_4
    Linux (x86)        U836460
    Linux (x86-64)     U836464
    Linux (zSeries)    U836461
    Linux (Power)      U836462
    
    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

    IC70664

  • 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

    2010-08-19

  • Closed date

    2010-08-31

  • Last modified date

    2010-08-31

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDEZSF","label":"IBM WebSphere MQ Managed File Transfer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023