【发布时间】:2019-02-01 09:41:53
【问题描述】:
我已经生成了两个具有不同属性 (DB) 的 Spring Boot (1.5.10.RELEASE) (war) 实例, 我的问题是要在 WebSphere Liberty Core 8.5 中运行这两个具有相同端口但具有不同上下文的实例?
我的 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"/>
结果:
**http://hostname:9081/interactioncorpcontext-a**
**http://hostname:9081/interactioncorpcontext-b**
【问题讨论】:
标签: spring-boot websphere-liberty websphere-8