From 2715f6353465fe2a879829efb0e77f55107dd80a Mon Sep 17 00:00:00 2001 From: yannick Date: Wed, 15 Nov 2023 09:49:37 +0100 Subject: [PATCH] JMX_PORT -> HIVEMQ_JMX_PORT --- src/distribution/bin/diagnostics.sh | 2 +- src/distribution/bin/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/distribution/bin/diagnostics.sh b/src/distribution/bin/diagnostics.sh index 5d5b1b178..a513d4b7f 100755 --- a/src/distribution/bin/diagnostics.sh +++ b/src/distribution/bin/diagnostics.sh @@ -54,7 +54,7 @@ if hash java 2>/dev/null; then fi # JMX Monitoring - JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${JMX_PORT:-9010} -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${HIVEMQ_JMX_PORT:-9010} -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" JAVA_OPTS="$JAVA_OPTS -DdiagnosticMode=true" diff --git a/src/distribution/bin/run.sh b/src/distribution/bin/run.sh index 6056f9f46..d6be19698 100755 --- a/src/distribution/bin/run.sh +++ b/src/distribution/bin/run.sh @@ -52,7 +52,7 @@ if hash java 2>/dev/null; then fi # JMX Monitoring - JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${JMX_PORT:-9010} -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${HIVEMQ_JMX_PORT:-9010} -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" # Uncomment for enabling Diagnostic Mode #JAVA_OPTS="$JAVA_OPTS -DdiagnosticMode=true"