Duplicate :
|
Name: gm110360 Date: 05/24/2002 FULL PRODUCT VERSION : Java(TM) Plug-in: Version 1.4.0 Using JRE version 1.4.0 Java HotSpot(TM) Client VM FULL OPERATING SYSTEM VERSION : Microsoft Windows 2000 [Version 5.00.2195] ADDITIONAL OPERATING SYSTEMS : Microsoft Windows NT EXTRA RELEVANT SYSTEM CONFIGURATION : Microsoft IE 6.0 Microsoft IE 5.5 A DESCRIPTION OF THE PROBLEM : Applet caching/download of archives : The cache function in JRE 1.4.0 is a good feature and wanted by our customers, BUT BUT the well known problem: behind a Microsoft Proxy v2 with NTLM authentication is doesn't work. So we are forsed to suppress this caching and let the browser (IE) download the jar files. This worked all fine in JRE 1.3.1_02, but no more in JRE 1.4.0 REGRESSION. Last worked in version 1.3 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Make an applet in a jar file with JRE 1.3.1 2. Run the applet with an OBJECT tag, it all works fine with the param "archive" 3. Change attribute "clsid" and param "type" to JRE 1.4.0 EXPECTED VERSUS ACTUAL BEHAVIOR : The plugin DON'T use IE the download the jar file, it tries to do it itself and can't authenticate with NTLM ERROR MESSAGES/STACK TRACES THAT OCCUR : load: class InfoApplets.IndexApplet not found. java.lang.ClassNotFoundException: InfoApplets.IndexApplet 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) 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) ... 11 more This bug can be reproduced always. ---------- BEGIN SOURCE ---------- <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 100% HEIGHT = 100% NAME = IndexApplet ALIGN = middle codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0- win.cab#Version=1,4,0,0"> <PARAM NAME = CODE VALUE = "InfoApplets.IndexApplet" > <PARAM NAME = CODEBASE VALUE = "../Infoclasses" > <PARAM NAME = type VALUE="application/x-java-applet;version=1.4"> <PARAM NAME = MAYSCRIPT VALUE = true> <PARAM NAME = scriptable VALUE = true> <PARAM NAME=FontName VALUE="Arial"> <PARAM NAME=FontSize VALUE="11"> <PARAM NAME="archive" VALUE="InfoApplets.jar,des.jar"> <PARAM NAME="cache_option" VALUE="Browser"> <PARAM NAME="cache_archive" VALUE="Index.jar"> <PARAM NAME=LabelBgColor VALUE="169 158 133"> <PARAM NAME=BgColor VALUE="255 252 242"> <PARAM NAME=Labels VALUE="S��k i f��lgende b��ker:;Velg stikkord;Sorter etter;Antal treff"> <PARAM NAME = Products VALUE = "%3Cproducts%3EInfo+produkter%3Cprod+id%3D% 22AA400999%22+enabled%3D%22yes%22%3EArbeidsmilj%F8loven%2B%3C%2Fprod%3E% 3Cprod+id%3D%22AA401001%22+enabled%3D%22yes%22%3EFerieloven%2B%3C%2Fprod%3E% 3Cprod+id%3D%22AA400997%22+enabled%3D%22yes%22%3EL%F8nn+Info%3C%2Fprod%3E% 3Cprod+id%3D%22AA401007%22+enabled%3D%22yes%22%3EL%F8nn+Utland%3C%2Fprod%3E% 3Cprod+id%3D%22AA401006%22+enabled%3D%22yes%22%3EMerverdiavgiften%3C%2Fprod%3E% 3Cprod+id%3D%22AA401003%22+enabled%3D%22yes%22%3EPensjoner+og+AFP%3C%2Fprod%3E% 3Cprod+id%3D%22AA401002%22+enabled%3D%22yes%22%3EPersonalforsikringer%3C%2Fprod% 3E%3Cprod+id%3D%22AA400996%22+enabled%3D%22yes%22%3EPraktisk+regnskap%3C%2Fprod% 3E%3Cprod+id%3D%22AA400995%22+enabled%3D%22yes%22%3ERegnskap+Info%3C%2Fprod%3E% 3Cprod+id%3D%22AA401005%22+enabled%3D%22yes%22%3ESkatt+Info%3C%2Fprod%3E% 3Cprod+id%3D%22AA401004%22+enabled%3D%22yes%22%3ESykepengeordningen%3C%2Fprod% 3E%3Cprod+id%3D%22AA401000%22+enabled%3D%22no%22% 3ERegnskapsstandarder+og+anbefalinger%3C%2Fprod%3E%3C%2Fproducts%3E"> <COMMENT><EMBED type="application/x-java-applet;version=1.4" CODE = "InfoApplets.IndexApplet" CODEBASE = "../Infoclasses" NAME = ProdStrucApplet WIDTH = 100% HEIGHT = 100% ALIGN = middle archive = "InfoApplets.jar,Index.jar" MAYSCRIPT = true scriptable = true FontName VALUE=Arial FontSize VALUE=11 LabelBgColor VALUE="169 158 133" BgColor VALUE="255 252 242" Labels VALUE="S��k i f��lgende b��ker:;Velg stikkord;Sorter efter;Antal treff" Products = "%3Cproducts%3EInfo+produkter%3Cprod+id%3D%22AA400999%22+enabled%3D% 22yes%22%3EArbeidsmilj%F8loven%2B%3C%2Fprod%3E%3Cprod+id%3D%22AA401001% 22+enabled%3D%22yes%22%3EFerieloven%2B%3C%2Fprod%3E%3Cprod+id%3D%22AA400997% 22+enabled%3D%22yes%22%3EL%F8nn+Info%3C%2Fprod%3E%3Cprod+id%3D%22AA401007% 22+enabled%3D%22yes%22%3EL%F8nn+Utland%3C%2Fprod%3E%3Cprod+id%3D%22AA401006% 22+enabled%3D%22yes%22%3EMerverdiavgiften%3C%2Fprod%3E%3Cprod+id%3D%22AA401003% 22+enabled%3D%22yes%22%3EPensjoner+og+AFP%3C%2Fprod%3E%3Cprod+id%3D%22AA401002% 22+enabled%3D%22yes%22%3EPersonalforsikringer%3C%2Fprod%3E%3Cprod+id%3D% 22AA400996%22+enabled%3D%22yes%22%3EPraktisk+regnskap%3C%2Fprod%3E%3Cprod+id%3D% 22AA400995%22+enabled%3D%22yes%22%3ERegnskap+Info%3C%2Fprod%3E%3Cprod+id%3D% 22AA401005%22+enabled%3D%22yes%22%3ESkatt+Info%3C%2Fprod%3E%3Cprod+id%3D% 22AA401004%22+enabled%3D%22yes%22%3ESykepengeordningen%3C%2Fprod%3E%3Cprod+id% 3D%22AA401000%22+enabled%3D%22no%22%3ERegnskapsstandarder+og+anbefalinger%3C% 2Fprod%3E%3C%2Fproducts%3E" pluginspage="http://java.sun.com/products/plugin/index.html#download"> <NOEMBED></NOEMBED></EMBED></COMMENT> </OBJECT> ---------- END SOURCE ---------- Release Regression From : 1.3.1_02 The above release value was the last known release where this bug was known to work. Since then there has been a regression. (Review ID: 146623) ======================================================================