how do I deploy different spring boot wars on tomcat container I have 3 wars with name
myapp1.war
myapp2.war
myapp3.war
I have added these wars into tomcat webapps folder and did some changes in server.xml under <Host? tag.
<Context path="/apipath" docBase="myapp1" reloadable="true"></Context>
I can access the application on http://localhost:9080/apipath/mymethoduriapp1 Now if I put another Context path in same host tag for other war like
<Context path="/apipath" docBase="myapp2" reloadable="true"></Context>
server unable to start now.
is there any way that we can have multiple context path so I can access all application on same port. example.
http://localhost:9080/apipath/mymethoduriapp1
http://localhost:9080/apipath/mymethoduriapp2
http://localhost:9080/apipath/mymethoduriapp3
Thanks in advance for help