Skip to main content

JNLP issues

21 replies [Last post]
alexlamsl
Offline
Joined: 2004-09-02
Points: 0

I couldn't seem to be able persuade to work in Web Start 6u10 (b07).

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rogyeu
Offline
Joined: 2006-07-30
Points: 0

I have created a bug for this issue. CR 6649371:
http://bugs.sun.com/view_bug.do?bug_id=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:
http://bugs.sun.com/view_bug.do?bug_id=6649378

Thank you for reporting the issue.

Regards,
Roger Y.

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

Thank you for your kind attention :-)

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

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)

rogyeu
Offline
Joined: 2006-07-30
Points: 0

Could you provide a runnable sample which demonstrates the issue?

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

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.

rogerl
Offline
Joined: 2004-11-15
Points: 0

The whitespace error will be fixed soon as part of bug 6613630
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6613630

-RogerL

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

I couldn't readily find deployment.properties within my Java installation - any pointers? :-)

rogyeu
Offline
Joined: 2006-07-30
Points: 0

On XP, deployment.properties can be found here:
C:\Documents and Settings\\Application Data\Sun\Java\Deployment

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

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).

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

attached jnlp file

rogyeu
Offline
Joined: 2006-07-30
Points: 0

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?

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

I tried it on XP with 6u3, Vista with 6u2 - they work like a charm :-)

rogyeu
Offline
Joined: 2006-07-30
Points: 0

Are you getting any error message? If so, what is the exact error message?

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

No error messages as far as I can see - any ideas where to look?

I'm now on b08 btw :)

rogyeu
Offline
Joined: 2006-07-30
Points: 0

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:

deployment.trace.level=basic|net|temp

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.

thanks.

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

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.

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

attached webapp's jnlp

rogyeu
Offline
Joined: 2006-07-30
Points: 0

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.

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

Tried on a friends machine with Windows Vista x64.

Association works with 6u3 but not with 6u10-b08

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

This really seems like a regression to me :-/

Is this a known issue or shall I file a report against it?

rogyeu
Offline
Joined: 2006-07-30
Points: 0

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.

Regards,
Roger Y.