要处理/尚未定义的WebGroup/Virtual Host

Jus*_*per 7 websphere websphere-commerce

我在尝试使用Websphere商务启动商店时遇到异常

A WebGroup/Virtual Host to handle / has not been defined
SRVE0255E: A WebGroup/Virtual Host to handle localhost:80 has not been defined.
Run Code Online (Sandbox Code Playgroud)

我试过这个,

http://pic.dhe.ibm.com/infocenter/wchelp/v6r0m0/index.jsp?topic=%2Fcom.ibm.commerce.esupport.doc%2Fhtml%2FDevelopment%2Fswg21230161.html

还有这个

http://pic.dhe.ibm.com/infocenter/iicdoc/v1r5m0/index.jsp?topic=%2Fcom.ibm.iic.doc%2Fts_installwgvh.html

但没有使用仍然得到错误,无法启动商店(试图通过加速器启动商店).

我该怎么做才能让它正常工作?

Abe*_*een 5

请尝试以下操作:

-访问WebSphere Application Server管理控制台

-转到应用程序->应用程序类型-> Websphere企业应用程序

-从主屏幕选择WC模块

-然后转到虚拟主机

在大多数情况下,将为所有子模块定义“ WC_default_host”,如果是这种情况,但仍然无法正常工作,请尝试为所有子模块选择“ default_host”,然后保存更改并重新启动。

我曾经遇到过这个问题,因此我已经解决了这个问题。


Gas*_*Gas 5

您似乎是通过http服务器访问您的商店,或者您更改了默认的Web容器端口.转到管理控制台Environment > Virtual hosts > defautl_host(或者如果不同则映射到模块的主机)>主机别名.添加新别名*:80.重启服务器.