Could not create webserver: For input string: "example.com"

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Fisheye/Crucible fails to start. The following appears in the atlassian-fisheye.log:

INFO | jvm 1 | 2013/12/18 17:57:42 | 2013-12-18 17:57:42,184 ERROR - Could not create webserver: For input string: "example.com"

Cause

This error happens if the config.xml file is not correctly configured having the XML http-bind defined as a URL instead of a combination of hostname and port (hostname:port) or just port.

Resolution

  1. Stop Fisheye/Crucible if it is running.
  2. Correctly define http-bind in $FISHEYE_INST/config.xml:

    <web-server>
        <http bind=":8060"/>
    </web-server>
  3. Start the application.

See Configuring the Fisheye web server for more details.

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.