TIBCO Adminstrator throws error "java.io.IOException: Server returned HTTP response code: 400 for URL"

TIBCO Adminstrator throws error "java.io.IOException: Server returned HTTP response code: 400 for URL"

book

Article ID: KB0073877

calendar_today

Updated On:

Products Versions
TIBCO Administrator 5.X.x

Description

Administrator.log file shows below error.
 
<-------
 
2020 May 15 13:58:43:394 GMT +0900 Info [Deployment] PSINFRADEP-300011 [Thread-30]  "[][DefaultLogger/ServletEngine] Verifying if the web application administrator-EAI_OP-Uddi Console-5.1.2 at the context root administrator-EAI_OP-Uddi Console-5.1.2 is deployed."
2020 May 15 13:58:43:403 GMT +0900 Error [Administrator] AESDKJ-0000 [Thread-30]  com.tibco.ps.webapp.deployment.ServletEngineConfigException:
    at com.tibco.ps.webapp.deployment.impl.apache.TomcatServletEngine.isApplicationDeployed(TomcatServletEngine.java:405)
    at com.tibco.administrator.AdministratorPlugInManager.deployPlugIn(AdministratorPlugInManager.java:77)
    at com.tibco.administrator.AdministratorServlet$7.run(AdministratorServlet.java:744)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://abcd_DR01:8080/manager/text/list
    at com.tibco.ps.webapp.deployment.impl.apache.TomcatListTask.execute(TomcatListTask.java:99)
    at com.tibco.ps.webapp.deployment.impl.apache.TomcatServletEngine.isApplicationDeployed(TomcatServletEngine.java:400)
    ... 3 more
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://abcd_DR01:8080/manager/text/list
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at com.tibco.ps.webapp.deployment.impl.apache.TomcatListTask.execute(TomcatListTask.java:70)
    ... 4 more
---->


The error occurs because the hostname has invalid character underscore('_').
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names <https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names>


 

Issue/Introduction

Caused by: java.io.IOException: Server returned HTTP response code: 400

Environment

All operating systems

Resolution

Please change your hostname and recreate the Administrator domain. If the hostname can't be changed, you can add an alias (without underscore) to the "hosts" file, then recreate the administrator domain using the alias.