• 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

unable to start tomcat

 
Ranch Hand
Posts: 1102
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone i have installed eclipse and tomcat both and configured tomcat in eclipse, but what is happening is whenever i m starting server from eclipse server panel and trying to access localhost in my browser it giving me the following error:

HTTP Status 404 - /

type Status report

message /

description The requested resource (/) is not available.

Apache Tomcat/5.5.33


but when i m running any web project, it's running in the eclipse browser and browser.
can anyone please tell me why i m not able to access localhost, what i m doing wrong and how can i resolve this.

Thanks in advance.
 
Sheriff
Posts: 21760
102
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To access http://localhost you must have a web application called ROOT (capital case). This is then considered to be the root web application. It seems like you're missing it.
 
Punit Jain
Ranch Hand
Posts: 1102
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for replying but i m not getting what you want to say, can you please explain your answer and also what should i do to access localhost, and also what do you mean by web application ROOT..?
 
Marshal
Posts: 6341
1114
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ROOT is the name of the default web application that runs when you access http://localhost:port . Do you see a web application called ROOT in the webapps directory?
[Edit: typo]
 
Punit Jain
Ranch Hand
Posts: 1102
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, and yes my webapps directory has ROOT.
 
Devaka Cooray
Marshal
Posts: 6341
1114
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check the Tomcat logs, which are in %Tomcat_Home%/logs directory?
 
Punit Jain
Ranch Hand
Posts: 1102
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes but there is nothing inside my logs folder.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!