参考:
修改hornetq的bin目录下的run.sh
最后一行修改为:
java $JVM_ARGS -classpath $CLASSPATH -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port="4000" -Dcom.sun.management.jmxremote.authenticate="false" -Dcom.sun.management.jmxremote.ssl="false" -Djava.rmi.server.hostname=你的服务器ip -Dcom.sun.management.jmxremote org.hornetq.integration.bootstrap.HornetQBootstrapServer $FILENAME
重新启动,然后用jconsole远程连接看看吧.
Comments