This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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
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.
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.
Joined: May 11, 2003
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.
[ June 23, 2006: Message edited by: Fabrizio Castrotorres ]
[ June 23, 2006: Message edited by: Fabrizio Castrotorres ] [ June 23, 2006: Message edited by: Fabrizio Castrotorres ]