IBM Support

PK90343: A DEADLOCK MAY OCCUR DURING SERVANT STARTUP WHEN WRITING AN FFDC DUE TO THE CLASSLOADER'S INSPECTION OF JAR 09/08/31 PTF PECHANGE

Fixes are available

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
PK90343: A deadlock may occur during server startup
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

  • The servant hangs while starting up due to a deadlock in the
    startup threads in the websphere servant JVM. A javacore of the
    servant shows the following:
    
    1LKDEADLOCK    Deadlock detected !!!
                   ---------------------
    2LKDEADLOCKTHR  Thread "server.startup : 2"
    3LKDEADLOCKWTR    is waiting for:
    4LKDEADLOCKMON      sys_mon_t:0x1ACD1DE8 infl_mon_t:
               com/ibm/ws/bootstrap/WsLogManager@1EC5FC50/1EC5FC5C:
    3LKDEADLOCKOWN    which is owned by:
    2LKDEADLOCKTHR  Thread "Thread-18" (0x53989800)
    3LKDEADLOCKWTR    which is waiting for:
    4LKDEADLOCKMON      sys_mon_t:0x532C7A70 infl_mon_t: 0x532C7AB0:
    4LKDEADLOCKOBJ      java/util/HashMap@30668500/3066850C:
    3LKDEADLOCKOWN    which is owned by:
    2LKDEADLOCKTHR  Thread "server.startup : 2" (0x53778500)
    
    The partial traceback of "server.startup: 2" is:
    at java/util/logging/LogManager.access$900
    at java/util/logging/LogManager$RootLogger.getHandlers
    at java/util/logging/Logger.log
    at com/ibm/ws/logging/WsLogger.deliverOrBuffer
    at com/ibm/ws/logging/WsLogger.log
    at com/ibm/ws/logging/WsLogger.logp
    at com/ibm/ws/ffdc/IncidentStreamImpl.initialize
    at com/ibm/ws/ffdc/IncidentStreamManager.getIncidentStream
    at com/ibm/ws/ffdc/DiagnosticEngine.processIncident
    at com/ibm/ws/ffdc/FFDCFilter.filterEngine
    at com/ibm/ws/ffdc/FFDCFilter.processException
    atcom/ibm/ws/classloader/SinglePathClassProvider.
    buildContentsCache
    .
    .
    at com/ibm/ws/classloader/ClassLoaderManager.initialize
    at com/ibm/ws/classloader/ClassLoaderManager.<init>
    at com/ibm/ws/runtime/component/DeployedApplicationImpl.start
    .
    .
    com/ibm/wsspi/runtime/component/
    WsComponentImpl$_AsynchInitializer.run
    com/ibm/ws/util/ThreadPool$Worker.run
    
    The partial traceback for "Thread-18" is
    
    at com/ibm/ws/classloader/SinglePathClassProvider.openZipFile
    at com/ibm/ws/classloader/SinglePathClassProvider.openZipFile
    at com/ibm/ws/classloader/SinglePathClassProvider.access$200
    at com/ibm/ws/classloader/SinglePathClassProvider$3.run
    at com/ibm/ws/security/util/AccessController.doPrivileged
    at com/ibm/ws/classloader/SinglePathClassProvider.getResource
    at com/ibm/ws/classloader/CompoundClassLoader.findResources
    at java/lang/ClassLoader.getResources
    at com/ibm/ws/logging/WsLoggerConfigurator$3.run
    at com/ibm/ws/security/util/AccessController.doPrivileged
    at com/ibm/ws/logging/WsLoggerConfigurator.getResources
    at com/ibm/ws/logging/WsLoggerConfigurator.
    getCurrentLoggingConfiguration
    at com/ibm/ws/logging/WsLoggerConfigurator.
    getLoggerConfiguration
    at com/ibm/ws/logging/WsLoggerConfigurator.configureLogger
    .
    .
    at com/ibm/ws/wswebcontainer/webapp/WebGroup.addWebApplication
    at com/ibm/ws/wswebcontainer/VirtualHost.addWebApplication
    at com/ibm/ws/wswebcontainer/WebContainer.addWebApp
    at com/ibm/ws/wswebcontainer/WebContainer.run
    at java/lang/Thread.run
    
    PK72252 that shipped in 6.1.0.23, 7.0.0.3, and 6.0.2.33
    introduced a zipfile cache in the websphere runtime code to
    improve performance.  The possible deadlock occurs in this new
    code.  This apar will address this problem.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The server may hang on                  *
    *                      server or application startup.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    On Application Server startup, application jars are loaded and
    put in a global cache to reduce the frequency of opening and
    closing jar files. To maintain the consistency of the global
    cache, access is restricted to one thread at a time. Attempts
    to log messages and errors while the global cache has been
    locked may cause a deadlock.
    

Problem conclusion

  • The class loading code has been changed to delay the logging of
    messages and errors until the global cache has been unlocked.
    
    APAR PK90343 is currently targeted for inclusion in Service
    Level (Fix Pack) 6.1.0.29 of WebSphere Application Server V6.1
    of the WebSphere Plugin.
    
    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

    PK90343

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-01

  • Closed date

    2009-09-17

  • Last modified date

    2010-02-01

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

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

    PK90660 PK94344 PK97291

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R610 PSY UK53194

       UP10/01/15 P F001 {

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