Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting VisualVM windows to Wildfly 16

How can i connect VisualVM to Wildfly 10?

I have put jboss-client jar in following folder and started visual vm: enter image description here

Then i started visual vm enter image description here

When i added jmx connection i get following: enter image description here

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.)

like image 426
fatherazrael Avatar asked Sep 09 '25 11:09

fatherazrael


1 Answers

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

like image 168
TacheDeChoco Avatar answered Sep 13 '25 16:09

TacheDeChoco