Dear all,
I'd like to ask is there way to control the RMI lookup timeout through programming or network configurations.
In a testing environment, I have purposely disconnect or plug out the cable between two testing servers to check the reliability. It took very long time for the RMI API to throw out java.rmi.ConnectException which used Naming.lookup(givenURL). I have tried to set system properties like sun.rmi.transport.tcp.handshakeTimeout, but it didn't take effect at all.