Solr
  1. Solr
  2. SOLR-481

UnknownHostException in _info.jsp InetAddress.getLocalHost()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      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.

      1. SOLR-481.patch
        0.9 kB
        Grant Ingersoll

        Activity

        Hide
        Grant Ingersoll added a comment -

        Patch to catch the exception and use a default of "unknown" for the host.

        Show
        Grant Ingersoll added a comment - Patch to catch the exception and use a default of "unknown" for the host.
        Hide
        Yonik Seeley added a comment -

        Looks fine... so go ahead and use your new committer status

        Show
        Yonik Seeley added a comment - Looks fine... so go ahead and use your new committer status
        Hide
        Grant Ingersoll added a comment -

        Committed.

        Show
        Grant Ingersoll added a comment - Committed.
        Hide
        Hoss Man added a comment -

        This bug was modified as part of a bulk update using the criteria...

        • Marked "Resolved" and "Fixed"
        • Had no "Fix Version" versions
        • Was listed in the CHANGES.txt for 1.3 as of today 2008-03-15

        The Fix Version for all 29 issues found was set to 1.3, email notification was suppressed to prevent excessive email.

        For a list of all the issues modified, search jira comments for this (hopefully) unique string: batch20070315hossman1

        Show
        Hoss Man added a comment - This bug was modified as part of a bulk update using the criteria... Marked "Resolved" and "Fixed" Had no "Fix Version" versions Was listed in the CHANGES.txt for 1.3 as of today 2008-03-15 The Fix Version for all 29 issues found was set to 1.3, email notification was suppressed to prevent excessive email. For a list of all the issues modified, search jira comments for this (hopefully) unique string: batch20070315hossman1

          People

          • Assignee:
            Grant Ingersoll
            Reporter:
            Grant Ingersoll
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development