United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6194024 Java Webstart incremental update fails with java.util.ZipException
JDK-6194024 : Java Webstart incremental update fails with java.util.ZipException

Details
Type:
Bug
Submit Date:
2004-11-11
Status:
Resolved
Updated Date:
2010-04-04
Project Name:
JDK
Resolved Date:
2004-11-24
Component:
deploy
OS:
windows_xp,windows
Sub-Component:
webstart
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.3.1_13,1.4.2_08,5.0
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
Java Webstart incremental update fails with java.util.ZipException: error in opening zip file.

This error seems to happen more or less randomly.
The more jardiffs are requested during a  jnlp resources download the more 
likely it is.

Tested environment:
Windows XP
Java Webstart 1.5 JRE 1.5
java Webstart 1.0.1 JRE 1.3.1_13


###@###.### 2004-11-11 17:01:54 GMT

                                    

Comments
EVALUATION

Agree with on-sight analysis - getTempFile should be changed as in sugested fix.

###@###.### 2004-11-11 17:32:52 GMT
                                     
2004-11-11
SUGGESTED FIX

Modify DiskCache.getTempCacheFile to create unique filenames.

###@###.### 2004-11-11 17:01:54 GMT

see: http://web-east.east/www/webrevs/andy/1.6.0/6194024/
###@###.### 2004-11-11 17:32:53 GMT
                                     
2004-11-11
WORK AROUND

Clearing disk cache to force full download.
This is not a solution for a bandwidth considered environment, because 
it forces download of complete jar files.
###@###.### 2004-11-11 17:01:54 GMT
                                     
2004-11-11



Hardware and Software, Engineered to Work Together