IBM Support

PM44509: DEADLOCK IN WSDYNAMICPOLICY

Fixes are available

8.0.0.1: WebSphere Application Server V8.0 Fix Pack 1
8.0.0.2: WebSphere Application Server V8.0 Fix Pack 2
8.0.0.3: WebSphere Application Server V8.0 Fix Pack 3
8.0.0.4: WebSphere Application Server V8.0 Fix Pack 4
8.0.0.5: WebSphere Application Server V8.0 Fix Pack 5
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
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.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.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

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A deadlock can occur in WSDynamicPolicy
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Threads deadlock in IN                  *
    *                      WSDYNAMICPOLICY.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    It appears java.net.URL and
    com.ibm.ws.security.policy.WSDynamicPolicy can have
    conflicting lock hierarchies on different call paths and hence
    the potential for deadlock.
    2LKDEADLOCKTHR  Thread "Thread-33" (0x00000000417E3900)
    3LKDEADLOCKWTR    is waiting for:
    4LKDEADLOCKMON      sys_mon_t:0x00000100116961A8 infl_mon_t:
    0x00000100116961F0:
    4LKDEADLOCKOBJ
    java/lang/Object@0x00000000300B1B70/0x00000000300B1B74:
    3LKDEADLOCKOWN    which is owned by:
    2LKDEADLOCKTHR  Thread "Blueprint Extender: 3"
    (0x000000004212B500)
    3LKDEADLOCKWTR    which is waiting for:
    4LKDEADLOCKMON      sys_mon_t:0x00000100111698E8 infl_mon_t:
    0x0000010011169930:
    4LKDEADLOCKOBJ
    com/ibm/ws/security/policy/WSDynamicPolicy@0x0000000030AFBE50/0x
    0000000030AFBE54:
    3LKDEADLOCKOWN    which is owned by:
    2LKDEADLOCKTHR  Thread "Thread-33" (0x00000000417E3900)
    3XMTHREADINFO      "Blueprint Extender: 3"
    J9VMThread:0x000000004212B500, j9thread_t:0x0000010014BEF7F0,
    java/lang/Thread:0x000000003F994590, state:B, prio=5
    3XMTHREADINFO1            (native thread ID:0x21000CD, native
    priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO3           Java callstack:
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.getPermissions_s(WSDy
    namicPolicy.java:244(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.getPermissions(WSDyna
    micPolicy.java:201(Compiled Code))
    4XESTACKTRACE                at
    java/security/Policy.getPermissions(Policy.java:394(Compiled
    Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.getPermissions(WSDyna
    micPolicy.java:1038(Compiled Code))
    4XESTACKTRACE                at
    java/security/Policy.defaultImplies(Policy.java:438(Compiled
    Code))
    4XESTACKTRACE                at
    java/security/Policy.implies(Policy.java:428(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.implies(WSDynamicPoli
    cy.java:1070(Compiled Code))
    4XESTACKTRACE                at
    java/security/ProtectionDomain.implies(ProtectionDomain.java:199
    (Compiled Code))
    4XESTACKTRACE                at
    java/security/AccessController.checkPermission(AccessController.
    java:98(Compiled Code))
    4XESTACKTRACE                at
    java/lang/SecurityManager.checkPermission(SecurityManager.java:5
    44(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/core/SecurityManager.checkPermission(Securit
    yManager.java:208(Compiled Code))
    4XESTACKTRACE                at
    java/lang/SecurityManager.checkSetFactory(SecurityManager.java:1
    639)
    4XESTACKTRACE                at
    java/net/URL.setURLStreamHandlerFactory(URL.java:1093)
    4XESTACKTRACE                at
    org/eclipse/osgi/framework/internal/core/Framework.forceURLStrea
    mHandlerFactory(Framework.java:1587)
    3XMTHREADINFO      "Thread-33" J9VMThread:0x00000000417E3900,
    j9thread_t:0x0000010012184940,
    java/lang/Thread:0x0000000032B0B948, state:B, prio=5
    3XMTHREADINFO1            (native thread ID:0x1370015, native
    priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO3           Java callstack:
    4XESTACKTRACE                at
    java/net/URL.getURLStreamHandler(URL.java:1169(Compiled Code))
    4XESTACKTRACE                at
    java/net/URL.<init>(URL.java:405(Compiled Code))
    4XESTACKTRACE                at
    java/net/URL.<init>(URL.java:295(Compiled Code))
    4XESTACKTRACE                at
    java/security/CodeSource.implies(CodeSource.java:346(Compiled
    Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.getPermissions_s(WSDy
    namicPolicy.java:255(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.getPermissions(WSDyna
    micPolicy.java:201(Compiled Code))
    4XESTACKTRACE                at
    java/security/Policy.getPermissions(Policy.java:394(Compiled
    Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.getPermissions(WSDyna
    micPolicy.java:1038(Compiled Code))
    4XESTACKTRACE                at
    java/security/Policy.defaultImplies(Policy.java:438(Compiled
    Code))
    4XESTACKTRACE                at
    java/security/Policy.implies(Policy.java:428(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/policy/WSDynamicPolicy.implies(WSDynamicPoli
    cy.java:1070(Compiled Code))
    4XESTACKTRACE                at
    java/security/ProtectionDomain.implies(ProtectionDomain.java:199
    (Compiled Code))
    4XESTACKTRACE                at
    java/security/AccessController.checkPermission(AccessController.
    java:98(Compiled Code))
    4XESTACKTRACE                at
    java/lang/SecurityManager.checkPermission(SecurityManager.java:5
    44(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/core/SecurityManager.checkPermission(Securit
    yManager.java:208(Compiled Code))
    4XESTACKTRACE                at
    java/lang/Thread.getContextClassLoader(Thread.java:457(Compiled
    Code))
    4XESTACKTRACE                at
    org/eclipse/osgi/framework/internal/core/BundleContextImpl.setCo
    ntextFinder(BundleContextImpl.java:817(Compiled Code))
    This occurs intermittently when using OSGi applications with
    Java 2 security as in the Java2security regression test bucket
    for OSGi applications.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM44509

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-27

  • Closed date

    2011-08-22

  • Last modified date

    2013-05-14

  • 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

[{"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:
27 October 2021