JDK-6524054 : "update" tag causes Webstart always reporting available updates
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-02-12
  • Updated: 2010-04-04
  • Resolved: 2007-03-21
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows XP Professional Version 2002 SP2

A DESCRIPTION OF THE PROBLEM :
If the update policy is set to "prompt-update" Webstart is always prompting the user reporting available optional updates. Regardless wether there are updates or not.
This is happening even if the network is down (with <offline-allowed/>) where Webstart has not chance at all to compare its cached resources with the resources available on Server.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
include the tag
<update check="always" policy="prompt-update"/>,
<update check="timeout" policy="prompt-update"/> or
<update check="background" policy="prompt-update"/>
in the .jnlp and start the application multiple times without updating the resources on server.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Webstart should compare timestamps or version information returned from server against the ones of its chached resources and only prompt the user for an application update if at least one resource on server is newer than its cached version.
ACTUAL -
Webstart always reports available updates and prompts the user to download even if it has no chance to do any comparision because the server is down.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
No known workaround.

Comments
EVALUATION closing as duplicate of 6514485: included JnlpDownloadServlet needs updating for use with webstart 6
21-03-2007

EVALUATION this is very likely a dup of 6514485: included JnlpDownloadServlet needs updating for use with webstart 6 There is a known bug with the servlet and Java Web Start 6.0, because the Java Web Start 6.0 uses if-modified-since GET requests that the servlet does not understand. when using the servlet to process the request, it will always return 200 response code to java web start, that's why you always see the update dialog.
01-03-2007