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!

RMI Connection Timeout Question

843793Aug 4 2009 — edited Jan 18 2010
I have a many server to many client configuration using RMI. I am trying to make the system fault tolerant so that a single server crash will not cause issues in the client.

The problem that I am running into is that the RMI registry can't detect (to my knowledge) when a server is inactive, therefore the client will execute a remote method and it takes roughly 6 minutes to get a connection timeout response.

Is there perhaps a way to detect if the server (remote object creator) is no longer available? Or perhaps speed up the connection timeout?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2010
Added on Aug 4 2009
6 comments
1,799 views