Hi,
I'm using iPlanet Webserver 6.0 and Weblogic Application Server 6.1. My
servlet (on iPlanet) registers an object with an
EJB (on Weblogic)
for callback. Using RMI (java.rmi at all places), the following code works fine
from an application client.
The callback is done successfully when using application client but, when the
same code is used in a servlet and deployed on iPlanet, the weblogic server
prints exception (stack trace attached) and callback doesn't happen. I would
like know how an EJB can callback a servlet other than using JNDI bind and
lookup. Is there a way at all?
I've been trying to solve this problem for a long time now. Any help(or
appropriate material) on this would be appreciated.
Thanks in advance,
CA
===========================================================================
Start server side stack trace:
java.lang.ClassCastException: MyObject
at com.hss.gmlcp.lcshandler.CallbackHandler_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)
End server side stack trace
at
weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:133)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy75.handleLocationResponse(Unknown Source)
at
com.hss.gmlcp.lcshandler.test.TestLCSRequestHandlerImpl.submitLocationRequest(TestLCSRequ
estHandlerImpl.java:81)
at
com.hss.gmlcp.lcshandler.test.TestLCSRequestHandlerImpl_exqj34_EOImpl.submitLocationReque
st(TestLCSRequestHandlerImpl_exqj34_EOImpl.java:37)
at
com.hss.gmlcp.lcshandler.test.TestLCSRequestHandlerImpl_exqj34_EOImpl_WLSkel.invoke(Unkno
wn Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
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)