diff --git a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh index 550a5ddd7e6a364966006a6bfc34a1358c7d20ca..742bb6cf0f8c65ef69f41d0d890eb5122f8ed9e2 100644 --- a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh +++ b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh @@ -37,7 +37,7 @@ usage() { echo "-sp, --stopport: The Jetty stop port to use. Overrides any value from JETTY_STOP_PORT. Defaults to 8079." echo "-ld, --lockdir: The directory where the executing process id is stored to verify that that only one instance" echo " is started. Defaults to /var/tmp." - echo "-j, --jmx: Allows monitoring the Jetty server with a JMX console (such as jconsole)." + echo "-j, --jmx: Allows monitoring/managing Jetty through JMX." echo "" echo "Example: start_xwiki.sh -p 8080 -sp 8079" } @@ -96,7 +96,6 @@ while [[ $# > 0 ]]; do shift ;; -j|--jmx) - XWIKI_OPTS="$XWIKI_OPTS -Dcom.sun.management.jmxremote" JETTY_OPTS="$JETTY_OPTS --module=jmx" ;; -h|--help) diff --git a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh index 44350ef926bc479b9818e5906c5fc242b723bcdf..cd80950b24397be2f8b455d8797caaf64afa2778 100644 --- a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh +++ b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh @@ -36,7 +36,7 @@ usage() { echo "-sp, --stopport: The Jetty stop port to use. Overrides any value from JETTY_STOP_PORT. Defaults to 8079." echo "-ld, --lockdir: The directory where the executing process id is stored to verify that that only one instance" echo " is started. Defaults to /var/tmp." - echo "-j, --jmx: Allows monitoring the Jetty server with a JMX console (such as jconsole)." + echo "-j, --jmx: Allows monitoring/managing Jetty through JMX." echo "-yp, --yourkitpath: The path where Yourkit can find the agent. If not passed then YourKit won't be enabled." echo " For example: \"/Applications/YourKit Java Profiler 7.0.11.app/bin/mac\"" echo " or \"/home/User/yjp-11.0.8/bin/linux-x86-64/\"" @@ -100,7 +100,6 @@ while [[ $# > 0 ]]; do shift ;; -j|--jmx) - XWIKI_OPTS="$XWIKI_OPTS -Dcom.sun.management.jmxremote" JETTY_OPTS="$JETTY_OPTS --module=jmx" ;; -yp|--yourkitpath)