[jboss-jira] [JBoss JIRA] Created: (JBAS-9186) DC allows for registration of multiple hosts with same name

Heiko Rupp (JIRA) jira-events at lists.jboss.org
Wed Mar 30 08:30:37 EDT 2011


DC allows for registration of multiple hosts with same name
-----------------------------------------------------------

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


Have a domain with two hosts, where you basically clone the one configuration to the other host and then have the DC property point to the first one. Do not modify the <host name="local" > settings in host.xml (most users will just forget this).
Then start this "slave".

DC will print: 
[Host Controller] 14:21:33,442 INFO  [org.jboss.domain] (pool-1-thread-18) register host local

navigate to http://domain-controller:9990/domain-api/?json.pretty=true

This hangs and the DC logs shows exceptions about "network unreachable".

So allowing to register two hosts with the same name should not be allowed.



--
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