RMI stuck on network disconnection
Alan Bateman
Alan.Bateman at Sun.COM
Mon Jun 8 14:27:03 UTC 2009
Guy Korland wrote:
> Hi,
>
> I found out that an RMI call might never return on network
> disconnection and will not throw RemoteException as expected.
> The scenario is very simple:
>
> 1. Find a remote stub (the stub should be behind a router).
> 2. Physically disconnect the server from the LAN.
> 3. Invoke a method from the client, the client can stuck without an
> exception up to 30 min.
>
> Any ideas?
>
> --
> Thanks,
> Guy
I would suggest searching the archives of the rmi-users list [1]. Also
check the properties that control timeouts [2].
-Alan.
[1] http://archives.java.sun.com/archives/rmi-users.html
[2]
http://java.sun.com/javase/6/docs/technotes/guides/rmi/sunrmiproperties.html
More information about the core-libs-dev
mailing list