How can i connect VisualVM to Wildfly 10?
I have put jboss-client jar in following folder and started visual vm:
Then i started visual vm
When i added jmx connection i get following:
Can anyone suggest what is wrong here? I have not put any authentication (not sure what authentication will it have as console have admin/pass but no password set anywhere else).
Can anyone suggest what is wrong here?
(I have multiple server groups and not sure where to add "remoting-connector use-management-endpoint="true" in domain.xml. I have added in 1 server group only.)
You need to extend VisualVM classpath (using "--cp:ad") with JBoss client jar, eg:
jvisualvm --cp:a $WF_HOME/bin/client/jboss-cli-client.jar
Then connect to your wildfly on admin port (usually 9990)
service:jmx:http-remoting-jmx://localhost:9990
See interesting article here: https://nozaki.me/roller/kyle/entry/articles-wildfly-visualvm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With