Hi,
I get this classcast exception when my server calls back client with some
object (CommonObject, which is serializable).
The server is an
EJB running in Weblogic, and the client is a
servlet running in
iPlanet.
It works fine when I pass the same object from client and server.
It complians with this exception when the server calls back the client with that
object.
Can anybody tell me what the problem could be? I have checked classpaths, jre
paths.
Both client and server seem to using the same JRE, same classes.
Exception at client (servlet on iPlanet):
java.lang.ClassCastException: CommonObject
at TestCallbackServlet.displayTime(TestCallbackServlet.java:75)
at TestCallbackServlet_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
If you need any other info abt the system, pls. do ask.
TIA,
Giri