I've generated two instances of Spring Boot (1.5.10.RELEASE) (war) with different properties (DB), My question is about to run those two instances with same port but with different context in WebSphere Liberty Core 8.5 ?
My server.xml :
<httpEndpoint id="defaultHttpEndpoint"
host="*"
httpPort="9081"
httpsPort="9443"/>
<!-- A application -->
<webApplication id="A" location="A-0.0.1-SNAPSHOT.war" contextRoot="/interactioncorpcontext-a"/>
<!-- B application -->
<webApplication id = "B" location="B-0.0.1-SNAPSHOT.war" contextRoot="/interactioncorpcontext-b"/>
As result :
**http://hostname:9081/interactioncorpcontext-a**
**http://hostname:9081/interactioncorpcontext-b**