aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-02-07 13:52:57 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2019-02-07 17:08:19 +0100
commit1d12ea0bec9843400ec62e378df0730834220545 (patch)
tree150ef2781c6c0aa54dbc1617f41bc9bfbe401a6b /server
parentd2f6a51f791ab430da08bea7dc46373288274ffb (diff)
downloadsonarqube-1d12ea0bec9843400ec62e378df0730834220545.tar.gz
sonarqube-1d12ea0bec9843400ec62e378df0730834220545.zip
SONAR-11680 upgrade Tomcat to 8.5.37
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/app/TomcatContexts.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/app/TomcatContexts.java b/server/sonar-server/src/main/java/org/sonar/server/app/TomcatContexts.java
index c49086527c1..81cf3a59b5d 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/app/TomcatContexts.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/app/TomcatContexts.java
@@ -23,7 +23,6 @@ import com.google.common.annotations.VisibleForTesting;
import java.io.File;
import java.io.IOException;
import java.util.Map;
-import javax.servlet.ServletException;
import org.apache.catalina.core.StandardContext;
import org.apache.catalina.startup.Tomcat;
import org.apache.commons.io.FileUtils;
@@ -110,7 +109,7 @@ public class TomcatContexts {
// disable JSP and WebSocket support
context.setContainerSciFilter("org.apache.tomcat.websocket.server.WsSci|org.apache.jasper.servlet.JasperInitializer");
return context;
- } catch (ServletException e) {
+ } catch (Exception e) {
throw new IllegalStateException("Fail to configure webapp from " + dir, e);
}
}