IBM Support

IC60496: MEMORY LEAK IN WEBSPHERE MQ V7 JMS APPLICATIONS FOLLOWING A FAILURE TO CONNECT TO A QUEUE MANAGER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Applications using the WebSphere MQ Version 7 classes for Java
    Message Service (JMS) experience a memory leak when they
    repeatedly fail to connect to a queue manager. A heap dump
    collected when the memory leak is occurring shows a build up of
    WMQConnection objects.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects application using the WebSphere MQ Version 7
    classes for JMS.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    When an attempt was made to establish a connection to a queue
    manager, a WMQConnection object was added to a hashmap before
    the connection attempt has completed. If the connection could
    not be created, the WMQConnection was left in the hashmap,
    leading to a memory leak.
    

Problem conclusion

  • The code has been modified to add the WMQConnection into
    the hashmap only if the connection to the queue manager could
    be created. If any errors are encountered when creating the
    creation, the WMQConnection is not added to the hashmap.
    
    ---------------------------------------------------------------
    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

    IC60496

  • 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-03-23

  • Closed date

    2009-03-27

  • Last modified date

    2009-03-27

  • 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:
27 March 2009