FULL PRODUCT VERSION :
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Kernel version: Microsoft Windows XP, Uniprocessor Free
Product type: Professional
Product version: 5.1
Service pack: 1
Kernel build number: 2600
Firefox version: 1.0.2
IE version: 6.0000
A DESCRIPTION OF THE PROBLEM :
Java Plugin fails to connect to HTTPS webserver with only TLSv1 is enabled, resulting in failure to run any applets hosted on such webservers.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Configure a HTTPS Webserver with only TLSv1.
- Host a page containing java applet in the Webserver.
- Configure your browser (Firefox/IE) to use Java Plugin to run applets.
- Try accessing the page containing applet.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java Plugin should download the applet and run it.
The property to enable TLSv1 should be picked from the browser in which Plugin is running and not another configuration under Plugin Control Panel as suggested at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5077603 (which will make deployment of applet a pain.)
ACTUAL -
Applet will fail to load and browser display "XXXApplet not inited" in its status bar.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
oad: class com.XXX.XXXApplet not found.
java.lang.ClassNotFoundException: com.XXX.XXXApplet
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
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
In Windows Edit the file "\Documents and Settings<user>\Application
Data\Sun\Deployment\deployment.properties" and add the following property.
deployment.security.TLSv1=true
###@###.### 2005-06-14 11:16:59 GMT