From 197c8c7e05cf2dc9a6a2b3513df4afc20f9db67a Mon Sep 17 00:00:00 2001 From: Amnon Heiman Date: Thu, 17 Sep 2015 23:04:27 +0300 Subject: [PATCH] README: Use of uber-jar and open jmx This update the README to reflect the changes in the maven and with the updated command line that open the jmx for external connection so the nodetool will be able to connect to the jmx proxy. Signed-off-by: Amnon Heiman Signed-off-by: Pekka Enberg --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a8eabb..3963a74 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ mvn install ``` ## Run -The maven will copy relevant jars to your local directory and would -set the classpath accordingly. +The maven will create an uber-jar with all dependency under the target directory. You should run it with the remote jmx enable so the nodetool will be able to connect to it. + ``` -java -jar target/urchin-mbean-1.0.jar +java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7199 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar target/urchin-mbean-1.0.jar ``` ## Setting IP and Port