IBM Support

PK79895: JAVA.LANG.OUTOFMEMORYERROR OOM ERRORS DUE TO A LARGE HASHMAP IN COM/IBM/WS/SM/WORKSPA CE/IMPL/WORKSPACEIMPL

Fixes are available

7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for AIX
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for IBM i
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Windows
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for HP-UX
7.0.0.5: Java SDK 1.6 SR5 Cumulative Fix for WebSphere Application Server
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Solaris
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Linux
Java SDK 1.5 SR10 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for IBM i
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for AIX
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Windows
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for HP-UX
7.0.0.7: Java SDK 1.6 SR6 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Solaris
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Linux
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
6.1.0.29: Java SDK 1.5 SR11 Cumulative Fix for WebSphere Application Server
6.1.0.31: Java SDK 1.5 SR11 FP1 Cumulative Fix for WebSphere Application Server
6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
6.1.0.35: Java SDK 1.5 SR12 FP2 Cumulative Fix for WebSphere
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
Obtain the fix for this APAR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a "Security Configuration Report" is generated via the
    Admin Console, java.lang.OutOfMemoryError errors maybe seen in
    the Deployment Manager Servant region or Base Application Server
    Servant region.
    
    The .phd file will show the following leak suspect, which is a
    large HashMap of held by the
    com/ibm/ws/sm/workspace/impl/WorkSpaceImpl object:
    .
    376,609,488 (76%) [312] 1 class
    com/ibm/ws/sm/workspace/WorkSpaceManagerFactory 0x4dff61e0
     376,609,176 (76%) [40] 4
    com/ibm/ws/sm/workspace/impl/WorkSpaceManagerImpl 0x2d0b7a48
      376,609,120 (76%) [32] 2 java/util/Collections$SynchronizedMap
    0x2d0b7aa0
       376,609,088 (76%) [48] 1 java/util/HashMap 0x2d0b7a70
        376,609,040 (76%) [1,456] 360 array of
    java/util/HashMap$Entry 0x478a3998
         2,734,784 (0%) [32] 3 java/util/HashMap$Entry 0x3fd91670
          1,823,184 (0%) [32] 3 java/util/HashMap$Entry 0x36ac4f98
          911,568 (0%) [80] 14
    com/ibm/ws/sm/workspace/impl/WorkSpaceImpl 0x3fd913f8
          112 (0%) [32] 1 java/lang/String 0x3c4c62a8
         2,734,784 (0%) [32] 3 java/util/HashMap$Entry 0x3e222760
         2,734,768 (0%) [32] 3 java/util/HashMap$Entry 0x39864528
         2,734,728 (0%) [32] 3 java/util/HashMap$Entry 0x3652e2b8
         2,734,720 (0%) [32] 3 java/util/HashMap$Entry 0x355a1d90
         2,734,680 (0%) [32] 3 java/util/HashMap$Entry 0x357e5840
         2,734,512 (0%) [32] 3 java/util/HashMap$Entry 0x4754e150
         2,734,504 (0%) [32] 3 java/util/HashMap$Entry 0x49036750
         2,734,464 (0%) [32] 3 java/util/HashMap$Entry 0x47865340
         2,513,032 (0%) [32] 3 java/util/HashMap$Entry 0x30557b38
         1,823,240 (0%) [32] 3 java/util/HashMap$Entry 0x419e6c68
         1,823,208 (0%) [32] 3 java/util/HashMap$Entry 0x387e3258
         1,823,200 (0%) [32] 3 java/util/HashMap$Entry 0x3f6f8aa8
    .
    To confirm this is the problem please reproduce the issue with
    the following trace:
    com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl=all=enabled
    
    The following trace point will show how createWorkSpace getting
    called:
    .
     Trace: 2009/01/08 12:02:52.602 01 t=8CBE00 c=UNK key=P8
    (13007002)
       ThreadId: 00000044
       FunctionName:
    com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl
       SourceId: com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl
       Category: FINEST
       ExtendedMessage: Call stack info of createWorkSpace(prop):
    
    com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl.getCallStack(W
    orkSpaceManagerImpl.java:380)
    
    com.ibm.ws.sm.workspace.impl.WorkSpaceManagerImpl.createWorkSpac
    e(WorkSpaceManagerImpl.java:102)
    ............. and so on
    
    By looking at the stack trace from the above trace point we
    observed createWorkSpace being called from the following
    security code:
    ListManagementScopes.java
    ListKeyStores.java
    ListPersonalCertificates.java
    ListSignerCertificates.java
    
    As well as seeing the above createWorkSpace calls, the
    WAS_HOME/profiles/default/wstemp/ directory will contain many
    directories named anonymous* such as below:
    
    anonymous1233674535300
    anonymous1233674535519
    anonymous1233674535740
    ... etc
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V6.1                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a "Security Configuration          *
    *                      Report" is generated via the            *
    *                      Admin Console,                          *
    *                      java.lang.OutOfMemoryError errors       *
    *                      maybe seen in                           *
    *                      the Deployment Manager                  *
    *                      or Base Application Server.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WebSphere Application Server was not properly setting the
    session for the generation of the Security Configuration Report.
    

Problem conclusion

  • WebSphere Application Server has been modified to correctly
    set the session when generating the Security Configuration
    Report.
    
    APAR PK79895 is currently targeted for inclusion in Service
    Level (Fix Pack) 6.1.0.27 of WebSphere Application Server V6.1.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK79895

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-03

  • Closed date

    2009-04-22

  • Last modified date

    2009-10-03

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

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

    PK90272

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R610 PSY UK49671

       UP09/09/21 P F909

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"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":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 December 2021