Retrieve file from server java.io.FileNotFoundException (Access is denied)
807569Jul 14 2006 — edited Jul 17 2006Hi Everyone,
I am running a web service locally to retrive a file from a server. It runs fine locally, but when deployed to a server on our network, i get a java.io.FileNotFoundException (Access is denied).
I figure the problem is this: When running locally, the service has permission to hit the NT server that the file is on because it is running it while I am logged in. When the service is running on a remote machine, the windows nt the account that the service is running under doesnt have permission to hit the server that the file is on. Any idea's on how to resolve my problem? Do I need to somehow authenticate to that server to retrieve the file?
Thanks so much for your help.
Cheers,
Cory