Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UnmarshalException: Error unmarshaling return header; Connection reset

843793Jan 21 2010 — edited Jan 23 2010
Hi,

I have an RMI client running under Tomcat,

When I restart the server the client gets this exception:

java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.IOException: Connection reset by peer

The client and the server had a peer to peer connection, and I have a re-connect logic on my client, but it didn't catch this exception since it is "UnmarshalException" and not "MarshalException" like I am used to in this scenario.

What can cause the peer to be reset? any other solution besides looking up the stub again?

Edited by: yaog on Jan 21, 2010 7:47 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2010
Added on Jan 21 2010
1 comment
1,980 views