File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "AccessControlException" Watch "AccessControlException" New topic


Sudhanshu Techie

Joined: Aug 12, 2004
Posts: 4
i am trying to launch an application using java web start,i created a jar file-containing :all class

files,resource files,a access database,jdbc.obdc.class file.

i then created a jnlp file ,launched the application using web start,i get the following exception in the log

file:- access denied ( resources\

read) is afile which my application access,i tried signing the jar file,changing the policy file as


grant codeBase "file:/resources/*" {

i also tried using:-
public Object run()
{ // do priv stuff here.
return null; // return whatever you want.
in my application code.

but i get the same exception ,what should i do?

I agree. Here's the link:
subject: AccessControlException
It's not a secret anymore!