Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

EAR deployed in websphere 6.1 but URL is not working ................

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have deployed my Ear in websphere server 6.1 developed in RAD , after deployement at server console it is giving the information like :
the application is started.....

i have also done all the data source and JNDI related entries done. But when i m trying to run the application from browser

like http://localhost:9080/mcd1/mcdWeb/editmcdyear.do

but it is giving following error in server console.........

2/4/09 16:05:29:703 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:34:907 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:35:688 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:36:203 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:36:672 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:37:125 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:37:516 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:37:797 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:44:094 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/editmcdyear.do has not been defined.
[2/4/09 16:05:50:485 IST] 0000002d WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/editmcdyear.jsp has not been defined.
[2/4/09 16:05:54:563 IST] 0000002d WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/editmcdyear.do has not been defined.
[2/4/09 16:06:07:375 IST] 0000002d WebContainer E SRVE0255E: A WebGroup/Virtual Host to handl /mcd1/mcdWeb/editmcdyear.do has not been defined.


please provide me help as soon as possible..........thnks in advance


 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Admin Console, under the heading "Environment", click virtual hosts. If there is not a virtual host set up for port 9080, add one.
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure you also regen the Plugin .........
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two things:

1. Ensure you update virtual host listed under "Environment-->Virtual Host-->default_hosts-->host_aliases"
Hostname as * and Port as 9080

2. At the time of deploying the EAR file select the WebServer (HTTP Server) along with the Web Container/Cluster. This way your plug-in file will also get generated.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!