This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Apache cannot recognize folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache cannot recognize folder" Watch "Apache cannot recognize folder" New topic

Apache cannot recognize folder

Sahana Hegde
Ranch Hand

Joined: Jan 27, 2008
Posts: 67
Hi Guys,

Tomcat is unable to recognize a folder on the server. We have a folder where we upload files. We can find the folder structure on the server but a request to a file in that server or when I click on the folder name in Tomcat manager
it returns 404. An entry is present in the server.xml too.
Sahana Hegde
Ranch Hand

Joined: Jan 27, 2008
Posts: 67
The server.xml has an entry <context path="/io"....>
In the tomcat manager , it shows it as started.
Sahana Hegde
Ranch Hand

Joined: Jan 27, 2008
Posts: 67

I created another context path with a test folder and it is not recognized too. I am using tomcat 6. Any suggestions?
Anadi Misra
Ranch Hand

Joined: Jun 03, 2008
Posts: 69

Leave those tasks to apache httpd, in other words it will be better to serve that directory through apache HTTPD or IIS, and keep tomcat for your web app.

Anadi Mishra.
I agree. Here's the link:
subject: Apache cannot recognize folder
Similar Threads
Saving upload file to a specific folder in server
Adding an External Directory
Deleting the WAR file in Tomcat
jboss not able to read .war file
Question about deploy war file in tomcat 4.1