Recover from UnknownHostException during setup

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)

Environment

None

Activity

Show:
Gaston Dombiak
February 21, 2007, 6:10 AM

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

Fixed

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak