IBM Support

PK51827: DEADLOCK WHILE CLASS LOADING SECURITY CLASSES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Thread 1:
    at java.security.Security.getProvider(Security.java(Compiled
    at java.security.Security.getAlgClassName(Security.java(Compiled
    at java.security.Security.getImpl(Security.java(Compiled
    at
    java.security.MessageDigest.getInstance(MessageDigest.java:185)
    at com.ibm.crypto.provider.SHA1withDSA.<init>(Unknown
    at java.lang.Class.newInstance2(Native
    at java.lang.Class.newInstance1(Class.java(Compiled
    at
    java.security.Security.createAlgInstance(Security.java(Compiled
    at
    java.security.Security.createAlgInstance(Security.java(Compiled
    at java.security.Security.getImpl(Security.java(Compiled
    at java.security.Signature.getInstance(Signature.java(Compiled
    at sun.security.pkcs.SignerInfo.verify(SignerInfo.java(Compiled
    at sun.security.pkcs.PKCS7.verify(PKCS7.java(Compiled
    at sun.security.pkcs.PKCS7.verify(PKCS7.java(Compiled
    at
    sun.security.util.SignatureFileVerifier.process(SignatureFileVer
    ifier.java(Compiled
    at
    java.util.jar.JarVerifier.processEntry(JarVerifier.java(Compiled
    at java.util.jar.JarVerifier.update(JarVerifier.java(Compiled
    at
    java.util.jar.JarFile.initializeVerifier(JarFile.java(Compiled
    at java.util.jar.JarFile.getInputStream(JarFile.java(Compiled
    at
    sun.misc.URLClassPath$5.getInputStream(URLClassPath.java(Compile
    d
    at sun.misc.Resource.getBytes(Resource.java(Compiled
    at
    java.net.URLClassLoader.defineClass(URLClassLoader.java(Compiled
    at
    java.net.URLClassLoader.access$500(URLClassLoader.java(Compiled
    at
    java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Comp
    iled
    at java.security.AccessController.doPrivileged1(Native
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a(Compiled
    at
    java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
    at com.ibm.jsse2.y.getCipher(Unknown
    
    Thread 2:
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
    at
    sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java(Compile
    d
    at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled
    at java.security.Provider.loadProvider(Provider.java:241)
    at java.security.Security$2.run(Security.java:399)
    at java.security.AccessController.doPrivileged1(Native
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a(Compiled
    at java.security.Security.getProviderAt(Security.java(Compiled
    at java.security.Security.getProvider(Security.java(Compiled
    at com.ibm.jsse2.y.a(Unknown
    .
    A javacore will report a deadlock between
    sun.misc.Launcher$ExtClassLoader
    and
    java.lang.Class
    

Local fix

  • Setting a java system property of
    -Dibm.cl.eagerresolution=true
    may workaround this problem.
    

Problem summary

  • This problem occurs when a class is loaded from a signed jar
    file.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR10
    .
    The JVM has been modified to prevent the deadlock
    .
    To obtain the fix:
    Install build 20071017 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK51827

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    42A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2007-08-28

  • Closed date

    2007-10-19

  • Last modified date

    2007-10-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

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R42A PSN

       UP

  • R42L PSN

       UP

  • R42W PSN

       UP

  • R420 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022