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

UnknownHostException in _info.jsp InetAddress.getLocalHost()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

        1. SOLR-481.patch
          0.9 kB
          Grant Ingersoll

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: