Can I have two (or more) Spring-boot applications running on one Tomcat?
I have two applications packaged as war files and I would like to run them on o
war
Similar to @Maciej answer. An alternative is to set the following
spring.application.name=my-app-name spring.jmx.default-domain=my-app-name
Or for application.yaml:
application.yaml
spring: application: name: my-app-name jmx: default-domain: my-app-name
Worked for me on Spring boot 1.5.9.RELEASE
1.5.9.RELEASE