IBM Support

IT28639: Multi-threaded MQ client application on Windows hangs in MQCONNX

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A multi-threaded MQ application on Windows hangs in MQCONNX.
    Before this, it may be observed that another thread has exited
    without performing MQCLOSE and MQDISC processing.
    

Local fix

  • 1. Ensure that all child threads terminate correctly by closing
    MQ resources with MQCLOSE and MQDISC.
    2. Set the client channel definition to use SHARECNV(0)
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of WebSphere MQ on Windows with multi-threaded client
    applications.
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If a child thread in an application terminates abnormally with
    an MQDISC, any threads which are started subsequently hang
    during the MQCONNX request.
    The subsequent MQCONNX request was waiting for the previous
    thread which was no longer available.
    

Problem conclusion

  • The MQ client code for Windows has been changed to recognize
    that a child thread has terminated abnormally and no longer
    wait.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 CD    9.1.3
    v9.1 LTS   9.1.0.2
    
    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

    IT28639

  • Reported component name

    IBM MQ BASE MP

  • Reported component ID

    5724H7271

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-02

  • Closed date

    2019-04-03

  • Last modified date

    2019-04-03

  • 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

    IBM MQ BASE MP

  • Fixed component ID

    5724H7271

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
03 April 2019