When downloading an Applet on Mozilla 1.5.0.7-1.5/Linux on SuSE 10.1, using Java Plug-in 1.5.0_09-b03, the plugin repeatedly downloads the same jar file, as if it was not chaching it from the first time.
Result: The dowload never ends and the applet is never initialized/started.
The same behaviour is reproducible on two different computers and also with JRE/Plug-in 1.5.0_07-b03 installed.
If the same Applet is downloaded with the Firefox 1.5.0.7 on Solaris or Windows XP with the same JRE version, the jarfile is only downloaded once/correctly read from local cache.
We also see this correct behaviour with Firefox/Linux and integrated JRE/Plug-in 1.4.2_09, so this is only a 5.0 problem.
Same issue reported by a CAP member with more information provided:
An applet that is loaded in a browser at a linux system, will be
downloaded several times. The cached version is ignored. We recognized a
multiple download count from 4 up to 64 times.
On windows systems the behaviour is correct, the files are only
downloaded once.
The following tests always result in the same problem:
Operating System:
* Ubuntu 7.10
* Ubuntu 8.04
Browser:
* Firefox 2
* Firefox 3
* Opera 9.27
Java-Plugin
* 1.5
* 1.6
Webserver:
* Lighttpd
* IIS
* Jetty
Jar files
* smaller size
* name without characters like "-"
* signed and unsigned
Extract from logfile:
127.0.0.1 localhost - [29/Aug/2008:09:15:15 +0200] "GET /applet.html
HTTP/1.1" 200 513 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.1)
Gecko/2008072820 Firefox/3.0.1"
127.0.0.1 localhost - [29/Aug/2008:09:15:16 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
127.0.0.1 localhost - [29/Aug/2008:09:15:19 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
127.0.0.1 localhost - [29/Aug/2008:09:15:19 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
127.0.0.1 localhost - [29/Aug/2008:09:15:19 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
127.0.0.1 localhost - [29/Aug/2008:09:15:19 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
127.0.0.1 localhost - [29/Aug/2008:09:15:19 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
127.0.0.1 localhost - [29/Aug/2008:09:15:19 +0200] "GET /viewer.jar
HTTP/1.1" 200 502764 "-" "Mozilla/4.0 (Linux 2.6.24-19-generic)
Java/1.6.0_06"
...