aspose file tools*
The moose likes Tomcat and the fly likes Problem with hosting web application on tomcat / error 404 for an exists file 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 "Problem with hosting web application on tomcat / error 404 for an exists file" Watch "Problem with hosting web application on tomcat / error 404 for an exists file" New topic
Author

Problem with hosting web application on tomcat / error 404 for an exists file

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post.
I have a web application which i developed and works well on my tomcat 5.5.9
Now i purchase a hosting plane with tomcat 5.5.9 it is on linux and have cpanel.
they said that i should upload all contents of my war file into http_doc folder , so i did
I used ftp to upload them all , now that i try to access my web site it return
HTTP Status 404 - /index.jsp

meanwhile index.jsp in under that www folder.
I test the server by uploading an html file to make sure that i put content of war file in correct place. nad it works ok with HTML file.
can some one help me about this problem ?


Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This would be difficult for us to diagnose since it's probably a custom configuration of Tomcat.
Many hosting companies have a forum of their own.
The better ones will be visited often by hosting company staff.
I would try with them first.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with hosting web application on tomcat / error 404 for an exists file