Openfire (ARCHIVED)

Recover from UnknownHostException during setup

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.2.2
  • Fix Version/s: 3.2.3
  • Component/s: Admin Console
  • Labels:
    None
  • Acceptance Test - Add?:
    No

Description

Under linux, if hostname cannot be resolved (i.e. no IP address can be found) then setup fails and the following stacktrace is shown:

java.net.UnknownHostException: wildfire: wildfire
at java.net.InetAddress.getLocalHost(Unknown Source)
at org.jivesoftware.wildfire.admin.setup.setup_002dhost_002dsettings_jsp._jspService(setup_002dhost_002dsettings_jsp.java:132)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Activity

Hide
Gaston Dombiak added a comment -

The error is now printed and 127.0.0.1 is suggested as the default domain.

Show
Gaston Dombiak added a comment - The error is now printed and 127.0.0.1 is suggested as the default domain.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: