IBM Support

PM51742: APPLICATION SERVER HANGS DURING STARTUP WHEN DYNATRACE IS ENABLED.

Fixes are available

8.0.0.3: WebSphere Application Server V8.0 Fix Pack 3
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
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
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
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

  • Application Server hangs during startup when Dynatrace is
    enabled.  A javacore shows the main thread in a blocked state:
    
    
    "main" J9VMThread:0x0000000808758B00,
    j9thread_t:0x0000000808745420,
    java/lang/Thread:0x0000000827F03330, state:B, prio=5
    (native thread ID:0x141EC300, native priority:0x5, native
    policy:UNKNOWN)
    Java callstack:
    at
    java/util/logging/Logger.getLoggerWithRes(Logger.java:345)
    at java/util/logging/Logger.getLogger(Logger.java:373)
    at com/ibm/ejs/ras/Tr.<clinit>(Tr.java:308)
    at java/lang/J9VMInternals.initializeImpl(Native
    Method)
    
    and it appears it's the Main thread's Logger object is waiting
    for the following lock owned by the dtmetricstimer thread:
    
    2LKMONINUSE      sys_mon_t:0x000000080B277000 infl_mon_t:
    0x000000080B277070:
    3LKMONOBJECT
    com/ibm/ws/bootstrap/WsLogManager@0x000000082EE564D0/0x000000082
    EE564E8:
    Flat locked by "dtmetricstimer" (0x0000000808811300), entry
    count 6
    3LKWAITERQ            Waiting to enter:
    3LKWAITER                "main" (0x0000000808758B00)
    
    The dtmetricstimer thread is in a wait condition and it appears
    to never time out:
    
    "dtmetricstimer" J9VMThread:0x0000000808811300,
    j9thread_t:0x0000000808983410,
    java/lang/Thread:0x0000000828005D38,
    state:CW, prio=5
    (native thread ID:0x14283100, native priority:0x5, native
    policy:UNKNOWN)
    Java callstack:
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:167(Compiled
    Code))
    at
    java/lang/J9VMInternals.initialize(J9VMInternals.java:130(Compil
    ed
    Code))
    at
    com/ibm/ws/logging/WsLogger.registerTraceComponent(WsLogger.java
    :900)
    at com/ibm/ws/logging/WsLogger.<init>(WsLogger.java:181)
    at
    com/ibm/ws/logging/WsLoggerFactoryImpl.createWsLogger(WsLoggerFa
    ctoryImpl.java:79)
    at
    com/ibm/ws/bootstrap/RASDelegator.createWsLogger(RASDelegator.ja
    va:74)
    at
    com/ibm/ws/bootstrap/WsLogManager.getLogger(WsLogManager.java:21
    8)
    at java/util/logging/Logger.getLoggerWithRes(Logger.java:347)
    at java/util/logging/Logger.getLogger(Logger.java:387)
    at com/ibm/ws/logging/WsLogger.<clinit>(WsLogger.java:91)
    at java/lang/J9VMInternals.initializeImpl(Native Method)
    at
    java/lang/J9VMInternals.initialize(J9VMInternals.java:200(Compil
    ed Code))
    at
    com/ibm/ws/logging/WsLoggerFactoryImpl.createWsLogger(WsLoggerFa
    ctoryImpl.java:79)
    at
    com/ibm/ws/bootstrap/RASDelegator.createWsLogger(RASDelegator.ja
    va:74)
    at
    com/ibm/ws/bootstrap/WsLogManager.getLogger(WsLogManager.java:21
    8)
    at java/util/logging/Logger.getLoggerWithRes(Logger.java:347)
    at java/util/logging/Logger.getLogger(Logger.java:387)
    at
    com/ibm/ws/logging/WsLoggerFactoryImpl.createWsLogger(WsLoggerFa
    ctoryImpl.java:73)
    at
    com/ibm/ws/bootstrap/RASDelegator.createWsLogger(RASDelegator.ja
    va:74)
    at
    com/ibm/ws/bootstrap/WsLogManager.getLogger(WsLogManager.java:21
    8)
    at java/util/logging/Logger.getLoggerWithRes(Logger.java:347)
    at java/util/logging/Logger.getLogger(Logger.java:373)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0 and V8.0                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Rare startup deadlock can occur when    *
    *                      Tr object is initialized.               *
    *                      If server will not start (hangs on      *
    *                      startup) and a threadDump shows a       *
    *                      thread with a frame                     *
    *                      including                               *
    *                      com/ibm/ws/logging/WsLogger.registerTra *
    *                      ceComponent(WsLogger.java:900) in an    *
    *                      object wait, this may be the issue.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    With a third party product involved at startup a
    usage pattern emerged that resulted in a deadlock.
    

Problem conclusion

  • This fix avoids a startup deadlock by making sure all
    resources are attained prior to registering a component. For
    non-z/OS operating systems, please refer to APAR PM02821.
    
    APAR PM51742 is currently targeted for inclusion in
    Fix Packs 7.0.0.23 and 8.0.0.3 of WebSphere
    Application Server.
    
    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

    PM51742

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-07

  • Closed date

    2011-12-09

  • Last modified date

    2012-06-03

  • 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

  • R700 PSY UK78616

       UP12/05/26 P F205

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

Document Information

Modified date:
28 October 2021