• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

server created in eclipse not showing welcome page of tomcat

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All
I am trying to deploy web application on Tomcat 6.0. I have installed tomcat on C drive in nonwhitespace directory. In browser when I am giving "http://localhost:8081/", its showing me tomcat's welcome page. In eclipse I have created server but when I am trying to browse "http://localhost:8081/" with newly created server .It is giving me HTTP status 404 error. Please help me.
 
Bartender
Posts: 4100
63
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Bhushan Devare!
How have you started the Tomcat once you configured the instance in Eclipse?
 
bhushan devare
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just started it from Eclipse. Right click on sever & select start option.
 
Ranch Hand
Posts: 55
Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Did you add the project before starting tomcat from eclipse?
 
bhushan devare
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nipun. Yes, I have added the project to server
 
Vijitha Kumara
Bartender
Posts: 4100
63
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it's a normal behavior in WTP 2.0 as it uses a separate instance by default. Read more about it here. If you want to access ROOT context of your Tomcat installation you may add it under the modules of your server configuration in Eclipse.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!