How to set the Connection Timeout between Host Controller and Domain Controller ?

Solution Verified - Updated -

Issue

  • Due to slow network connectivity many times the Host Controller seems to be taking more than 30 seconds to connect to the Domain controller, After 30 seconds the host controller process fails and terminates as following:
[Host Controller] 16:34:53,123 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:34:54,127 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:34:55,131 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:34:56,137 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:34:57,142 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:34:58,148 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:35:01,154 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
[Host Controller] 16:35:04,158 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller 10.10.10.10:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.10.10.10:9999. The connection failed
.
.
.
ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010951: Could not connect to master in 11 attempts within 30000 ms

  • Is there a configurable timeout available in EAP6 which can be used to set the connection timeout between Host Controller and Domain Controller ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content