Java Servlet says file does not exist
Posted
by Austin
on Stack Overflow
See other posts from Stack Overflow
or by Austin
Published on 2010-06-09T20:47:12Z
Indexed on
2010/06/09
20:52 UTC
Read the original article
Hit count: 206
Hello World!
I have developed a java servlet that monitors a folder on a network drive for new files then does some actions on them depending on what kind of file it is. It worked in Eclipse when Eclipse and Tomcat were running with each other, but now that I have deployed it onto a server(different machine), the servlet keeps logging that it cannot find the folder to be mapped. The exact same network drive is mapped, and the folder definitely exists. This problem only occurs when the servlet is run on the server, not on the development machine.
Thanks!
PS: It is a Windows Server 2003 Enterprise Server with Tomcat v6 installed.
© Stack Overflow or respective owner