A WebGroup/Virtual Host to handle / has not been defined

我与影子孤独终老i 提交于 2021-01-27 03:51:15

问题


I am getting following exception when trying to launch a store using Websphere commerce

A WebGroup/Virtual Host to handle / has not been defined
SRVE0255E: A WebGroup/Virtual Host to handle localhost:80 has not been defined.

I have tried this,

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

and this

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

but no use still getting error and unable to launch store(tried to launch store via Accelerator too).

What should I do to make it work properly?


回答1:


Looks like you are accessing your store either via http server or you have changed default web container port. Go to admin console Environment > Virtual hosts > defautl_host (or host that is mapped to your module if different) > Host aliases. Add new alias *:80. Restart the server.




回答2:


Try the following:

-Access the WebSphere Application Server Administrative Console

-go to Applications -> Applications Types -> Websphere Enterprise Applications

-choose WC module from main screen

-then go to Virtual Hosts

-most cases the "WC_default_host" will be defined for all sub modules, make sure of that, if that is the case and still is not working, try to choose "default_host" for all sub modules and then save changes and restart.

I faced that problem once, and this way I have fixed it in my case.




回答3:


I resolved a similar issue by temporarily disabling my Antivirus. So you may also want to check your antivirus settings and if possible temporarily disable it.




回答4:


...or you may not have the webapp deployed at all. It is a quite common error message that I encounter when I try to access a Rest Api on the App while I have it undeployed! Please make sure you get it up before you try again.




回答5:


If you having the message "WebGroup/Virtual Host to handle /yourwebmodule has not been defined" for some reason in your app Virtual host has not been defined

You can access the WebSphere Application Server Administrative Console

1ST Select : View -> All tasks
GOTO Applications -> Applications Types -> WebSphere enterprise applications
THEN click on application that having the problem and go to -> Virtual Hosts

Now you can see your Web module and a drop down in "Virtual host"

Select your Virtual host and save

A work around is to:

GOTO Environment -> Virtual hosts -> default_host

and use for Host Name (*) in the port that you are using and save, check if the option saved.

If for any reason you can't save, a web server is off line and can't synchronize settings.




回答6:


SRVE0255E: A WebGroup/Virtual Host to handle localhost:80 has not been defined. I have deployed an application and generated pulgin and propagated also. when I acces with webserever I'm getting above error.

Sol: I have gone through all the setps what I've performed , finally I found that my I forget to start my appliction.

I have started my application and now able to access .



来源:https://stackoverflow.com/questions/19357822/a-webgroup-virtual-host-to-handle-has-not-been-defined

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!