[jboss-jira] [JBoss JIRA] Created: (JBAS-9311) Error when an existing slave re-registers at the DC

Heiko Rupp (JIRA) jira-events at lists.jboss.org
Wed Apr 13 15:14:33 EDT 2011


Error when an existing slave re-registers at the DC
---------------------------------------------------

                 Key: JBAS-9311
                 URL: https://issues.jboss.org/browse/JBAS-9311
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Domain Management
    Affects Versions: 7.0.0.Beta2
            Reporter: Heiko Rupp


Start the DC, start a slave (pintsize). Slave connects. All ok.
Shutdown slave, re-connect again

[Host Controller] 20:50:24,691 INFO  [org.jboss.domain] (pool-1-thread-5) register host pintsize
[Host Controller] 20:50:24,692 ERROR [org.jboss.as.host.controller] (pool-1-thread-5) java.lang.IllegalArgumentException: There is already a host named 'pintsize'

^C on slave again , then restart slave

[Host Controller] 21:05:54,764 INFO  [org.jboss.domain] (pool-1-thread-26) register host pintsize
[Host Controller] 21:05:54,764 ERROR [org.jboss.as.host.controller] (pool-1-thread-26) java.lang.IllegalArgumentException: There is already a host named 'pintsize'


I don't know if this error is spurious or if it prevents some logic from happening.
It should not be thrown when a known domain slave connects to the DC.
Duplicate slaves should be prevented ( JBAS-9186 ) as they create issues.

In RHQ we also have a hub-spoke architecture where the agents exchange a token with the server, that allows them to identify itself. Talk to mazz if you need more info.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list