Could not create webserver: For input string: "example.com"
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Fisheye/Crucible fails to start. The following appears in the atlassian-fisheye.log
:
1
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
Stop Fisheye/Crucible if it is running.
Correctly define
http-bind
in$FISHEYE_INST/config.xml
:1 2 3
<web-server> <http bind=":8060"/> </web-server>
Start the application.
See Configuring the Fisheye web server for more details.
Was this helpful?