Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Http Status Error 404 in Tomcat 5.5.35

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

I have deployed my app. successfully in tomcat 5.5.35 by integrating with eclipse. I am able to see the respective application context (module) created in "wtpwebapps" in eclipse plugins with respective files. My index.html is outside the WEB-INF and is defined in web.xml. But when I hit the app in the browser (http://localhost:8080/MyApp) I am getting http status error 404? What change I need to do to make it work? Is there anything I am missing here? The tomcat home page is coming up. Please clarify.

Thanks.
 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A 404 might mean that your App is not deployed fully and there is potentially an error somewhere that occurred during deployment. Have a look at the log files.
 
Rithanya Laxmi
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no error/exceptions in log files , why the tomcat/logs is "empty"? the deployed is successful. Please clarify.
 
Saloon Keeper
Posts: 22479
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably because you're using Eclipse. WIth the WTP J2EE plugin that comes in the Eclipse J2EE spin. Which does rude things to the Tomcat configuration.

Tomcat should be producing logs, and if the webapp is deployed, one of the things that should be IN those logs are messages that indicate what webapps are being deployed as Tomcat starts up. An empty log means that you've probably not appeased the Eclipse WTP plugin.
 
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic