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

Just_another_developer picture Just_another_developer · Oct 14, 2013 · Viewed 98k times · Source

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?

Answer

Abed Yaseen picture Abed Yaseen · Oct 14, 2013

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.