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 post 50_SR8. 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: 5.0.0 SR10 . 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 20090320 or later
Temporary fix
Comments
APAR Information
APAR number
IZ45874
Reported component name
JAVA 5 ORB
Reported component ID
620500123
Reported release
500
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-03-17
Closed date
2009-03-24
Last modified date
2009-03-24
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 5 ORB
Fixed component ID
620500123
Applicable component levels
R500 PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBB","label":"ORB"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
24 March 2009