Skip to content

Commit

Permalink
JMX_PORT -> HIVEMQ_JMX_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
yannick committed Nov 20, 2023
1 parent f78a343 commit 3908d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/distribution/bin/diagnostics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/distribution/bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3908d40

Please sign in to comment.