java.lang.ClassCastException: weblogic.rmi.internal.BasicServerRef

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 3004, 1 year ago
java.lang.ClassCastException: weblogic.rmi.internal.BasicServerRef
at weblogic.rmi.cluster.ReplicaAwareRemoteObject.getRef(ReplicaAwareRemoteObject.java:132)
at weblogic.rmi.cluster.PrimarySecondaryRemoteObject.(PrimarySecondaryRemoteObject.java:34)
at weblogic.ejb20.manager.ReplicatedStatefulSessionManager.createSecondary(ReplicatedStatefulSessionManager.java:213)
at weblogic.ejb20.internal.StatefulEJBHome.createSecondary(StatefulEJBHome.java:272)
at com.elandtech.callcenter.pnr.ejb.PNRBean_1p90_HomeImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:167)
at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at weblogic.ejb20.replication.ReplicatedBean.becomeSecondary(ReplicatedBean.java:112)
at weblogic.cluster.replication.WrappedRO.(WrappedRO.java:34)
at weblogic.cluster.replication.ReplicationManager$wroManager.create(ReplicationManager.java:366)
at weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.java:1226)
at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.