IV27891: NoSuchElementException thrown when JMS subscriber uses a greater-than symbol in the message selector.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The user is running a WebSphere MQ V6 JMS application, or a V7
    JMS application using PROVIDERVERSION=6. The application is
    using BROKERVERSION 2 (MQJMS_BROKER_V2).
    
    When a JMS TopicSubscriber attempts to open a durable
    subscription specifying a message selector which contains a
    greater-than symbol the following error is thrown:
    
    java.util.NoSuchElementException
    at
    java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
    at
    com.ibm.msg.client.wmq.v6.jms.internal.RFH2BrokerMessageImpl.
    parsePubSubFolder(RFH2BrokerMessageImpl.java:635)
    ....
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of WebSphere MQ V6 JMS applications, or V7 JMS
    applications using PROVIDERVERSION=6, also BROKERVERSION=2 (for
    compatibility with previous implementations using WebSphere
    Message Broker V6), and the application is subscribing using a
    selector string.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows)
    ****************************************************************
    PROBLEM SUMMARY:
    WebSphere MQ V7.0.1 includes a publish/subscribe broker
    capability for compatibility with WebSphere Message Broker V6
    publish/subscribe applications.
    
    These applications use MQRFH2 data structures to pass commands
    to the broker, and receive replies.
    
    The user subscribed to a topic, specifying a selector string.
    The selector string contained some symbols that can be escaped
    using escape sequences, as per the WebSphere Message Broker V6
    documentation, and the WebSphere MQ Application Programming
    Reference documentation.  The symbols were correctly
    interpreted by the queue manager but when a reply was sent to
    the application, the characters were not being escaped.
    
    The application failed to process the reply from the queue
    manager, and failed the subscribe operation.
    

Problem conclusion

  • The queue manager product code has been changed to ensure that
    escaping of special characters is the same as in WebSphere
    Message Broker V6.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.10
    --------           --------------------
    Windows            U200352
    AIX                U853055
    HP-UX (PA-RISC)    U853082
    HP-UX (Itanium)    U853087
    Solaris (SPARC)    U853083
    Solaris (x86-64)   U853089
    iSeries            7.0.1.10
    Linux (x86)        U853084
    Linux (x86-64)     U853088
    Linux (zSeries)    U853085
    Linux (Power)      U853086
    
                       v7.1
    Platform           Fix Pack 7.1.0.3
    --------           --------------------
    Windows            7.1.0.3
    AIX                7.1.0.3
    HP-UX (Itanium)    7.1.0.3
    Solaris (SPARC)    7.1.0.3
    Solaris (x86-64)   7.1.0.3
    iSeries            7.1.0.3
    Linux (x86)        7.1.0.3
    Linux (x86-64)     7.1.0.3
    Linux (zSeries)    7.1.0.3
    Linux (Power)      7.1.0.3
    
    Platform           v7.5
    --------           --------------------
    Multiplatforms     7.5.0.1
    
    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

    IV27891

  • Reported component name

    WMQ SOL SPARC

  • Reported component ID

    5724H7223

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-12

  • Closed date

    2012-10-25

  • Last modified date

    2012-10-25

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

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

    PM75846

Fix information

  • Fixed component name

    WMQ SOL SPARC

  • Fixed component ID

    5724H7223

Applicable component levels

  • R701 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere MQ
APAR / Maintenance

Software version:

7.0.1

Reference #:

IV27891

Modified date:

2012-10-25

Translate my page

Machine Translation

Content navigation