I am trying to deploy multiple spring boot web app on tomcat. All have the same application.properties.How can I split the configuration files for different app running on tomcat.
1 Answer
Spring Boot doesn't require an external Tomcat, because it contains its own embedded Tomcat. So you can run all of your application in it's own Tomcat on the same machine. All you have to do is to define different ports for your applications via server.port property.
2 Comments
Soumyajit Swain
We can't run them independently it needs to integrated with other services. We have to deploy those into our existing tomcats.
daniel.eichten
Why not following microservice approach and calling them by thier endpoints?