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

AccessControlException checking keepAlive permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.0
    • deploy
    • x86
    • windows_nt



      Name: skT88420 Date: 10/11/99


      I deleted my java_plugin_AppletStore and installed the JDK1.3 to get a fresh applet cache. When I tried a simple caching process, I got an error. The HTML and the error follow:

      <html>

      <head>
      <title>Applet Caching Bug</title>
      </head>

      <body>

      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
          width="10" height="10" align="baseline"
          codebase="http://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0">
          <PARAM NAME="java_archive" VALUE="Images.jar,DataStore.jar,BlobCache.jar,common.jar,NetworkManager.jar,Icons.jar,jcswingsuite400K.jar,jcchart400K.jar">
          <PARAM NAME="cache_option" VALUE="Plugin">
          <PARAM NAME="cache_archive" VALUE="Images.jar">
          <PARAM NAME="code" VALUE="adtran.ElementManager.ElementManagerInit">
          <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
              No JDK 1.2 support for APPLET!!
      </OBJECT>

      </body>

      </html>

      Java(TM) Plug-in: Version 1.3.0-I

      Using JRE version 1.3.0 Java HotSpot(TM) Client VM

        User home directory = C:\WINNT\Profiles\ccantrell

      Proxy Configuration: no proxy



      JAR cache enabled.

      java.security.AccessControlException: access denied (java.util.PropertyPermission http.keepAlive read)

      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.checkPropertyAccess(Unknown Source)

      at java.lang.System.getProperty(Unknown Source)

      at sun.net.www.http.HttpClient.getHttpKeepAliveSet(Unknown Source)

      at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

      at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)

      at java.net.HttpURLConnection.getResponseCode(Unknown Source)

      at sun.applet.AppletClassLoader.getBytes(Unknown Source)

      at sun.applet.AppletClassLoader.access$100(Unknown Source)

      at sun.applet.AppletClassLoader$1.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at sun.applet.AppletClassLoader.findClass(Unknown Source)

      at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadCode(Unknown Source)

      at sun.applet.AppletPanel.createApplet(Unknown Source)

      at sun.plugin.AppletViewer.createApplet(Unknown Source)

      at sun.applet.AppletPanel.runLoader(Unknown Source)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)
      (Review ID: 96388)
      ======================================================================

            Unassigned Unassigned
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: