• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server created in eclipse not showing welcome page of tomcat

 
bhushan devare
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.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • 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.
 
Nipun Bahr
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: 3913
9
Chrome Fedora Hibernate
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic