Daniel L. Gross wrote:
> I have a servlet that does a direct read from a mapped drive in
> Windows.  It works fine in tomcat as long as I use a drive on the local
> machine.  However, I need to access a mapped drive on a different
> machine.  When I run the program, I get a FileNotFound error in JAVA and
> (access denied) next to it.  Is there some permissions that need to be
> set so my servlet can access a file on another machine.  And how do I
> set this in Tomcat/JAVA.
> 
> Thanks,  Dan Gross ATLC

This comes down to the Windows user Tomcat is running as. You need to
make sure that that user has the necessary access to the network drives.

If you are running as a service, the default user for services has
zero privs on other machines. Usually what is required is to configure
the service to log on as a domain user that has the necessary access.

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to