Javadoc 6 API's JNLP Demos don't work

Hello,

I can't launch any of the demos provided by the online documentation of Java.

Each time I try, I get the same error: "Impossible de lancer l'application" (Unable to launch application).

When I click "details", in the "exception" tab, I get this: (unable to load resource)

com.sun.deploy.net.FailedDownloadException: Impossible de charger la ressource : http://java.sun.com/docs/books/tutorialJWS/uiswing/misc/examples/IconDemoApplet.jnlp

at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)

at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.downloadJNLPFile(Unknown Source)

at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.launch(Unknown Source)

at com.sun.javaws.Main.launchApp(Unknown Source)

at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

at com.sun.javaws.Main$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

and in the "exception boucl閑" tab (the 3rd one),error 403:

java.io.IOException: Server returned HTTP response code: 403 for URL: http://java.sun.com/docs/books/tutorialJWS/uiswing/misc/examples/IconDemoApplet.jnlp

at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)

at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)

at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)

at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)

at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.downloadJNLPFile(Unknown Source)

at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.launch(Unknown Source)

at com.sun.javaws.Main.launchApp(Unknown Source)

at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

at com.sun.javaws.Main$1.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://java.sun.com/docs/books/tutorialJWS/uiswing/misc/examples/IconDemoApplet.jnlp

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

... 18 more

I run windows XP SP2, I have the JDK 6 installed on my computer, and I already tried to uninstall/reinstall it...

I tried to browse the documentation with firefox 2, IE 7 and the chm version of the documentation, but I always get the same error, it definitely come from the Java web start launcher.

If someone have an idea, I would be very pleased! I just want the JDK to work well with its own documentation !

Thank you

[4271 byte] By [Olaf69a] at [2007-11-26 14:36:58]
# 1

Couple of quick notes.

I tried this example and it 'ended' with the message

'download stalled' while the progress bar was less

than 1/4 complete. It remained that way for over an

hour before I cancelled it (so no exceptions, as such).

When I tried it off the local file system, it worked just

fine. To do that test, I made direct requests for the

JNLP file, and the two jar's - and experienced no

problems or delays accessing any of the resources.

Why it is failing off the net, I cannot say.

AndrewThompson64a at 2007-7-8 8:17:54 > top of Java-index,Desktop,Deploying...