United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6484661 cannot launch application offline if https is used
JDK-6484661 : cannot launch application offline if https is used

Details
Type:
Bug
Submit Date:
2006-10-20
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
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".
                                     
2006-10-20
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.
                                     
2006-10-20



Hardware and Software, Engineered to Work Together