How to respond to UnmarshalExceptions...
Robert DiFalco <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
When I make a call to a server and I get an UnmarshalException, is there
anyway to know if the call executed on the server and had a connection
error returning the result value (in which case I don't really need to
"retry" or if the call did not execute on the server and I should retry?
This seems like a fairly important distinction when dealing with errors.
Thoughts?
java.rmi.UnmarshalException: Error unmarshaling return header; nested
exception is:
java.net.SocketException: Broken pipe
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203
)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at
com.tripwire.space.services.server.ServerService_Stub.exec(Unknown
Source)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
===========================================================================
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