JDK-6484661 : cannot launch application offline if https is used
Type:Bug
Component:deploy
Sub-Component:webstart
Affected Version:7
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2006-10-20
Updated:2011-03-08
Resolved:2011-03-08
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.
regression reported from java.sun.com forum:
http://forum.java.sun.com/thread.jspa?threadID=778340&tstart=0
Comments
SUGGESTED FIX
we need to specifically call out a _checkFaulted case, so the loop in doUpdateCheck knows the difference between "https authentication dialog is up", and "request threw an exception".
20-10-2006
EVALUATION
looks like an regression caused by 5075953.
In the case where machine is offline, protocol is https, we just caught the exception and ignore it:
JNLPException[category: Download Error : Exception: java.net.UnknownHostExceptio
n: nicole1.sfbay.sun.com : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unk
nown Source)
at com.sun.javaws.LaunchDownload.isUpdateAvailable(Unknown Source)
at com.sun.javaws.Launcher$RapidUpdateCheck.run(Unknown Source)
but never set checkCompleted back to true. So we keep spinning in the while loop of doUpdateCheck, because we are https and checkCompleted is still false. http is okay because we will fall out of the while loop.