Skip to main content

IZ96932: DEADLOCK BETWEEN URLCLASSPATH AND APPCLASSLOADER.


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: 1LKDEADLOCK    Deadlock detected !!!
    NULL           ---------------------
    NULL
    2LKDEADLOCKTHR  Thread "DiscoverWorker-1" (0x7530BC00)
    3LKDEADLOCKWTR    is waiting for:
    4LKDEADLOCKMON      sys_mon_t:0x08DA14E8 infl_mon_t: 0x08DA1528:
    4LKDEADLOCKOBJ      sun/misc/URLClassPath@77DFAAC8/77DFAAD4:
    3LKDEADLOCKOWN    which is owned by:
    2LKDEADLOCKTHR  Thread "DiscoverWorker-14" (0x752BD400)
    3LKDEADLOCKWTR    which is waiting for:
    4LKDEADLOCKMON      sys_mon_t:0x081CE8C0 infl_mon_t: 0x081CE900:
    4LKDEADLOCKOBJ
    sun/misc/Launcher$AppClassLoader@77DFA788/77DFA794:
    3LKDEADLOCKOWN    which is owned by:
    2LKDEADLOCKTHR  Thread "DiscoverWorker-1" (0x7530BC00)
    .
    Stack Trace: Stack trace of Deadlocked threads :-
    3XMTHREADINFO      "DiscoverWorker-1" (TID:0x7530BC00,
    sys_thread_t:0x0885B538, state:B, native ID:0x00007580) prio=5
    4XESTACKTRACE   at
    sun/misc/URLClassPath.getResource(URLClassPath.java:324(Compiled
    Code))
    4XESTACKTRACE   at
    java/net/URLClassLoader$ClassFinder.run(URLClassLoader.java:1053
    (Compiled Code))
    4XESTACKTRACE   at
    java/security/AccessController.doPrivileged(AccessController.jav
    a:274)
    4XESTACKTRACE   at
    java/net/URLClassLoader.findClass(URLClassLoader.java:492(Compil
    ed Code))
    4XESTACKTRACE   at
    java/lang/ClassLoader.loadClass(ClassLoader.java:639(Compiled
    Code))
    4XESTACKTRACE   at
    sun/misc/Launcher$AppClassLoader.loadClass(Launcher.java:349(Com
    piled Code))
    4XESTACKTRACE   at
    java/lang/ClassLoader.loadClass(ClassLoader.java:605(Compiled
    Code))
    4XESTACKTRACE   at
    candle/fw/util/TepDataProvider.<clinit>(TepDataProvider.java:91)
    4XESTACKTRACE   at java/lang/J9VMInternals.initializeImpl(Native
    Method)
    4XESTACKTRACE   at
    java/lang/J9VMInternals.initialize(J9VMInternals.java:196(Compil
    ed Code))
    4XESTACKTRACE   at java/lang/Class.forNameImpl(Native Method)
    4XESTACKTRACE   at
    java/lang/Class.forName(Class.java:130(Compiled Code))
    4XESTACKTRACE   at
    com/collation/platform/session/SessionFactory.doITMSession(Sessi
    onFactory.java:662(Compiled Code))
    3XMTHREADINFO      "DiscoverWorker-14" (TID:0x752BD400,
    sys_thread_t:0x75507190, state:B, native ID:0x0000758D) prio=5
    4XESTACKTRACE   at
    sun/security/jca/ProviderConfig.getProvider(ProviderConfig.java:
    226)
    4XESTACKTRACE   at
    sun/security/jca/ProviderList.getProvider(ProviderList.java:251)
    4XESTACKTRACE   at
    sun/security/jca/ProviderList.getService(ProviderList.java:349(C
    ompiled Code))
    4XESTACKTRACE   at
    sun/security/jca/GetInstance.getInstance(GetInstance.java:156(Co
    mpiled Code))
    4XESTACKTRACE   at
    java/security/cert/CertificateFactory.getInstance(CertificateFac
    tory.java:155)
    4XESTACKTRACE   at
    sun/security/pkcs/PKCS7.parseSignedData(PKCS7.java:284(Compiled
    Code))
    4XESTACKTRACE   at sun/security/pkcs/PKCS7.parse(PKCS7.java:181)
    4XESTACKTRACE   at sun/security/pkcs/PKCS7.parse(PKCS7.java:149)
    4XESTACKTRACE   at
    sun/security/pkcs/PKCS7.<init>(PKCS7.java:136)
    .
    

Local fix

Problem summary

  • The problem use to happen when a (loader) thread tries to get
    some resource via getResourceAsStream API while in parallel
    another thread tries to load some class plus having signed jars
    in the classpath.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR12 FP5
    6.0.0 SR10
    .
    JVM has been modified to take care of the deadlock scenario.
    .
    To obtain the fix:
    Install build 20110825 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ96932

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-18

  • Closed date

    2011-09-28

  • Last modified date

    2012-09-05

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

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

    IZ96933

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
5.0


Reference #:
IZ96932


Modified date:
2012-09-05

Translate my page

Content navigation