Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6649371
Votes 3
Synopsis JNLP Association (per-user) does not work in Vista
Category javawebstart:jnlp_api
Reported Against b09
Release Fixed 6u14(b03)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs
Submit Date 11-JAN-2008
Description
JNLP file association does not work in Vista. Registry cannot be created. See comments for tests cases.
Posted Date : 2008-01-11 00:44:47.0
Work Around
N/A
Evaluation
to register association , we need to write to HKLM registry branch, which java web start won't have permission to do so on Vista.

Problem exists in older JRE as well, e.g I tested on 6.0

com.sun.deploy.association.RegisterFailedException: Key SOFTWARE\Classes\MIME\Da
tabase\Content Type\application/x-dmt creation error!
        at com.sun.deploy.association.utility.WinRegistryUtil.regCreateKeyEx(Unk
nown Source)
        at com.sun.deploy.association.utility.WinRegistryUtil.addMimeType(Unknow
n Source)
        at com.sun.deploy.association.utility.WinAppAssociationWriter.registerAs
sociation(Unknown Source)
        at com.sun.deploy.association.AssociationService.registerSystemAssociati
on(Unknown Source)
        at com.sun.javaws.WinInstallHandler.registerAssociationInternal(Unknown
Source)
        at com.sun.javaws.LocalInstallHandler.registerAssociation(Unknown Source
)
        at com.sun.javaws.LocalInstallHandler.createAssociations(Unknown Source)
        at com.sun.javaws.LocalInstallHandler.performIntegration(Unknown Source)
        at com.sun.javaws.LocalInstallHandler.install(Unknown Source)
        at com.sun.javaws.Launcher.notifyLocalInstallHandler(Unknown Source)
        at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.launch(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

we probably need to use jbroker to create the keys
Posted Date : 2008-04-14 23:57:49.0

more investigation show that per-user level association does not require HKLM keys - HKCU is sufficient.

Java Web Start does have enough permission to update HKCU keys in Vista.

Fix in 6u14

system level association is more complex though (HKLM) - will open new bug for that.
Posted Date : 2009-02-18 23:58:19.0
Comments
  
  Include a link with my name & email   

Submitted On 17-OCT-2008
sacke
Any ETA on a fix for this bug? My Vista users really suffers from this bug...


Submitted On 04-SEP-2009
Gault
Was a bug ever opened for the HKLM problem?  



PLEASE NOTE: JDK6 is formerly known as Project Mustang