Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6797603

Java applet receives java.security.AccessControlException: access denied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 6u11
    • deploy
    • None
    • x86
    • windows_xp

      Java applet receives java.security.AccessControlException: access denied:

      Here is the exception message (please find log file attached):

      security: Checking if certificate is in Deployment permanent certificate store
      RegisterWebUtil - Loading WebUtil Version 10.1.2.3
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.java2d)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
      at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
      at sun.applet.AppletClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at oracle.forms.engine.Main.initDesktop(Unknown Source)
      at oracle.forms.engine.Main.start(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      [ ... ]
      network: Disconnect connection to http://nomisapp6.nomis.net/TAG.gif
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
      at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
      at sun.applet.AppletClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at oracle.forms.engine.Main.class$(Unknown Source)
      at oracle.forms.engine.Main.initDesktop(Unknown Source)
      at oracle.forms.engine.Main.start(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      [ ... ]
      network: Connecting socket://NPPC0028:80 with proxy=DIRECT
      java.security.PrivilegedActionException: java.net.SocketException: Connection reset
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
      at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
      at sun.plugin.security.ActivatorSecurityManager.checkConnect(Unknown Source)
      at java.net.InetAddress.getLocalHost(Unknown Source)
      at oracle.forms.net.HTTPNStream.appendHostIP(Unknown Source)
      at oracle.forms.net.HTTPNStream.getInfoFromServlet(Unknown Source)
      at oracle.forms.net.HTTPNStream.<init>(Unknown Source)
      at oracle.forms.net.HTTPConnection.connect(Unknown Source)
      at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
      at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
      at oracle.forms.engine.Runform.initConnection(Unknown Source)
      at oracle.forms.engine.Runform.startRunform(Unknown Source)
      at oracle.forms.engine.Main.createRunform(Unknown Source)
      at oracle.forms.engine.Main.start(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
      at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
      at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at com.sun.deploy.net.CrossDomainXML$2.run(Unknown Source)
      ... 17 more
      network: Connecting
      [ ... ]

            Unassigned Unassigned
            thlenz Thomas Lenz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: