Virtual Host/WebGroup Not Found in wsad 5.0 test environment
Arnab Mitra
Greenhorn
Joined: May 11, 2003
Posts: 8
posted
0
Hello, I am trying to deploy and run a j2ee project using wsad 5.0 The ejb module deploys and runs fine bur while trying to run the web module as part of a j2ee project i get the following exception: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group / has not been defined Could anyone please suggest how to solve this problem? Thanks in advance -Arnab Mitra
Melih Onvural
Greenhorn
Joined: Jul 13, 2005
Posts: 2
posted
0
Build the project and it should solve the problem.
vishwa venkat
Ranch Hand
Joined: Nov 22, 2003
Posts: 185
posted
0
check the deployment descriptors. possibly rebuilding project may solve the problem.
Satish Chilukuri
Ranch Hand
Joined: Jun 23, 2005
Posts: 266
posted
0
There are many reasons for why you that exception. Below are the reasons that I know of, which can cause a "Virtual Host/WebGroup Not Found" exception.
1. The context name/path is wrongly given while trying to access a resource from your webpage(ex: images/javascript files).
2. If your Virtual Host mapping is wrong (if you are using virtual hosts). Actually I have never worked with that option. Found that this too might be a reason when I googled for the problem.
3. If your server didn't start properly. We once had an exception while starting the server. Our ejbs weren't properly deployed and that throwed an exception. When we tried to run our web app, we got the Virtual host exeption.
Arnab Mitra
Greenhorn
Joined: May 11, 2003
Posts: 8
posted
0
The problem at that time (if I remember correctly) of course was that the Virtual Host with path was not defined at all. Defining that had solved the problem.
"virtualHostName" points to the virtual host defined. Generally if you have virtual host be "default_host" on your websphere studio environment it should work. This value can be different if you copied this WAR file from a development server. When you deploy it, you may need to change it as well. I hope this helps.
-Fabrizio
[ June 23, 2006: Message edited by: Fabrizio Castrotorres ]
[ June 23, 2006: Message edited by: Fabrizio Castrotorres ] [ June 23, 2006: Message edited by: Fabrizio Castrotorres ]