From 00a83dda97d10358a9631d6c03853555e0762ff6 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 7 Aug 2014 15:04:25 +0200 Subject: [PATCH] SONAR-4898 remove customization of RMI timeouts --- .../src/main/java/org/sonar/process/ProcessWrapper.java | 9 --------- 1 file changed, 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; -- 2.39.5