File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes WebApp: Error 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "WebApp: Error 404" Watch "WebApp: Error 404" New topic

WebApp: Error 404

Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
WebApp: Error 404
I shut down my Linux box without stoping Tomcat when it came back up I get the above error msg regardless of what page I try to load.
Web-application not yet deployed.
Any idea as to how to fix this?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

Without seeing it, only guesses.
Check the tomcatx/webapps directory to see if your webapps are there and if they have been unpacked. Check the server.xml file for context definitions.
Just shutting down the OS shouldn't make anything disappear unless the way you shut down the OS involved yanking the power cord out of the box and having the system come up deleting damaged files.
Still, a clean Tomcat shutdown is preferable so you can have the apps flush their file caches and so forth.

An IDE is no substitute for an Intelligent Developer.
Carl Parrish
Ranch Hand

Joined: May 03, 2002
Posts: 60
The apps seem to be there and the server.xml file seems intact but I noticed that my work dir is empty.
I agree. Here's the link:
subject: WebApp: Error 404
It's not a secret anymore!