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

REGRESSION:JNLP file can not be found, if use IP address then it works

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b46)
        Java HotSpot(TM) Client VM (build 1.6.0-ea-b46, mixed mode, sharing)
       
      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
        No
       
      Operating System Configuration Information (be specific):
        Windows 2000 (German) with latest SP and security pack
       
      Bug Description:
        The jar files will not be found with JNLP files. If replace the host name
        with a IP address then it work. In the Details you can see:

      Exception:
      ========
      com.sun.deploy.net.FailedDownloadException: Ressource konnte nicht geladen
      werden: http://dell28/HelpDesk/Scripts/HelpDesk.jnlp
      <http://dell28/HelpDesk/Scripts/HelpDesk.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)
       

      Caused Exception:
      ===============
      java.net.UnknownHostException: dell28
       at java.net.PlainSocketImpl.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.&lt;init&gt;(Unknown Source)
       at sun.net.www.http.HttpClient.New(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.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)
       
       
       

      Steps to Reproduce (be specific):
       Simple start the attached jnlp file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ngthomas Thomas Ng (Inactive)
              Reporter:
              tyao Ting-Yun Ingrid Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: