From 4d192e30fa5594bc06718ae6339d45c5216d7ee7 Mon Sep 17 00:00:00 2001 From: MK13 Date: Thu, 9 May 2019 21:25:07 +0200 Subject: [PATCH] Disable JMX to enable seamless parallel deployments --- src/main/resources/config/application.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/config/application.properties b/src/main/resources/config/application.properties index 658522c..c2d60b9 100644 --- a/src/main/resources/config/application.properties +++ b/src/main/resources/config/application.properties @@ -41,3 +41,7 @@ financer.fromAddress=financer@77zzcx7.de spring.mail.host=localhost #spring.mail.username= #spring.mail.password= + +# Disable JMX as we don't need it and it blocks parallel deployment on Tomcat +# because the connection pool cannot shutdown properly +spring.jmx.enabled=false \ No newline at end of file