Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Retrieve file from server java.io.FileNotFoundException (Access is denied)

807569Jul 14 2006 — edited Jul 17 2006
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2006
Added on Jul 14 2006
14 comments
1,201 views