From b6506863913d9b17f9739f6db9cde9c505ac3916 Mon Sep 17 00:00:00 2001 From: Aaron Brethorst Date: Tue, 7 Apr 2026 21:47:04 -0700 Subject: [PATCH] Try again on shutdown command --- oba/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oba/Dockerfile b/oba/Dockerfile index 41ae679..a0a7222 100644 --- a/oba/Dockerfile +++ b/oba/Dockerfile @@ -200,7 +200,9 @@ COPY ./jmx_exporter_config.yml /app/jmx_exporter_config.yml # Set JVM options to include JMX exporter ENV JAVA_OPTS="-javaagent:/app/jmx_prometheus_javaagent.jar=1234:/app/jmx_exporter_config.yml" -ENV CATALINA_OPTS="-Dport.shutdown=-1" +# Disable the Tomcat shutdown port (8005) to prevent health check +# requests from being logged as invalid shutdown commands. +RUN sed -i 's/port="8005"/port="-1"/' $CATALINA_HOME/conf/server.xml ########## # Bootstrapper and Supervisor