IBM Support

PI36870: MEMORY LEAK WHEN "_" CHARACTER USED IN JMS CONNECTION FACTORY NAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After an upgrade to fixpack 8.5.5.3 or above, memory growth
    seen leading to an OutOfMemmory error or slow performance due
    to excessive time spent in garbage collection.
    This could also appear to be a hang.
    
    Analysis of a heap dump shows a large number of
       com/ibm/ejs/j2c/J2CGlobalConfigProperties
    objects in the heap.
    
    
    This occurs when the "_" character is used in a JMS connection
    factory name.
    During the cleanup of the connection pool associated with
    a JMSManagedConnection, an equality check fails
    resulting in skipping the de-registration.
    Basically the comparison of cfDetailsKey and cfKey are not
    matching. The J2CGlobalConfigProperties objects are not
    getting de-registered from the diagnostic AlertConfig.
    

Local fix

  • Remove the "_" character from the JMS connection factory JNDI
    name
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: JMS Connection factory not destroyed    *
    *                      when their name contain "_" character   *
    *                      and can lead to memory leak.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Apar PI09343 added the delimiter "_" in the connection factory
    long key used internally in the J2C code for parsing and
    extracting the connection factory key from a long key. So if
    the connection factory jndi name defined contains a underscore
    "_" already,  then it affected the parsing which prevents the
    cleanup of the connection factory that can lead to memory
    leaks. This APAR addresses this issue by using appropriate
    delimeter in the J2C code to handle the parsing and cleanup of
    the J2C connection factories.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI36870

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-13

  • Closed date

    2015-06-08

  • Last modified date

    2015-06-08

  • 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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022