如何更改消息"webgroup/virtual host to handle has not been defined"?
How to change the message "webgroup/virtual host to handle has not been defined"?
当我在 Websphere 8.5 上停止应用程序并尝试访问该应用程序时,
我收到消息:webgroup/virtual host to handle has not been defined
这是正常的。
我想将此消息更改为其他内容。这可能吗?
找到解决方案:
打开 IBM 管理控制台
https://localhost:9043/ibm/console
导航到服务器 -> 服务器类型 -> WebSphere Application Server -> server1-> Web 容器设置 -> Web 容器 -> 自定义属性
单击“新建”按钮添加新属性并填写下面给出的详细信息,然后“应用”和“确定”。
姓名:com.ibm.ws.webcontainer.webgroupvhostnotfound
值:自定义错误消息。 (例如服务器维护中,请稍候访问)
重新启动 WAS。
当我在 Websphere 8.5 上停止应用程序并尝试访问该应用程序时,
我收到消息:webgroup/virtual host to handle has not been defined
这是正常的。
我想将此消息更改为其他内容。这可能吗?
找到解决方案:
打开 IBM 管理控制台
https://localhost:9043/ibm/console
导航到服务器 -> 服务器类型 -> WebSphere Application Server -> server1-> Web 容器设置 -> Web 容器 -> 自定义属性
单击“新建”按钮添加新属性并填写下面给出的详细信息,然后“应用”和“确定”。
姓名:com.ibm.ws.webcontainer.webgroupvhostnotfound
值:自定义错误消息。 (例如服务器维护中,请稍候访问)
重新启动 WAS。