Error unmarshaling return header !!
"Abdullah O. Zaghameem" <[email protected]> Thu, 25 Jun 2009 16:19:47 +0100
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Dear all,
I'm developing a two sides model using RMI. In the model, at some points
one object O1 from one side (say A) invokes a method (say X) in an
object O2 at side B where the method X in turn invokes a method Y in
object O1!!. after I prepare everything (indeed I checked the one-way
invocation first, and it works fine), the execution is STUCK!!, and the
case seems to be as a deadlock. BTW, I execute the stuff at single
machine but in different eclipse projects. The following exception comes
to the console after I break the execution of one of the two sides.
Exception in thread "main" java.rmi.UnmarshalException: Error
unmarshaling return header; nested exception is:
java.net.SocketException: Connection reset
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown
Source)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
...
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readByte(Unknown Source)
... 13 more
I appreciate any ideas and opinions.
Regards,
Abdullah
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html
To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html