RMI stuck on network disconnection

Guy Korland gkorland at gmail.com
Sun Jun 7 14:01:59 UTC 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20090607/51a8f436/attachment.html>


More information about the core-libs-dev mailing list