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.
Asked
Active
Viewed 1,813 times
3
-
1I've had the same issue and have posted an answer to a similar question [here](http://stackoverflow.com/questions/29106579/external-configuration-for-spring-boot-application/29122037#29122037). – ci_ Sep 08 '15 at 13:45
1 Answers
4
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.

Alexander Tokarev
- 2,743
- 2
- 20
- 21
-
We can't run them independently it needs to integrated with other services. We have to deploy those into our existing tomcats. – Soumyajit Swain Sep 08 '15 at 11:43
-
Why not following microservice approach and calling them by thier endpoints? – daniel.eichten Sep 08 '15 at 19:34