Im using tomcat 4.1 and I have deployed a WAR file under the webapps folder of tomcat. Tomcat deployed that WAR file on the fly and when i try to access that application("http://localhost:8080/Myapp/index.html") im getting the "Requested resource is not available" error.
index.html is actually present under Myapp folder (not under any sub folders).
I have verified that my application has web.xml and other configurations properly. Sometime back i have deployed the same WAR file in the same way. It was working fine.
try deleting temporary files of your application under "<tomcat dir>/work" directory....Also when you place war file inside webapps..it also extracts it automatically unders same folder.try deleting all your application files under webapps and place the war again in web apps.
1. check whether the deployment process finished successfully 2. check whether your tomcat instance listens port 8080 (or whichever you point) 3. check whether the name of your web application (by default - the name of war file without dot and extension) is equal to requested by you 4. check whether the name of file inside a web application archive is the same as requested by you (very often file is index.html, but one try to access index.htm or vice versa) 5. do not place your publicly accessible file inside WEB-INF directory
and at last rarely but check if network service is running. Try ping localhost. If ping will fail - then the reason is in your operation system. [ February 20, 2008: Message edited by: Pavel Cherkashin ]