aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-08-07 15:04:25 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-08-07 15:04:32 +0200
commit00a83dda97d10358a9631d6c03853555e0762ff6 (patch)
treefbe562997d832dcf2454a8b7106c082fc459686e
parent26d2028e6c5e9a97398cec1d9466e492df06e98a (diff)
downloadsonarqube-00a83dda97d10358a9631d6c03853555e0762ff6.tar.gz
sonarqube-00a83dda97d10358a9631d6c03853555e0762ff6.zip
SONAR-4898 remove customization of RMI timeouts
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java
index 6eba8b801c3..67b3fc3a43d 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessWrapper.java
@@ -56,15 +56,6 @@ import java.util.concurrent.TimeUnit;
*/
public class ProcessWrapper extends Thread implements Terminable {
- static {
- // by default there's no timeout on RMI calls on client-side
- // http://docs.oracle.com/javase/6/docs/technotes/guides/rmi/sunrmiproperties.html
- System.setProperty("sun.rmi.transport.connectionTimeout", "5000");
- System.setProperty("sun.rmi.transport.tcp.handshakeTimeout", "5000");
- System.setProperty("sun.rmi.transport.tcp.handshakeTimeout", "5000");
- System.setProperty("sun.rmi.transport.tcp.readTimeout", "5000");
- }
-
private final static Logger LOGGER = LoggerFactory.getLogger(ProcessWrapper.class);
public static final long READY_TIMEOUT_MS = 300000L;