9 Replies Latest reply: Mar 5, 2011 9:08 AM by balind RSS

    sometimes: java.lang.SecurityException: Permission denied

    balind
      Hello,

      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$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      Ausnahme: java.lang.SecurityException: Permission denied: null
      java.net.MalformedURLException: no protocol: ./Test.jar
           at java.net.URL.<init>(Unknown Source)
           at java.net.URL.<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$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown 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.