United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6713144 PIT:Double entries in Java Cache Viewer/Applications for javaws -import install_demo.jnlp
JDK-6713144 : PIT:Double entries in Java Cache Viewer/Applications for javaws -import install_demo.jnlp

Details
Type:
Bug
Submit Date:
2008-06-11
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2009-03-05
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u14 (b01)

Related Reports
Relates:
Relates:

Sub Tasks

Description
This regression is introduced in b23 PIT. 
The correspondig CR 6695124 filed by Sergei is closed as duplicate of 
6705524 - OOPP/General: Concurency issues (properties r/w, JREInfo r/w, CleanupThread, removeDuplicateEntries) 
6705524 is in Fix Available State and integrated in b26 PIT.

The  testcase provided with b26 PIT 
http://j2se.east.sun.com/deployment/www/tests/1.6.0_10/6705524/
is not failing.So filing another bug to track this issue. 

Double entries in Java Cache Viewer/Applications after 
javaws -import http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/extensionInstaller/install_demo.jnlp / 
javaws http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/extensionInstaller/install_demo.jnlp  /
javaws http://ebugster.sfbay.sun.com/dev/ebugster.jnlp
  

All platforms:
To reproduce:
- install build 26 PIT (any build from 6u10b23)
- clean the cache
- javaws -import http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/extensionInstaller/install_demo.jnlp
- open  Java Cache Viewer/Applications
- you will see same application repeated twice:  Java Web Start Extension Installer -- Installing Demo Extension
- open Java Cache Viewer/Resources
- you will see there: 6 entries: testdemo.jar, installer.jar, testdemo.jnlp, install_demo.jnlp, demo_ext.jnlp, Button.jpg

Same scenario for build 22 you can see only one entry in Java Cache Viewer/Applications : Java Web Start Extension Installer -- Installing Demo Extension
and only 5 entries in Java Cache Viewer/Resources - install_demo.jnlp is missing !?

                                    

Comments
EVALUATION

problem is based on installer extension w/o an href - one vm caches the file based on the referring vm instances referencing url, but the second vm dosn't have the reference and caches it based on the cononical url of this jnlp file.
                                     
2008-06-18



Hardware and Software, Engineered to Work Together