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)
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.ibm.com/fromibm/other/ibm-20070613.zip
1.Modify the jnlp file to point to WebstartApp.jar, and launch the application from javaws as follows.
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.