[
https://issues.jboss.org/browse/AS7-794?page=com.atlassian.jira.plugin.sy...
]
Radoslav Husar updated AS7-794:
-------------------------------
Affects Version/s: 7.0.1.Final
7.0.0.Final
For anyone running into this issue and searching for it, the symptoms in 7.0.1 are as
follows:
{code}
14:31:16,316 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
14:31:16,433 INFO [org.jboss.as.process.Host Controller.status] (main) Starting process
'Host Controller'
[Host Controller] 14:31:16,696 INFO [org.jboss.modules] (main) JBoss Modules version
1.0.1.GA
[Host Controller] 14:31:16,903 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
[Host Controller] 14:31:17,160 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss
Remoting version 3.2.0.Beta2-redhat-1
[Host Controller] 14:31:17,178 INFO [org.xnio] (MSC service thread 1-3) XNIO Version
3.0.0.Beta3
[Host Controller] 14:31:17,190 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO
Implementation Version 3.0.0.Beta3
[Host Controller] 14:31:22,308 WARN [org.jboss.as.domain.controller] (Controller Boot
Thread) Could not connect to remote domain controller 127.0.0.1:9999
[Host Controller] 14:31:22,414 ERROR [stderr] (Controller Boot Thread) Exception in thread
"Controller Boot Thread" java.lang.IllegalStateException:
java.net.ConnectException: Could not connect to remote server at 5000 within 5000ms
[Host Controller] 14:31:22,414 ERROR [stderr] (Controller Boot Thread) at
org.jboss.as.host.controller.RemoteDomainConnectionService.connect(RemoteDomainConnectionService.java:238)
[Host Controller] 14:31:22,415 ERROR [stderr] (Controller Boot Thread) at
org.jboss.as.host.controller.RemoteDomainConnectionService.register(RemoteDomainConnectionService.java:159)
[Host Controller] 14:31:22,416 ERROR [stderr] (Controller Boot Thread) at
org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:291)
[Host Controller] 14:31:22,416 ERROR [stderr] (Controller Boot Thread) at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)
[Host Controller] 14:31:22,417 ERROR [stderr] (Controller Boot Thread) at
java.lang.Thread.run(Thread.java:662)
[Host Controller] 14:31:22,418 ERROR [stderr] (Controller Boot Thread) Caused by:
java.net.ConnectException: Could not connect to remote server at 5000 within 5000ms
[Host Controller] 14:31:22,418 ERROR [stderr] (Controller Boot Thread) at
org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:144)
[Host Controller] 14:31:22,420 ERROR [stderr] (Controller Boot Thread) at
org.jboss.as.host.controller.RemoteDomainConnectionService.connect(RemoteDomainConnectionService.java:221)
[Host Controller] 14:31:22,420 ERROR [stderr] (Controller Boot Thread) ... 4 more
{code}
Booting slave host controller only makes a single attempt to contact
master
---------------------------------------------------------------------------
Key: AS7-794
URL:
https://issues.jboss.org/browse/AS7-794
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.0.0.Final, 7.0.1.Final
Reporter: Brian Stansberry
Fix For: 7.1.0.Beta1
RemoteDomainConnectionService tries once to connect; if it fails it gives up immediately
and the node switches into slave mode.
This needs to be more robust, particularly to handle cases where the master and the slave
are starting concurrently (i.e. what should ideally be happening in integration tests).
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira