This discussion is archived
10 Replies Latest reply: Apr 22, 2013 7:00 AM by 943372 RSS

AccessControlException: access denied but jars are signed with JRE 1.7.0 13

943372 Newbie
Currently Being Moderated

I deployed an ear which contains a war on jboss 7.

The war containers signed jars in directory jnlp. The jnlp descriptor references the all jars in directory jnlp. The jnlp descriptor contains:


The exception I get: access denied ("" "D:\tmp" "read")
     at Source)
     at Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkRead(Unknown Source)
     at Source)
     at mypackage.ImageLoader.loadImages(

In the method of File.exists() is called.

I created my keystore: keytool.exe -genkeypair -keyalg rsa -alias mycert -keystore test_keystore.jks -storepass mypassw -keypass mypassw -validity 360

Then I use the maven-webstart-plugin to created the jnlp descriptor and it also sign the jars and verifies ist.

I got really stucked...has someone an idea?


Edited by: opfl on 12.02.2013 03:44


  • Correct Answers - 10 points
  • Helpful Answers - 5 points