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: 6569205
Votes 0
Synopsis webstart's update tag is not working
Category javawebstart:other
Reported Against
Release Fixed 6u10(b24)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 13-JUN-2007
Description
OPERATING SYSTEM(S):
Linux IA32(Red Hat Enterprise Linux AS release 4)

FULL JDK VERSION(S):
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode)

DESCRIPTION:

When update tag of jnlp file is present and if we launch the application from dekstop short cut, it is faling to download the updated application (jar file). Look at "STEPS TO REPRODUCE" to get clear idea.

STEPS TO REPRODUCE

Testcase can be downloaded from here: ftp://ftp.emea. customer .com/fromibm/other/ customer -20070613.zip

1.Modify the jnlp file to point to WebstartApp.jar, and launch the application from javaws as follows.
	>>javaws WebstartApp.jnlp
2.It will ask for "Dekstop icon" creation. Select this option to create "Desktop icon".
3.Now close the application.
4.Double click "Desktop icon" in order to launch the application again.
5.Click on "Cancel" when it ask for "A Optional update is available. Do you want to continue?"
6.It will launches the application.
7.Now modify the WebstartApp.jnlp application from policy="prompt-update" to "prompt-run".
8.Again, double click "Desktop icon" in order to launch the application again.
Observed result: It will fails to download the updated information.
Expected result: It should download the updated application from the source and launch the application.
Posted Date : 2007-06-13 14:49:02.0
Work Around
None
Evaluation
with 6u2, the only problem I see is after updating the update policy from prompt-update to prompt-run; and I launch the application again, when I get the mandatory update dialog, and if I press cancel, I will leave a incorreect desktop shortcut behind.  If I press update, everything works as expected.

we should update the desktop shortcut even if the user press "cancel" on the mandatory update dialog also.
Posted Date : 2007-07-11 22:37:11.0

tried testcase from customer, which exposed another problem in the "prompt-update" and "prompt-run" update dialog.   The testcase uses file url in the jnlp file, and java web start always show the update dialog whenever it launches the jnlp application, even if nothing is updated (jar or jnlp) at all.

attached testcase to the bugreport
Posted Date : 2007-07-12 17:59:48.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang