From 4842b62d2597e9a13c79104edd05f21887d80752 Mon Sep 17 00:00:00 2001 From: jbertram Date: Mon, 23 May 2016 16:34:50 -0500 Subject: [PATCH] ARTEMIS-532 config RMI port for remote JMX --- .../apache/activemq/artemis/cli/commands/etc/artemis.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile index c341d14bdc..a6c57fa2cd 100644 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile @@ -29,7 +29,7 @@ JAVA_ARGS="-XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -X # There might be options that you only want to enable on specifc commands, like setting a JMX port # See https://issues.apache.org/jira/browse/ARTEMIS-318 #if [ "$1" = "run" ]; then -# JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" +# JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1099 -Djava.rmi.activation.port=1098 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" #fi # Debug args: Uncomment to enable debug