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 <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
This commit is contained in:
Amnon Heiman 2015-09-17 23:04:27 +03:00 committed by Pekka Enberg
parent f162d740e0
commit 197c8c7e05

View File

@ -7,10 +7,10 @@ mvn install
``` ```
## Run ## Run
The maven will copy relevant jars to your local directory and would 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.
set the classpath accordingly.
``` ```
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 ## Setting IP and Port