JDK-6526242 : JDK 6: Java Web Start should not set no-cache header when making http connections
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2007-02-17
  • Updated: 2015-08-10
  • Resolved: 2015-08-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Related Reports
Relates :  
I just tried out the webstart version of jext at http://www.jext.org/ with 6.0:

The first time I started the app webstart started downloading the required files. Midway through it stalled. The estimated completion time increased second for second. And from time to time webstart displayed that the download had stalled. I waited for about half a minute. Webstart made no attempt to restart the download or otherwise handle the situation.

This is a good example of lack of what I like to call "defensive coding". In the consumer space our code needs to be resilient enough to handle problems that may come out way. Do you have an idea of what might have caused this?

Cannot get to the webstart version of jext. The website link provided doesn't contain the app file.

Need to review and see if is still an issue or not

EVALUATION It seems like it's much easier to run into the stall with Java 6. In Java 6, we set the http request headers: Cache-Control: no-cache Pragma: no-cache by calling URLConnection.setUseCaches(false). If I take away "Cache-Control: no-cache", I cannot reproduce the stall. In Java 5, we only set "Pragma: no-cache". For Java Web Start, I don't see why we need these no-cache headers at all actually.