Just_another_developer
Just_another_developer

Reputation: 5957

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

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?

Upvotes: 11

Views: 140062

Answers (7)

I had the same problem. In the web.xml file I did revert ( Team | Revert ) with the old file everything worked again. Probably WebSphere generated a default web.xml which made the application stop working.

Upvotes: 0

Dimitrios
Dimitrios

Reputation: 1212

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.

Upvotes: 1

user13219534
user13219534

Reputation: 1

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 .

Upvotes: -1

wirewolf
wirewolf

Reputation: 9

...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.

Upvotes: 0

Marvic
Marvic

Reputation: 167

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.

Upvotes: 0

Abed Yaseen
Abed Yaseen

Reputation: 522

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.

Upvotes: 5

Gas
Gas

Reputation: 18020

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.

Upvotes: 6

Related Questions