リンクへの参照を使用します。
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
が発生しました。
ドキュメントに従って試しましたが、何が問題なのかわかりません。
前もって感謝します!