• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Http Status Error 404 in Tomcat 5.5.35

 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 28402
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic