• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

HTTP Status 404 error.. Help required.  RSS feed

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

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.

Please help me to resolve this.

Thanks in advance..
 
Cm Ananth
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone please respond.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!