[
https://issues.jboss.org/browse/WFCORE-369?page=com.atlassian.jira.plugin...
]
Brian Stansberry moved WFLY-231 to WFCORE-369:
----------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-369 (was: WFLY-231)
Component/s: Domain Management
(was: Domain Management)
Fix Version/s: 1.0.0.Beta1
(was: 9.0.0.Beta1)
HostControllerConnectionService connection timeout is not
configurable
----------------------------------------------------------------------
Key: WFCORE-369
URL:
https://issues.jboss.org/browse/WFCORE-369
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Dominik Pospisil
Assignee: Bartosz Baranowski
Fix For: 1.0.0.Beta1
I am seeing intermittent failures when starting AS7 in domain mode. It seems that this is
due to HostControllerConnectionService has hardcoded 15s timeout when trying to connect to
DC. I think that this value should be configurable.
HostControllerConnectionService.java:
...
ProtocolChannelClient.Configuration configuration = new
ProtocolChannelClient.Configuration();
configuration.setEndpoint(endpointInjector.getValue());
configuration.setConnectionTimeout(15000);
configuration.setUri(new URI("remote://" +
hcAddressInjector.getValue().getHostName() + ":" +
hcAddressInjector.getValue().getPort()));
client = ProtocolChannelClient.create(configuration);
...
Exception I am getting:
[Server:server-two] 13:52:54,766 ERROR [org.jboss.msc.service.fail] (MSC service thread
1-1) MSC00001: Failed to start service jboss.host.controller.channel:
org.jboss.msc.service.StartException in service jboss.host.controller.channel:
java.net.ConnectException: JBAS012144: Could not connect to
remote://localhost.localdomain:9999. The connection timed out
[Server:server-two] at
org.jboss.as.server.mgmt.domain.HostControllerConnectionService.start(HostControllerConnectionService.java:103)
[jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:server-two] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:server-two] at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:server-two] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_22]
[Server:server-two] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_22]
[Server:server-two] at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
[Server:server-two] Caused by: java.net.ConnectException: JBAS012144: Could not connect
to remote://localhost.localdomain:9999. The connection timed out
[Server:server-two] at
org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelClient.java:166)
[jboss-as-protocol-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)