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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Apr 14 08:57:33 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-9311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595573#comment-12595573 ] 

Brian Stansberry commented on JBAS-9311:
----------------------------------------

Yes, we intend to have hosts authenticate themselves to the domain. But pending Darran's getting that going we can improve a bit what we have, e.g. before throwing that IAE validate whether the existing connection is still good.

> 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
>            Assignee: Kabir Khan
>
> 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