This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

webgroup not found exception in wsad

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

[11/02/05 16:01:42:587 GMT] 4f8aa089 SystemErr R MQJE001: Completion Code 2, Reason 2058
log4j:ERROR MQAppender:_connectToQueue:com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2058

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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Unni. That fixed the problem for me
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ]
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted 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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 397
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks in Advance !

Regards,
Prabhat


 
    Bookmark Topic Watch Topic
  • New Topic