リンクへの参照を使用します。
Explicit local を作成しようとしていJMX Connectionます。
実行後
java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=3333 - Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar test.jar command
私は接続を確立しようとしていJMXます。しかし、と接続しようとするlocalhostとport 3333、
というエラー cannot connect to localhost:3333 using service:jmx:rmi:///jndi/rmi/://localhost:3333/jmxrmiが発生しました。
ドキュメントに従って試しましたが、何が問題なのかわかりません。
前もって感謝します!