IBM Support

PM18519: CLASSNOTFOUNDEXCEPTION IN MULTIPLE CLASS LOADER SETUP AFTER APPLYING IZ22312 IN 1.4.2 SR12

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: With multiple classloader policy on, certain
    application classes though available on the classpath may be
    falsely reported as not found.
    This problem may also manifest as ClassCastExceptions during a
    PortableRemoteObject.narrow()
    .
    Stack Trace: java.lang.ClassCastException: Unable to load class:
    com.a.b.ejb30._ISmokeBeanRemote_Stub
       at
    com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemote
    Object.java:372)
       at
    javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:
    137)
       at
    com.ibm.etools.utc.servlet.JNDILookupHelper.jndiEJB3Load(JNDILoo
    kupHelper.java:148)
       ...
    OR
    com.ibm.rmi.util.Utility loadClassOfType:820 ORB.thread.pool :
    15 The following exception was logged
    java.lang.ClassNotFoundException:com.a.b.c.d.ObjectIdImpl
    at
    com.ibm.CORBA.iiop.UtilDelegateImpl.loadClass(UtilDelegateImpl.j
    ava:661)
    at javax.rmi.CORBA.Util.loadClass(Util.java:252)
    at com.ibm.rmi.util.Utility.loadClassOfType(Utility.java:817)
    at
    com.ibm.rmi.util.RepositoryId.loadClass(RepositoryId.java:677)
    at
    com.ibm.rmi.util.RepositoryId.checkClassCache(RepositoryId.java:
    651)
    at
    com.ibm.rmi.util.RepositoryId.getClassFromType(RepositoryId.java
    :609)
    at
    com.ibm.rmi.iiop.CDRInputStream.fast_read_value(CDRInputStream.j
    ava:2045)
    .
    

Local fix

Problem summary

  • The CNFE or the CCE is caused by a bug in APAR due to which we
    do to call RMIClassLoader.loadClass() method that takes care of
    choosing the right classloader to load the needed class
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13FP6
    .
    The fix is ORB's classloading logic to use RMIClassLoader's
    loadClass() method, as specified in the IDL2Java specification.
    .
    To obtain the fix:
    Install build 20100814 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM18519

  • 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

    2010-07-16

  • Closed date

    2010-08-13

  • Last modified date

    2010-09-28

  • 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