Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6820022

None of JavaFx samples are loading sometime on Windows 7 With Admin user

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_vista

      Description

      Please make sure UAC is Enabled and User is Admin user on windows 7. It was reproducible consistentely with JDK bundles Y'day. What Today after i tried many to get the exact steps, it is showing inconsistent behavior. I am still filing for tracking purpose. Will try later on some other windows 7 machine to reproduce this issue.

      How to reproduce?

      1.) Make sure no Cache exist, run javaws -uninstall to be on the safer side
      2.) Uninstall all JRE and JDK from the machine.
      3.) Install 6u14 JDK bundle with Public JRE.
      4.) Check JCP cache viewer nothing exist. JCP Network setting is using Browser setting. In, I can access any internet link.
      5.) Open IE and goto Javafx.com/samples.
      6.) Open Fish sample. It shows the following error.
      exception: JNLP file error: webstart/FishSim_browser.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct..
      java.io.FileNotFoundException: JNLP file error: webstart/FishSim_browser.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct.
      at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Exception: java.io.FileNotFoundException: JNLP file error: webstart/FishSim_browser.jnlp. Please make sure the file exists and che

      7.) Do Steps from 1 to 5 .
      Now open http://javafx.com/samples/InterestingPhotos/webstart/InterestingPhotos.jnlp in IE . It shows the following error:
      com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://javafx.com/samples/InterestingPhotos/webstart/InterestingPhotos.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.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.Launcher.updateFinalLaunchDesc(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(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)
      java.net.UnknownHostException: javafx.com
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at sun.net.NetworkClient.doConnect(Unknown Source)
      at sun.net.www.http.HttpClient.openServer(Unknown Source)
      at sun.net.www.http.HttpClient.openServer(Unknown Source)
      at sun.net.www.http.HttpClient.<init>(Unknown Source)
      at sun.net.www.http.HttpClient.New(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.connect(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.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.Launcher.updateFinalLaunchDesc(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(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)

      Chaningin to P2 as I could reproduce it with UAC OFF as well. So I guess some issue with some Registry settings. If we do multiple install uninstall this may not be no longer reproducible. If you need a machine to reproduce this please let me know.

        Attachments

          Activity

            People

            • Assignee:
              ccheung Calvin Cheung
              Reporter:
              pgsunw Praveen G (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: