IBM Support

PM02025: HANGING THREAD IN JAVA.UTIL.HASHMAP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using WebSphere Portal on WAS 7 in a high load situation,
    threads start hanging in
    java.util.HashMap.findNonNullKeyEntry(). The javacore shows at
    least one thread with the following stack:
    
    3XMTHREADINFO      "WebContainer : 0" TID:0x38398100,
    j9thread_t:0x34B4AA9C, state:CW, prio=5
    3XMTHREADINFO1            (native thread ID:0x1B6099, native
    priority:0x5, native policy:UNKNOWN)
    4XESTACKTRACE          at
    java/util/HashMap.findNonNullKeyEntry(Bytecode PC:56(Compiled
    Code))
    4XESTACKTRACE          at java/util/LinkedHashMap.get(Bytecode
    PC:37(Compiled Code))
    4XESTACKTRACE          at
    com/ibm/wps/state/utils/cache/CacheOnMap.get(CacheOnMap.java:75(
    ompiled Code))
    4XESTACKTRACE          at
    com/ibm/wps/state/utils/cache/ConstructingCache.get(Constructing
    ache.java:108(Compiled Code))
    4XESTACKTRACE          at
    com/ibm/wps/state/keymanager/caching/LRUGroupCacheImpl.getObject
    (LRUGroupCacheImpl.java:407(Compiled Code))
    4XESTACKTRACE          at
    com/ibm/wps/state/keymanager/KeyManagerImpl.reset(KeyManagerImpl
    java:108(Compiled Code))
    

Local fix

Problem summary

  • When using WebSphere Portal on WAS 7 in a high load situation,
    threads start hanging in
    java.util.HashMap.findNonNullKeyEntry(). The javacore shows at
    least one thread with the following stack:
    
       3XMTHREADINFO      "WebContainer : 0" TID:0x38398100,
       j9thread_t:0x34B4AA9C, state:CW, prio=5
       3XMTHREADINFO1            (native thread ID:0x1B6099, native
       priority:0x5, native policy:UNKNOWN)
       4XESTACKTRACE          at
       java/util/HashMap.findNonNullKeyEntry(Bytecode PC:56(Compiled
       Code))
       4XESTACKTRACE          at
    java/util/LinkedHashMap.get(Bytecode
       PC:37(Compiled Code))
       4XESTACKTRACE          at
    
    com/ibm/wps/state/utils/cache/CacheOnMap.get(CacheOnMap.java:75(
    Compiled Code))
       4XESTACKTRACE          at
    
    com/ibm/wps/state/utils/cache/ConstructingCache.get(Constructing
       ache.java:108(Compiled Code))
       4XESTACKTRACE          at
    
    com/ibm/wps/state/keymanager/caching/LRUGroupCacheImpl.getObject
       (LRUGroupCacheImpl.java:407(Compiled Code))
       4XESTACKTRACE          at
    
    com/ibm/wps/state/keymanager/KeyManagerImpl.reset(KeyManagerImpl
       java:108(Compiled Code))
    

Problem conclusion

  • By synchronizing the key manager, this code has now become
    thread-safe.
    
    Manual Steps:
       None
    
    Failing Module(s):
       Engine: State handling
    
    Affected Users:
       All users
    
    Version Information:
        Portal Version(s): 6.1.0.1
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
        Portal Version(s): 6.1.0.2
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
    Platform Specific:
       This fix applies to all platforms.
    
    A fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PM02025&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM02025

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-25

  • Closed date

    2009-12-22

  • Last modified date

    2009-12-22

  • 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 PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R61A PSY

       UP

  • R61B PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.1","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
20 December 2021