aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "WebApp: Error 404" Watch "WebApp: Error 404" New topic
Author

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: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
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.
 
 
subject: WebApp: Error 404