Skip to content

JEE-Server

For troubleshooting purpose the JEE-Server (Wildfly or tomEE) can be analysed with visualvm (https://visualvm.github.io/index.html)

If visualVM and JEE-Server are running on the same server it is sufficent to start visualvm and open a local connection to the JEE-Server

If visualVM and JEE-Server are running on different servers then it is necessary to set some JMX-Properties for the JEE-Server:

-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=<PORT> 
-Dcom.sun.management.jmxremote.authenticate=... 
-Dcom.sun.management.jmxremote.ssl=...
-Djava.rmi.serverhostname=<IP>

https://stackoverflow.com/questions/30104142/how-to-use-visualvm-and-jmx