RMI stuck on network disconnection
Alan.Bateman at Sun.COM
Mon Jun 8 14:27:03 UTC 2009
Guy Korland wrote:
> 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?
I would suggest searching the archives of the rmi-users list . Also
check the properties that control timeouts .
More information about the core-libs-dev