在WAS控制台,环境下添加新的虚拟主机别名

错误现象:

11/16/13 16:52:22:612 CST] 00000021 util          W com.ibm.ws.webcontainer.util.VirtualHostContextRootMapper map SRVE0316W: Request matches the context root [//*] under the virtual host alias of [*:9061].
[11/16/13 16:52:22:614 CST] 00000021 util          W com.ibm.ws.webcontainer.util.VirtualHostContextRootMapper map SRVE0317W: You may need to add a new virtual host alias of *:<your port> to the same virtual host that [*:9061] is under.
[11/16/13 16:52:22:616 CST] 00000021 webcontainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle //jsp/portal/initLogin.action has not been defined.


------------

解决办法:


一个应用不仅发布到某个server,还发布在某个虚拟主机上。很明显现在你更改了Server的WC_defaulthost端口,但是相应的虚拟主机里没有添加这个端口。进入你发布到的虚拟主j机,一般是default_host,添加更改的那个端口,然后重启服务。

具体操作:
在 Administrative Console 中通过 Environment > Virtual Hosts > default_host > Host Aliases 来为默认主机添加附加端口的支持。单击 New 以添加一个新的别名。用 * 作为主机名(* 代表任意主机名),用 9081 作为端口值。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值