As far as I know, the JMX service on wildly is accessible on port 9990. From your mail, it seems that it's running at 10990 for you.
To access WildFly over JMX remotely through jconsole
following are the steps you need to follow:
- On the WildFly server, create a management user using
add-user.sh
.
- Get the
jboss-client.jar
from the WildFly server to your local laptop (from where you are planning to launch jconsole
).
- Invoke the following from your local laptop to start
jconsole
:
For Java 8:
$JAVA_HOME/bin/jconsole
-J-Djava.class.path=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/jconsole.jar:<Location_On_Your_Laptop>/jboss-client.jar
&
For Java 9+:
$JAVA_HOME/bin/jconsole -J--add-modules=jdk.unsupported -J-Djava.class.path=:/<Location_On_Your_Laptop>/jboss-client.jar &
- On the
jconsole
pop-up window which comes up on your laptop, select "Remote Process". Provide the following URL:
service:jmx:http-remoting-jmx://WildFly_Host:JMX_Port
For example, it could be: service:jmx:http-remoting-jmx://1.2.3.4:9990
- Provide the username and password created in step #1.
- Connect.