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

Applets not working when caching is enabled

XMLWordPrintable

    • 6
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      JVM 1.6

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      We have a problem with applet caching here. This is a problem with JVM 1.6 only. In JVM 1.4.2 the applet is working fine.

      In JVM 1.6 When caching is enabled the applet is showing “class not found” exception at run time.

      But the caching is disabled the applet is working fine. Anybody can confirm this is a bug with JVM or any changes are required in the applet code?

      More and more users are moving to JVM 1.6 and the problem is reported by many. Removing Cache_version parameter from applet tag also solves the problem. But this is causing performance impact in application

      Any suggestions?


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      liveconnect: JS-Methode wird gestartet: document
      liveconnect: JS-Methode wird gestartet: URL
      network: Version von /webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotesInstaller.jar wird überprüft, angegebene Version ist 3.3.3.5
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotesInstaller.jar, Version: 3.3.3.5]
      network: Version von /webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/applet.jar wird überprüft, angegebene Version ist 3.3.3.5
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/applet.jar, Version: 3.3.3.5]
      network: Version von /webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Application.jar wird überprüft, angegebene Version ist 3.3.3.5
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Application.jar, Version: 3.3.3.5]
      network: Version von /webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Scripting.jar wird überprüft, angegebene Version ist 3.3.3.5
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Scripting.jar, Version: 3.3.3.5]
      network: Version von /webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/imagebank.zip wird überprüft, angegebene Version ist 3.3.3.5
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/imagebank.zip, Version: 3.3.3.5]
      network: Version von /webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotes.jar wird überprüft, angegebene Version ist 3.3.3.5
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotes.jar, Version: 3.3.3.5]
      basic: ClassLoader wird referenziert: sun.plugin.ClassLoaderInfo@defa1a, refcount=1
      basic: Fortschritts-Listener hinzugefügt: sun.plugin.util.GrayBoxPainter@47858e
      basic: Applet wird geladen...
      basic: Applet wird initialisiert...
      basic: Applet wird gestartet...
      basic: completed perf rollup
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Scripting.jar, Version: 3.3.3.5]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Scripting.jar?version-id=3.3.3.5 mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Scripting.jar?version-id=3.3.3.5 mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/applet.jar, Version: 3.3.3.5]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/applet.jar?version-id=3.3.3.5 mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/applet.jar?version-id=3.3.3.5 mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/imagebank.zip, Version: 3.3.3.5]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/imagebank.zip?version-id=3.3.3.5 mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/imagebank.zip?version-id=3.3.3.5 mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Application.jar, Version: 3.3.3.5]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Application.jar?version-id=3.3.3.5 mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/Application.jar?version-id=3.3.3.5 mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotes.jar, Version: 3.3.3.5]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotes.jar?version-id=3.3.3.5 mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotes.jar?version-id=3.3.3.5 mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotesInstaller.jar, Version: 3.3.3.5]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotesInstaller.jar?version-id=3.3.3.5 mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/Applets/$FILE/PageNotesInstaller.jar?version-id=3.3.3.5 mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/vwhomepagelu/com/swissre/applet/Applet.class, Version: null]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/vwhomepagelu/com/swissre/applet/Applet.class mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/vwhomepagelu/com/swissre/applet/Applet.class mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      network: Cache-Eintrag nicht gefunden [url: http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/vwhomepagelu/com/swissre/applet/Applet.class, Version: null]
      network: Verbindung von http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/vwhomepagelu/com/swissre/applet/Applet.class mit Proxy=DIRECT wird hergestellt
      network: Verbindung http://intrawes.zrh.swissre.com/webapp/idomzh01aa/DOMAPP/gumengpr.nsf/vwhomepagelu/com/swissre/applet/Applet.class mit Cookie "EPV2_Location=Zurich; EPV2_Search=0; SCDID=p_yHQ9OitugGLRW0SWqBy-ms1mdg6BFR5rQbIbT3_UhKxFwEYplmpQ$$"
      Laden: Klasse com.swissre.applet.Applet nicht gefunden
      java.lang.ClassNotFoundException: com.swissre.applet.Applet
      at sun.applet.AppletClassLoader.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)
      Caused by: java.io.IOException: open HTTP connection failed.
      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)
      ... 10 more
      basic: Ausnahme: java.lang.ClassNotFoundException: com.swissre.applet.Applet
      java.lang.ClassNotFoundException: com.swissre.applet.Applet
      at sun.applet.AppletClassLoader.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)
      Caused by: java.io.IOException: open HTTP connection failed.
      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)
      ... 10 more
      basic: unique id: com_sun_deploy_AboutJava-6.0
      basic: server port at: 1562
      basic: getSingleInstanceFilename: C:\Documents and Settings\srzgob\Application Data\Sun\Java\Deployment\tmp\si\com_sun_deploy_AboutJava-6.0_1562
      basic: waiting connection
      network: Verbindung von socket://127.0.0.1:1562 mit Proxy=DIRECT wird hergestellt
      basic: recv: javaws.singleinstance.stop
      basic: getSingleInstanceFilename: C:\Documents and Settings\srzgob\Application Data\Sun\Java\Deployment\tmp\si\com_sun_deploy_AboutJava-6.0_1562
      basic: getSingleInstanceFilename: C:\Documents and Settings\srzgob\Application Data\Sun\Java\Deployment\tmp\si\com_sun_deploy_AboutJava-6.0_1562
      basic: removed SingleInstanceFile: C:\Documents and Settings\srzgob\Application Data\Sun\Java\Deployment\tmp\si\com_sun_deploy_AboutJava-6.0_1562


      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 5.0u11
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: