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

solaris/linux: Javaws does not recognize the "default" browser

    XMLWordPrintable

Details

    • b92
    • 6
    • generic
    • generic

    Backports

      Description

        jdk build b91 --> b92 regression, detected on Solaris and Linux.

        JavaWS does not resolve host's local name returned by java.net.InetAddress.getHostName().

        E.g. attempt to start "myapp.jnlp" from "myhost" on the same host
            javaws http://myhost/myapp.jnlp
        fails with

            CouldNotLoadArgumentException[ Could not load file/URL specified: ... ]

        the nested IOException contains confusing message:

            Server returned HTTP response code: 500 for URL: ...

        That is not true: the HTTP server did not return that status code, because it did not recieve an HTTP request at all.

        This issue raised if host's local names are presented in URLs from a jnlp file also.

        (Please find actual stack traces for both the exceptions in Comments section)

        Resolution for canonical fully-qualified host name or IP address works OK.

        Attachments

          Issue Links

            Activity

              People

                vdrozdov Victor Drozdov (Inactive)
                asutchil Arkadiy Sutchilin (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: