I couldn't seem to be able persuade to work in Web Start 6u10 (b07).
I have created a bug for this issue. CR 6649371:
It will take a day or 2 for the bug to show up.
The problem is registry cannot be created and registry exceptions were thrown when trying to create the association, but your test case has buried the registry exceptions.
In addition, for association to work, the current implementation requires either href attribute in or the element which you don't have in your test case. I have submitted another bug to request to re-evaluate this condition: CR 6649378:
Thank you for reporting the issue.
Thank you for your kind attention :-)
Attached log files.
While switching debug options on in the Java Control Panel, I noticed the settings for MIME association. However, association would not function whichever option I tried.
(Just in case - I have turned on UAC for Vista)
Could you provide a runnable sample which demonstrates the issue?
Sure. By the way, would someone kindly fixes the DTD for JNLP 6.0?
[i]http://java.sun.com/dtd/JNLP-6.0.dtd:204: White space is required after the element type "update" in the element type declaration.[/i]
I've attached a modified JNLP and build script to permit a smooth build for now.
P.S. the built WAR was too large to be attached, apparently.
The whitespace error will be fixed soon as part of bug 6613630
I couldn't readily find deployment.properties within my Java installation - any pointers? :-)
On XP, deployment.properties can be found here:
C:\Documents and Settings\\Application Data\Sun\Java\Deployment
Thanks - FYI, on Vista it is located at C:\Users\\AppData\LocalLow\Sun\Java\Deployment
I shall produce a sample project files and deployment WAR later on in the evening when I'm back from work (GMT+0).
attached jnlp file
I can start the JNLP file you have provided. However, I see the local path you used to access local resources look like Vista.
Is this Vista specific?
Can you reproduce it on XP?
What browser do you use? Which version?
I tried it on XP with 6u3, Vista with 6u2 - they work like a charm :-)
Are you getting any error message? If so, what is the exact error message?
No error messages as far as I can see - any ideas where to look?
I'm now on b08 btw :)
When you say it does not work, what's the behavior ?
can you provide a jnlp link that i can try and reproduce the problem ?
the jnlp link that you provide has a codebase of file:/C:/Users/User/Documents/NetBeansProjects/DataManagerTools/dist/jnlp/local/; which won't work on my machine.
also, to get more debug information, you can also enable java console and tracing via the java control panel; and also add:
in the deployment.properties file.
re-run your application, and you will get more debug out in the java console. it would be great if you can copy and paste all the contents in the console here.
The JNLP is generated by a NetBeans Module Suit project, and the issue is reproducible whether the application is run locally (as attached earlier on) or compiled to deploy on a web application server.
The issue is only with Web Start failing to associate the file type with Java application - the rest of the Web Start functionalities seem to be in place.
attached webapp's jnlp
We have created a simple app which uses an the association and that works under 6uN
Your extension uses
where the URI is not accessible. I also tried "http://www.zeta.com:4138/dmt/branding.jnlp" and that does not work neither. In addition, your href are using the zeta:4138 domain also.
You need to host an application which allows us to access the necessary resources to reproduce the issue in-house.
Tried on a friends machine with Windows Vista x64.
Association works with 6u3 but not with 6u10-b08
This really seems like a regression to me :-/
Is this a known issue or shall I file a report against it?
I'm looking at the NetBeans platform sample you've provided. I will update you once I have more info about why it is not working.
Regarding the DTD, there's a bug already submited for this issue: CR 6421585. The status shows the bug is already fixed, but that does not seem like it. I've requested to re-evaluate this CR also.
I will keep you posted. Thanks for reporting the issues.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.