Reputation: 181
I'm trying to connect to a remote Wildfly (10.0.0) instance using jvisualvm (or jconsole). I launch the jvisualvm adding jboss-client.jar in its classpath: jvisualvm --cp:a /application-server/wildfly-10.0.0.Final/bin/client/jboss-client.jar When I try to connect using this connection string: service:jmx:remoting-jmx://<>:9990
Cannot connect to wildfly-10.0 using service:jmx:remoting-jmx://<>:9990.
I know that the server is listening on 9990 because I was able to open a telnet connection.
Can anyone help me?
Thanks,
Laura
Upvotes: 1
Views: 1885
Reputation: 2722
I have also tried with Jconsole and was able to connect to wildfly app using JMX. Default Jconsole application cannot connect to wildfly jmx due to missing dependencies . I followed below steps to resolve this.
jconsole -J-Djava.class.path=../lib/tools.jar;../lib/jconsole.jar;<wildfly home dir>\bin\client\jboss-cli-client.jar
Upvotes: 0