I downloaded a project workspace from different machine to my machine & the project compiled with no errors. once i start the application in my test server and i observed in the console that it listens http request on port 9080. When i tried to access the application by typing
"http://localhost:9080/myproject" i am seeing the following error message at the console. " Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /myproject has not been defined ".
/myproject is clearly defined in the contextroot.
i searched in the google and could not find any useful information.
The same application is working in the other machine. Is there any wrong with my configuration? I really appreciate your help.
Thanks in advance.
Peter Kristensson
Ranch Hand
Joined: Jul 02, 2001
Posts: 118
posted
0
Hi.
I think you'll need to verify the settings for your virtual host. They are available under the "Ports" tab in the server configuration in WSAD. Check that *:9080 is listed in the "Cell settings" -> Host alias list
cheers /Peter
satya kiran
Ranch Hand
Joined: Nov 07, 2000
Posts: 52
posted
0
Hi Peter,
Thanks for your post. I Verified the ports and 9080 is present in the list. Do i need to verify any other place?
Inderveer singh
Greenhorn
Joined: Feb 08, 2005
Posts: 15
posted
0
WebContainer W SRVE0017W: Web Group not found: default_host/myProject OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group default_host/myProject has not been defined
Simple solution if u have done the above things and still face this problem in WSAD isSoln--: Restart the application ( restart WSAD) [ February 08, 2005: Message edited by: Inderveer singh ]
unni krishna
Ranch Hand
Joined: Jul 14, 2004
Posts: 39
posted
0
We had a similar problem with WSAD. It got rectified when we entered [Virtual Host Name : default_host] in web.xml. (Open web.xml in WSAD and select Overview tab. Look for Websphere Bindings at bottm right.)
Software Engineer (SCJP)<br />USTechnology, CA
Alison Swift
Greenhorn
Joined: Feb 11, 2005
Posts: 2
posted
0
I am having this problem too. I'm running Websphere Application Server v5.1.1 on XP. When I start the server (v5.0) I get this error:
but am told the server is open for e-business. When I try to run my app, I get the error:
Web Group not found: default_host/APIReceiver [11/02/05 16:21:37:786 GMT] 467ce084 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group default_host/APIReceiver has not been defined
I have checked my web.xml file (WebSphere Bindings/virtual host name is set to 'default_host') I have also checked Cell Settings (under the ports tab for the server) and all seems fine - the port I am using is included.
Any ideas? Could it be my server version? (Am not able to get 5.1 server running, but it doesn't look as though my colleague has either). could it be that the code was written and compiled on 5.1.2?
Inderveer singh
Greenhorn
Joined: Feb 08, 2005
Posts: 15
posted
0
Hi Alison Swift It seems the server is not getting linked with the application files. Select the initial Jsp of your applicaton from webfolder, right click it and click on "RunOn Server" from WSAD itself. it wil prompt u to select the server if server is not linked. If server settings not found then refresh the project and restartd wsad.
If its on your Websphere then u the deployment is not proper.
Faris A Saduli
Ranch Hand
Joined: Feb 22, 2005
Posts: 58
posted
0
Hi i made all the necesarry chnages as you people mentione but still i'm getting
OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /HSA/login.jsp
Help meeeeeeeeeeee
John Collins
Greenhorn
Joined: Mar 08, 2005
Posts: 1
posted
0
The only time I encountered an issue like this I had forgotten to RMIC a dependant EJB project. I recommend you look in the WSAD console for an error along the lines of
EJBContainerI E WSVR0209E: Unable to prepare EJB jar XXXXXX
WAS uses a compound class loader that can cause this issue to appear.
Hope this helps.
JC
Harinee Mosur
Greenhorn
Joined: Mar 17, 2005
Posts: 1
posted
0
Thanks Unni. That fixed the problem for me
Harinee M<br />SCJCP<br />SCWCD
S Sand
Greenhorn
Joined: Oct 08, 2004
Posts: 13
posted
0
Ok..... So i checked the web.xml it is fine I did the run on server on my servlet I checked the port- it is 9080 I rght.click in my EJB project in WSAD and did RMIC
But still i have the error, please see my console and help me
EJBContainerI I WSVR0041I: Stopping EJB jar: MDBSampleEJB.jar
EJBContainerI E WSVR0042E: Unable to stop MDBSample#MDBSampleEJB.jar#SampleMDB: <null>
Module, MDBSampleEJB.jar, of application, MDBSample.ear/deployments/MDBSample, failed to start
An occurred starting, MDBSample Stopping application: MDBSample Application stopped: MDBSample Transport http is listening on port 9,080. HttpTransport A SRVE0171I: Transport https is listening on port 9,443. RMI Connector available at port 2809 Server server1 open for e-business OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /MDBSampleWeb/index.html has not been defined
so I am just assuming that my EJB project MDBSampleEJB is not be able to recognizse. For your information i'm doing the Lab on Chapter 27-Enterprise Java Prog with IBM Websphere by - Kyle Brown
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
posted
0
Originally posted by JavaByChoice: Ok..... So i checked the web.xml it is fine I did the run on server on my servlet I checked the port- it is 9080 I rght.click in my EJB project in WSAD and did RMIC
But still i have the error, please see my console and help me
EJBContainerI I WSVR0041I: Stopping EJB jar: MDBSampleEJB.jar
EJBContainerI E WSVR0042E: Unable to stop MDBSample#MDBSampleEJB.jar#SampleMDB: <null>
Module, MDBSampleEJB.jar, of application, MDBSample.ear/deployments/MDBSample, failed to start
An occurred starting, MDBSample Stopping application: MDBSample Application stopped: MDBSample Transport http is listening on port 9,080. HttpTransport A SRVE0171I: Transport https is listening on port 9,443. RMI Connector available at port 2809 Server server1 open for e-business OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /MDBSampleWeb/index.html has not been defined
so I am just assuming that my EJB project MDBSampleEJB is not be able to recognizse. For your information i'm doing the Lab on Chapter 27-Enterprise Java Prog with IBM Websphere by - Kyle Brown
Actually all this is telling you is that there is no index.html defined for that Web Application. If you look on page 652 (section 27.3.1.6 Test and Debug) you'll see that you don't start the test by invoking index.html, but by directly invoking the servlet whose URL is at the bottom of the page. If you selected the web app and said "Run on Server" then it tries to invoke index.html -- which is not defined for this Web App, as I stated above -- and you get this message. Just ignore the informational message and test using the servlet described above.
If the EJB Jar is not starting, it's due to something else -- you'll have to post any other messages above the ones you've shown here for us to debug that.
Kyle [ March 20, 2005: Message edited by: Kyle Brown ]
Actually all this is telling you is that there is no index.html defined for that Web Application. If you look on page 652 (section 27.3.1.6 Test and Debug) you'll see that you don't start the test by invoking index.html, but by directly invoking the servlet whose URL is at the bottom of the page. If you selected the web app and said "Run on Server" then it tries to invoke index.html -- which is not defined for this Web App, as I stated above -- and you get this message. Just ignore the informational message and test using the servlet described above.
If the EJB Jar is not starting, it's due to something else -- you'll have to post any other messages above the ones you've shown here for us to debug that.
Kyle
[ March 20, 2005: Message edited by: Kyle Brown ]
Prasanna karthik
Greenhorn
Joined: Mar 21, 2006
Posts: 2
posted
0
Originally posted by Prasanna karthik: [QB][/QB]
hi all,
i am getting the same exception and the points which are discussed in the interaction is really good and i checked all the things which have been mentioned such as Websphere bindings and cell settings etc. but still i m getting the exception. i am calling a faces JSP page from a servlet, the servlet redirects to the faces JSP, the thing is that the page is not getting displayed and its throwing 404 Exception ( page not found).
The followind is the error:
OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /TaxApproveWeb/faces/ApprovalTab.jsp has not been defined
please help me
srinivasa v reddy
Greenhorn
Joined: Mar 17, 2006
Posts: 7
posted
0
Follow the steps. 1) import the war file from out side 2) click on project(war name) 3) click on project->properties 4) select javabuildpath and copy rt.jar file from jdk directory 5) rebuild the application(rebuild all)(select project->rebuild all) 6) restart the server 7) Run the application
it will work
Ari Meyer
Greenhorn
Joined: May 10, 2006
Posts: 2
posted
0
I resolved my "Virtual Host/WebGroup Not Found" error by modifying the "application.xml" file for my EAR (aka: "Application Deployment Descriptor"). In the "Module" tab, just change the "Context root". If, as in the first post, the error said, "The web group /myproject has not been defined", enter just "myproject" there.
Hope this helps! Ari
Tim Manchester
Ranch Hand
Joined: Nov 03, 2004
Posts: 62
posted
0
I tried everything I could think of to alleviate this problem. Finally in frustration, I blew away my server (deleted the server and server configuration) and built a new one. Then it worked. I still don't know what went wrong, but that was the fix.
This is MY world. You are just living in it.
LP@com Neni
Greenhorn
Joined: Dec 13, 2006
Posts: 1
posted
0
I had a similar problem and I tried all the several different options specified but didnt work. I am working on simple struts application and initial webpage is displaying fine when directly accessing it, but am getting an error in returning success page.I tried updating the context-root in application.xml but as soon as I do a refresh, its setting to a previous default value.
Finally the problem got solved by changing context-root in .websettings file under Web project.
J�rgen Vasshaug
Greenhorn
Joined: Dec 27, 2006
Posts: 1
posted
0
I've had this problem as well, but it was solved by refreshing the context root in the application.xml file in the J2EE project. In my particular situation it seems that when you change which is the web project in your J2EE application, the context root in the application.xml file defaults to the name of the web project & not the Context root defined in the J2EE category of the web project [ December 27, 2006: Message edited by: J�rgen Vasshaug ]
Pavan Kumar
Greenhorn
Joined: Jun 08, 2005
Posts: 23
posted
0
I tried the Add/Remove Projects option which you see when you right click on the server and removed and added the project back again and it helped. I guess my problem occured when I changed the name of my EAR Project.
Ari Meyer
Greenhorn
Joined: May 10, 2006
Posts: 2
posted
0
Yes, per the previous posts, I have also encountered many problems with WSAD where, in one way or another, some bizarre error can only be resolved by refreshing the environment in some way. I also just got my test server running again by removing then re-adding the same projects back to my Server. Everything looks exactly the same as before, but now it works. Go figure...
krizel clemente
Greenhorn
Joined: May 30, 2007
Posts: 5
posted
0
i have also encountered same problem, what i did was, i have created new EAR then added the project to it, rebuild all, then run the application and it worked.
FYI
David Robledo
Greenhorn
Joined: Feb 25, 2009
Posts: 1
posted
0
i also encountered a similar error, i cannot login to my application because of the "webgroup not found" error. after reading this forum i got the idea to check my websphere bindings. luckily enough i noticed that my virtualHostName was wrong. i just corrected it, then just like magic, i was able to login! thanks guys!
Prabhat Ranjan
Ranch Hand
Joined: Oct 04, 2006
Posts: 361
posted
0
Hi All,
I am getting also this message while starting the server:
My server is running but console getting 2 errors:
1) 19-3-09 13:51:10:268 CET 35939a47 ApplicationMg A WSVR0221I: Application started: IBMUTC
19-3-09 13:51:10:284 CET 35939a47 ApplicationMg A WSVR0200I: Starting application: ProjectEAR
19-3-09 13:51:11:034 CET 35939a47 WebContainer A SRVE0169I: Loading Web Module: Project.
19-3-09 13:51:12:127 CET 35939a47 WebGroup E SRVE0054E: An error occurred while loading Web application
19-3-09 13:51:12:252 CET 35939a47 DeployedAppli W WSVR0206E: Module, project.war, of application, ProjectEAR.ear/deployments/ProjectEAR, failed to start
19-3-09 13:51:12:252 CET 35939a47 ApplicationMg W WSVR0101W: An error occurred starting, ProjectEAR
19-3-09 13:51:12:252 CET 35939a47 ApplicationMg A WSVR0217I: Stopping application: ProjectEAR
19-3-09 13:51:12:268 CET 35939a47 ApplicationMg A WSVR0220I: Application stopped: ProjectEAR
2) Web Group not found: default_host/SocialeZekerheid
[23-3-09 7:24:44:666 CET] d90576a OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group default_host/Project has not been defined
I am using Websphere Test Environment 5.1 version where we don't have Admin Console facility.