Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Testing and the fly likes access denied 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 » Engineering » Testing
Bookmark " access denied " Watch " access denied " New topic
Author access denied

Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
I'm trying to get my permissions to work properly. I get the error below and pasted below that is the supporting code which includes the policy file and java file being tested. I know my path is correct and that I have enabled read and write so I'm not sure why its giving me the error? Thoughts? Is there something that I'm missing? As I said I'm positive the path is correct and I have a stable internet connection so I know dropbox is connected.

Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

I skipped over all that code, but it looks like you have an extra " character in line 4 of your policy file.
Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
Your right, I took care of the extra " mark but it still gives the same error. Didn't see that though thanks.
It is sorta covered in the JavaRanch Style Guide.
subject: access denied
Similar Threads
Which to permission to grant to allow reading files from inside JAR files.
Environment Variable!!
Simple RMI Question ...
JAR + Saving and Uploading files
JAAS programatically