RMI stuck on network disconnection (original) (raw)
Alan Bateman Alan.Bateman at Sun.COM
Mon Jun 8 14:27:03 UTC 2009
- Previous message: RMI stuck on network disconnection
- Next message: RMI stuck on network disconnection
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: RMI stuck on network disconnection
- Next message: RMI stuck on network disconnection
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]