PM44509: DEADLOCK IN WSDYNAMICPOLICY

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



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Application Server
General

Software version:

8.0

Reference #:

PM44509

Modified date:

2013-05-14

Translate my page

Machine Translation

Content navigation