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

Updated 2014-07-16T13:33:07+00:00

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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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.65.210.19:9999: java.net.ConnectException: JBAS012174: Could not connect to remote://10.65.210.19: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 content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.