3

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
  • 1
    I've had the same issue and have posted an answer to a similar question here. Commented Sep 8, 2015 at 13:45

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

We can't run them independently it needs to integrated with other services. We have to deploy those into our existing tomcats.
Why not following microservice approach and calling them by thier endpoints?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.