This discussion is archived
9 Replies Latest reply: Mar 5, 2011 3:08 PM by balind RSS

sometimes: java.lang.SecurityException: Permission denied

balind Newbie
Currently Being Moderated

we are using a lot of signed applets in our Web application (used web server: JBoss 5.1).

For example we use an applet in javascript code and call some of applet's methods. The called java methods are privileged code.

Since Update to JRE 1.6.0_24 we are getting sometimes:
Permission denied: null

java.lang.SecurityException: Permission denied: null
     at sun.plugin2.applet.Plugin2Manager$ Source)
     at Source)
Ausnahme: java.lang.SecurityException: Permission denied: null no protocol: ./Test.jar
     at<init>(Unknown Source)
     at<init>(Unknown Source)
     at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager.setupGrayBoxPainter(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager$ Source)
     at Source)

Test.jar is signed. Most of the time Test.jar can be found. The problem seems to appear in case of new JVM (and new java console).
We arent't operating on the local file system.

Are there any ideas, known problems?

Thanks in advance.


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