I am using Spring Boot in my Java application, and to deployment used Tomcat 7. I was trying to deploy multiple Spring Boot projects in the same server it showing exceptions
In my case, we need to have two of the same application online during updates before cutting over sessions to maintain 100% uptime. In this case, you cannot just specify a unique name (unless you update it for each potential deployment). Instead, I disabled jmx with the following setting in my application.yml file for all profiles:
spring:
jmx:
enabled: false