ClassNotFoundException When Restarting a WLS Managed Server In a Cluster (Doc ID 1675677.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 to 12.1.2.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

An ejb application is deployed into cluster consisting of two 12.1.1 WLS managed servers.
After stopping one of these managed servers, when restarting the stopped  server
it fails with the following ClassNotFoundException exception :
 

Caused By: java.lang.ClassNotFoundException: xx.yy.zz.Devices
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:178)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
at java.lang.Class.privateGetPublicMethods(Class.java:2571)
at java.lang.Class.getMethods(Class.java:1429)
at weblogic.rmi.utils.Utilities.getRemoteMethodsAndSignatures(Utilities.java:364)
at weblogic.rmi.utils.Utilities.getRemoteMethodsAndSignatures(Utilities.java:354)
at weblogic.rmi.internal.ClientRuntimeDescriptor.isInterAppClassLoaderNeeded(ClientRuntimeDescriptor.java:291)
at weblogic.rmi.internal.ClientRuntimeDescriptor.findLoader(ClientRuntimeDescriptor.java:256)
at weblogic.rmi.internal.ClientRuntimeDescriptor.getClassLoader(ClientRuntimeDescriptor.java:153)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:842)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:268)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:213)
...
...
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at weblogic.cluster.MemberManager.getJNDIStateDump(MemberManager.java:267)
at weblogic.cluster.MemberManager.waitForSync(MemberManager.java:222)
at weblogic.cluster.MemberManager.waitToSyncWithCurrentMembers(MemberManager.java:182)
at weblogic.cluster.InboundService.start(InboundService.java:37)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms