2 Replies Latest reply: Jul 5, 2012 9:44 AM by Rogerl-Oracle RSS

    Java Plugin in Firefox fails with ClassNotFoundException

    947662
      Using Firefox 13 and opening the Java Plugin test link: http://www.java.com/en/download/testjava.jsp shows me an error and after clicking on it for more details it says:
      ClassNotFoundException: testJava2_1.TestVMAppplet.class

      What I did:
      - disabled the firewall (windows 7)
      - disabled popup blocker
      - re-installed the the java plugin over this site after uninstalling it over the windows system control
      - tried it in explorer

      After activating the java console and tracelevel 5 I get this details:


      ----------------------------------------------------
      Fertig.Trace-Ebene auf 2 (einfach, Netz) setzen ... abgeschlossen.basic: Dialog type is not candidate for embedding
      Trace-Ebene auf 5 (alle) setzen ... abgeschlossen.basic: Dialog type is not candidate for embedding
      basic: Fortschritts-Listener hinzugefügt: sun.plugin.util.ProgressMonitorAdapter@cdd17f
      basic: Plugin2ClassLoader.addURL parent called for http://www.java.com/applet/TestVM2-test.jar
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/TestVM2-test.jar, Version: null]
      network: Verbindung von http://www.java.com/applet/TestVM2-test.jar mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/TestVM2-test.jar, Version: null]
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/TestVM2-test.jar, Version: null]
      network: Verbindung von http://www.java.com/applet/TestVM2-test.jar mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com/applet/TestVM2-test.jar mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      java.io.IOException: Error writing to server
           at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at com.sun.deploy.net.DownloadEngine.getJarFileWithoutCache(Unknown Source)
           at com.sun.deploy.net.DownloadEngine.downloadJarFileWithoutCache(Unknown Source)
           at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
           at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
           at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
           at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
           at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/TestVM2-test.jar, Version: null]
      network: Verbindung von http://www.java.com/applet/TestVM2-test.jar mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/TestVM2-test.jar, Version: null]
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/TestVM2-test.jar, Version: null]
      network: Verbindung von http://www.java.com/applet/TestVM2-test.jar mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com/applet/TestVM2-test.jar mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/TestVM2-test.jar wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      java.io.IOException: Error writing to server
           at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at com.sun.deploy.net.DownloadEngine.getJarFileWithoutCache(Unknown Source)
           at com.sun.deploy.net.DownloadEngine.downloadJarFileWithoutCache(Unknown Source)
           at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
           at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
           at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
           at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
           at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
           at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/, Version: null]
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/testJava2_1/TestVMApplet.class, Version: null]
      network: Verbindung von http://www.java.com/applet/testJava2_1/TestVMApplet.class mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/testJava2_1/TestVMApplet.class wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/testJava2_1/TestVMApplet.class wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Cacheeintrag nicht gefunden [URL: http://www.java.com/applet/testJava2_1/TestVMApplet/class.class, Version: null]
      network: Verbindung von http://www.java.com/applet/testJava2_1/TestVMApplet/class.class mit Proxy=DIRECT wird hergestellt
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/testJava2_1/TestVMApplet/class.class wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      network: Verbindung von http://www.java.com:80/ mit Proxy=DIRECT wird hergestellt
      network: http://www.java.com/applet/testJava2_1/TestVMApplet/class.class wird mit Cookie "s_nr=1341343573782; gpName=javac%3ASupport%3AHelp%3Atestvm.xml; gpChannel=javac%3ASupport%3AHelp; gpServer=www.java.com; JSESSIONID=05B26F963158F5B6ADC56BE1E5CE30C1; s_cc=true; s_sq=%5B%5BB%5D%5D" verbunden
      java.lang.ClassNotFoundException: testJava2_1.TestVMApplet.class
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      basic: Laden: Klasse testJava2_1/TestVMApplet.class nicht gefunden.
      java.lang.ClassNotFoundException: testJava2_1.TestVMApplet.class
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      basic: Fortschritts-Listener entfernt: sun.plugin.util.ProgressMonitorAdapter@cdd17f
      security: Speicher für abgelehnte Sessionzertifikate zurücksetzen

      Thank you for any hint.

      Rene