Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-481

UnknownHostException in _info.jsp InetAddress.getLocalHost()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • None

    Description

      On some machines that have weird network settings, it is possible that InetAddress.getLocalHost() throws an UnknownHostException in _info.jsp in the admin console. This prevents the entire admin console from coming up.

      The fix is to catch the exception and use a host string of "unknown host" or something to that effect.

      Patch shortly.

      Attachments

        1. SOLR-481.patch
          0.9 kB
          Grant Ingersoll

        Activity

          People

            gsingers Grant Ingersoll
            gsingers Grant Ingersoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: