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

IOException: Caching not supported when I make JRE 1.4b3 the default JVM

XMLWordPrintable

    • generic, x86
    • generic, windows_2000



      Name: gm110360 Date: 12/14/2001


      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build
      1.4.0-beta3-b84)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

      Full Operating System Version :
      Microsoft Windows 2000 [Version 5.00.2195]



      Extra relevant system configuration :
      During the JRE installation, I let the installation
      install itself as the default JVM for IE and Netscape.
      Thus, the JRE is used for pages with <APPLET> tags.

      A description of the problem :
      I'm a customer of Datek - an online broker. Datek has
      a very sophisticated applet called "Streamer" for getting
      realtime quotes. The applet loaded/worked fine under both
      IE and Netscape until I made JRE 1.4b3 the default JVM. Now
      when I go to the page, the JRE starts loading the applet
      but the console continues to report:
      java.io.IOException: Caching not supported for
      http://streamerapp.datek.com/applets.jar

      at
      sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:353)

      at
      sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:112)

      at sun.plugin.cache.JarCache.get(JarCache.java:170)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:73)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:58)

      at
      sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:501)

      at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462)

      at sun.misc.URLClassPath$2.run(URLClassPath.java:258)

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

      at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)

      at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)

      at sun.misc.URLClassPath.getResource(URLClassPath.java:137)

      at java.net.URLClassLoader$1.run(URLClassLoader.java:193)

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

      at java.net.URLClassLoader.findClass(URLClassLoader.java:189)

      at
      sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)

      at
      sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:191)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:309)

      at
      sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:265)

      at
      sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:470)

      at sun.applet.AppletPanel.createApplet(AppletPanel.java:551)

      at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1610)

      at sun.applet.AppletPanel.runLoader(AppletPanel.java:480)

      at sun.applet.AppletPanel.run(AppletPanel.java:293)

      at java.lang.Thread.run(Thread.java:539)

      ERROR PARSING THE PARAMETERS: java.lang.NullPointerException

      ************************************************************

      Copyright (c) 1999-2001. Datek. All Rights Reserved.

      WARNING: This program and source code is protected by

      copyright law and international treaties. You shall not

      modify, alter, adapt, merge, decompile, disassemble or reverse

      engineer the program. Unauthorized reproduction or distribution

      of this program, or any portion of it, may result in severe
      civil

      and criminal penalties, and will be prosecuted to the maximum

      extent possible under law.

      *************************************************************



      java.io.IOException: Caching not supported for
      http://streamerapp.datek.com/applets.jar

      at
      sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:353)

      at
      sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:112)

      at sun.plugin.cache.JarCache.get(JarCache.java:170)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:73)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.getInputStream(CachedJarURLConnection.java:103)

      at java.net.URL.openStream(URL.java:956)

      at
      java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:953)

      at
      sun.applet.AppletClassLoader.getResourceAsStream(AppletClassLoader.java:311)

      at java.lang.Class.getResourceAsStream(Class.java:1289)

      at com.datek.gui.util.c.a([DashoPro-V1.2-120198])

      at
      com.datek.applets.central.AppletLauncher.d([DashoPro-V1.2-120198])

      at
      com.datek.applets.central.AppletLauncher.init([DashoPro-V1.2-120198])

      at sun.applet.AppletPanel.run(AppletPanel.java:344)

      at java.lang.Thread.run(Thread.java:539)

      j


      Steps to follow to reproduce the problem :
      1. Get a login on www.datek.com and start the Streamer
      applet.

      When I did a keyword search for "Caching not supported" on
      the Javasoft site, I saw that one other person has posted
      a message (11/09) that he had this problem on one of his
      applets as well.
      Sorry - I can't give you my brokerage login to reproduce :-)

      Expected versus actual behavoir :
      Apparently, <APPLET> doesn't quite work the same way under
      the JRE as it used to natively.

      Error messages/stack traces that occur :
      java.io.IOException: Caching not supported for
      http://streamerapp.datek.com/applets.jar

      at
      sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:353)

      at
      sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:112)

      at sun.plugin.cache.JarCache.get(JarCache.java:170)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:73)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:58)

      at
      sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:501)

      at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462)

      at sun.misc.URLClassPath$2.run(URLClassPath.java:258)

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

      at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)

      at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)

      at sun.misc.URLClassPath.getResource(URLClassPath.java:137)

      at java.net.URLClassLoader$1.run(URLClassLoader.java:193)

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

      at java.net.URLClassLoader.findClass(URLClassLoader.java:189)

      at
      sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)

      at
      sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:191)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:309)

      at
      sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:265)

      at
      sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:470)

      at sun.applet.AppletPanel.createApplet(AppletPanel.java:551)

      at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1610)

      at sun.applet.AppletPanel.runLoader(AppletPanel.java:480)

      at sun.applet.AppletPanel.run(AppletPanel.java:293)

      at java.lang.Thread.run(Thread.java:539)

      ERROR PARSING THE PARAMETERS: java.lang.NullPointerException

      ************************************************************

      Copyright (c) 1999-2001. Datek. All Rights Reserved.

      WARNING: This program and source code is protected by

      copyright law and international treaties. You shall not

      modify, alter, adapt, merge, decompile, disassemble or reverse

      engineer the program. Unauthorized reproduction or distribution

      of this program, or any portion of it, may result in severe
      civil

      and criminal penalties, and will be prosecuted to the maximum

      extent possible under law.

      *************************************************************



      java.io.IOException: Caching not supported for
      http://streamerapp.datek.com/applets.jar

      at
      sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:353)

      at
      sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:112)

      at sun.plugin.cache.JarCache.get(JarCache.java:170)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:73)

      at
      sun.plugin.net.protocol.jar.CachedJarURLConnection.getInputStream(CachedJarURLConnection.java:103)

      at java.net.URL.openStream(URL.java:956)

      at
      java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:953)

      at
      sun.applet.AppletClassLoader.getResourceAsStream(AppletClassLoader.java:311)

      at java.lang.Class.getResourceAsStream(Class.java:1289)

      at com.datek.gui.util.c.a([DashoPro-V1.2-120198])

      at
      com.datek.applets.central.AppletLauncher.d([DashoPro-V1.2-120198])

      at
      com.datek.applets.central.AppletLauncher.init([DashoPro-V1.2-120198])

      at sun.applet.AppletPanel.run(AppletPanel.java:344)

      at java.lang.Thread.run(Thread.java:539)

      j

      This bug can be reproduced always.
      (Review ID: 137387)
      ======================================================================

            mafishersunw Margarita Fisher (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: