IBM Support

PM37328: ORG.APACHE.COMMONS.LOGGING.LOGFACTORY RETAINING A REFERENCE TO AN SCACLASSLOADER CAUSING OOM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Product Release and Version Information: WebSphere Application
    Server Base Version 7.0 with Feature Pack for Service Component
    Architecture (SCA) V1.0.1.
    
    Problem Description:
    
    The org.apache.commons.logging.LogFactory is retaining a
    reference to an SCAClassLoader which results in an out of
    memory error.
    

Local fix

  • Local Fix/Work Around: None
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with Feature Pack for Web            *
    *                  Services and Feature Pack for Service       *
    *                  Component Architecture (SCA)                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Out of memory error caused by           *
    *                      org.apache.commons.logging.LogFactory   *
    *                      retaining a reference to an             *
    *                      SCAClassLoader.                         *
    ****************************************************************
    *                  * RECOMMENDATION:  Install a fixpack containi
    ****************************************************************
    An out of memory error might occur when WebSphere Application
    Server is used in conjunction with Feature Pack for Service
    Component Architecture (SCA).  The heapdumps show that
    org.apache.commons.logging.LogFactory is retaining a reference
    to an SCAClassLoader.
    The problem occurs because LogFactory contains a strong
    reference to the classLoader in its internal cache.  The cache
    is not cleared when the application stops, and the strong
    reference prevents the cache from being freed by the
    garbage collector.  This results in a memory leak.
    

Problem conclusion

  • The LogFactory code is corrected to use weak references to the
    classloader in its internal cache.  This allows garbage
    collection of the cache to proceed when the application is
    stopped.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 6.1.0.41.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37328

  • Reported component name

    WEBSERVIC FEATU

  • Reported component ID

    5724J0850

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-19

  • Closed date

    2011-07-07

  • Last modified date

    2011-07-07

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

    PM36842

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

Fix information

  • Fixed component name

    WEBSERVIC FEATU

  • Fixed component ID

    5724J0850

Applicable component levels

  • R610 PSY

       UP

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

Document Information

Modified date:
27 October 2021