IBM Support

PI34641: DEADLOCK IN J2C CODE DURING APPLICATION SERVER STARTUP OR SHUTDOWN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During application server startup or shutdown, the following
    deadlock condition may occur (this data is from a javacore
    file)...
    
    Deadlock detected !!!
    ---------------------
    
    Thread "server.startup : 2" (0x000000000491EF00)
      is waiting for:
        sys_mon_t:0x00007F92A527D8F8 infl_mon_t: 0x00007F92A527D970:
        java/lang/Object@0x000000000FE01060
      which is owned by:
    Thread "SoapConnectorThreadPool : 0" (0x000000000A4BEC00)
      which is waiting for:
        sys_mon_t:0x00007F92A527D310 infl_mon_t: 0x00007F92A527D388:
        java/lang/Object@0x0000000012267B18
      which is owned by:
    Thread "server.startup : 2" (0x000000000491EF00)
    
    
    
         Here are details on each of the two deadlocked threads...
    
    "server.startup : 2" J9VMThread:0x000000000491EF00,
    j9thread_t:0x00007F92A582E5C0,
    java/lang/Thread:0x000000001226D598, state:B, prio=5
        (native thread ID:0x558C, native priority:0x5, native
    policy:UNKNOWN)
        (native stack address range from:0x00007F9294428000,
    to:0x00007F9294469000, size:0x41000)
    Blocked on: java/lang/Object@0x000000000FE01060 Owned by:
    "SoapConnectorThreadPool : 0" (J9VMThread:0x000000000A4BEC00,
    java/lang/Thread:0x0000000026E0DE00)
      Java callstack:
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriver.compl
    eteInit(ServerRuleDriver.java:1147)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverMBean.
    getRPAAttributeValue(ServerRuleDriverMBean.java:1116)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverWrappe
    r.getRPAAttributeValue(ServerRuleDriverWrapper.java:25)
        at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.getRPAAttributeValu
    e2(J2CDiagnosticAlertHelperImpl.java:419)
          (entered lock: java/lang/Object@0x0000000012267B18, entry
    count: 1)
        at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.<init>(J2CDiagnosti
    cAlertHelperImpl.java:102)
        at
    com/ibm/ejs/j2c/ServerFunction.createDiagnosticAlertHelper(Serve
    rFunction.java:536)
        at
    com/ibm/ejs/j2c/J2CGlobalConfigProperties.<init>(J2CGlobalConfig
    Properties.java:776)
        at
    com/ibm/ejs/j2c/J2CUtilityClass.createGlobalConfigProps(J2CUtili
    tyClass.java:1779)
        at
    com/ibm/ejs/j2c/ConnectionFactoryBuilderServerImpl.createMCFandP
    M(ConnectionFactoryBuilderServerImpl.java:698)
          (entered lock: java/lang/Object@0x000000001224AAF0, entry
    count: 1)
        at
    com/ibm/ejs/j2c/ConnectionFactoryBuilderServerImpl.processObject
    Instance(ConnectionFactoryBuilderServerImpl.java:1057)
        at
    com/ibm/ejs/j2c/ServerFunction.processObjectInstance(ServerFunct
    ion.java:1149)
        at
    com/ibm/ejs/j2c/ConnectionFactoryBuilderImpl.getObjectInstance(C
    onnectionFactoryBuilderImpl.java:635)
    ...
    
    
    
    SoapConnectorThreadPool : 0" J9VMThread:0x000000000A4BEC00,
    j9thread_t:0x00007F922C013200,
    java/lang/Thread:0x0000000026E0DE00, state:B, prio=5
       (native thread ID:0x563B, native priority:0x5, native
    policy:UNKNOWN)
       (native stack address range from:0x00007F920A83B000,
    to:0x00007F920A87C000, size:0x41000)
    Blocked on: java/lang/Object@0x0000000012267B18 Owned by:
    "server.startup : 2" (J9VMThread:0x000000000491EF00,
    java/lang/Thread:0x000000001226D598)
      Java callstack:
        at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.isRPAFullyInitializ
    ed(J2CDiagnosticAlertHelperImpl.java:668)
        at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.propertyChange(J2CD
    iagnosticAlertHelperImpl.java:946)
        at
    com/ibm/ejs/j2c/J2CGlobalConfigProperties.propertyChange(J2CGlob
    alConfigProperties.java:2150)
        at
    com/ibm/ws/rasdiag/AlertConfig.notifyListeners(AlertConfig.java:
    388)
        at
    com/ibm/ws/rasdiag/AlertConfig.setEnabled(AlertConfig.java:137)
        at
    com/ibm/ws/rasdiag/AlertConfigHome.setAlertEnabled(AlertConfigHo
    me.java:217)
        at
    com/ibm/ws/rasdiag/ImmediateAlertBridge.setAlertEnabled(Immediat
    eAlertBridge.java:145)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriver.priva
    teCompleteInit(ServerRuleDriver.java:1299)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverMBean.
    privateCompleteInit(ServerRuleDriverMBean.java:191)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriver$1$1.r
    un(ServerRuleDriver.java:1155)
        at
    com/ibm/ws/security/auth/ContextManagerImpl.runAs(ContextManager
    Impl.java:5453(Compiled Code))
        at
    com/ibm/ws/security/auth/ContextManagerImpl.runAsSystem(ContextM
    anagerImpl.java:5579)
        at
    com/ibm/ws/security/core/SecurityContext.runAsSystem(SecurityCon
    text.java:255)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriver$1.run
    (ServerRuleDriver.java:1160)
        at
    java/security/AccessController.doPrivileged(AccessController.jav
    a:280(Compiled Code))
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriver.compl
    eteInit(ServerRuleDriver.java:1150)
         (entered lock: java/lang/Object@0x000000000FE01060, entry
    count: 1)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverMBean.
    enableRule(ServerRuleDriverMBean.java:2859)
        at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverMBean.
    enableRule(ServerRuleDriverMBean.java:2845)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A deadlock is occurring in J2C Code     *
    *                      when                                    *
    *                      Runtime Performance Advisor is enabled  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A deadlock is occurring in J2C Code when Runtime Performance
    Advisor is enabled.
    "server.startup : 2" J9VMThread:0x000000000491EF00,
    j9thread_t:0x00007F92A582E5C0,
    java/lang/Thread:0x000000001226D598, state:B, prio=5
    (native thread ID:0x558C, native priority:0x5, native
    policy:UNKNOWN)
    (native stack address range from:0x00007F9294428000,
    to:0x00007F9294469000, size:0x41000)
    Blocked on: java/lang/Object@0x000000000FE01060 Owned by:
    "SoapConnectorThreadPool : 0" (J9VMThread:0x000000000A4BEC00,
    java/lang/Thread:0x0000000026E0DE00)
    Java callstack:
    at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriver.compl
    eteInit(ServerRuleDriver.java:1147)
    at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverMBean.
    getRPAAttributeValue(ServerRuleDriverMBean.java:1116)
    at
    com/ibm/ws/performance/tuning/serverAlert/ServerRuleDriverWrappe
    r.getRPAAttributeValue(ServerRuleDriverWrapper.java:25)
    at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.getRPAAttributeValu
    e2(J2CDiagnosticAlertHelperImpl.java:419)
    (entered lock: java/lang/Object@0x0000000012267B18, entry
    count: 1)
    at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.<init>(J2CDiagnosti
    cAlertHelperImpl.java:102)
    at
    com/ibm/ejs/j2c/ServerFunction.createDiagnosticAlertHelper(Serve
    rFunction.java:536)
    at
    com/ibm/ejs/j2c/J2CGlobalConfigProperties.<init>(J2CGlobalConfig
    Properties.java:776)
    at
    com/ibm/ejs/j2c/J2CUtilityClass.createGlobalConfigProps(J2CUtili
    tyClass.java:1779)
    at
    com/ibm/ejs/j2c/ConnectionFactoryBuilderServerImpl.createMCFandP
    M(ConnectionFactoryBuilderServerImpl.java:698)
    SoapConnectorThreadPool : 0" J9VMThread:0x000000000A4BEC00,
    j9thread_t:0x00007F922C013200,
    java/lang/Thread:0x0000000026E0DE00, state:B, prio=5
    (native thread ID:0x563B, native priority:0x5, native
    policy:UNKNOWN)
    (native stack address range from:0x00007F920A83B000,
    to:0x00007F920A87C000, size:0x41000)
    Blocked on: java/lang/Object@0x0000000012267B18 Owned by:
    "server.startup : 2" (J9VMThread:0x000000000491EF00,
    java/lang/Thread:0x000000001226D598)
    Java callstack:
    at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.isRPAFullyInitializ
    ed(J2CDiagnosticAlertHelperImpl.java:668)
    at
    com/ibm/ejs/j2c/J2CDiagnosticAlertHelperImpl.propertyChange(J2CD
    iagnosticAlertHelperImpl.java:946)
    at
    com/ibm/ejs/j2c/J2CGlobalConfigProperties.propertyChange(J2CGlob
    alConfigProperties.java:2150)
    at
    com/ibm/ws/rasdiag/AlertConfig.notifyListeners(AlertConfig.java:
    388)
    at
    com/ibm/ws/rasdiag/AlertConfig.setEnabled(AlertConfig.java:137)
    at
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI34641

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-02-10

  • Closed date

    2015-02-19

  • Last modified date

    2015-02-19

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

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

Document Information

Modified date:
28 April 2022