how to enable JMX remote in java spring boot1 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

Hi All, this document deals with how to enable JMX remote in java spring boot.

The Java virtual machine (Java VM) has built-in instrumentation that enables you to monitor and manage it using the Java Management Extensions (JMX) technology. These built-in management utilities are often referred to as out-of-the-box management tools for the Java VM. You can also monitor any appropriately instrumented applications using the JMX API.

Add the below command in Java command while running the application -Djava.rmi.server.hostname=<IPADDRESS>


here is theĀ full command to run the application.

java JAVA_OPTS -Djava.rmi.server.hostname=<IPADDRESS> -jar application.jar

Once your application ran successfully, you can see the port 6001 is listening. Now you can use any visualization tool to seeing the performance of the java application.

© 2019, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply