[jboss-jira] [JBoss JIRA] Created: (JBAS-9191) :read-resource on / of a multi-host domain only lists the DC

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


:read-resource on / of a multi-host domain only lists the DC
------------------------------------------------------------

                 Key: JBAS-9191
                 URL: https://issues.jboss.org/browse/JBAS-9191
             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


Set up a domain with 2 hosts
When you (on the DC-host) browse to http://localhost:9990/domain-api/?json.pretty=true it only lists the DC host, but not the other one.

If one adds option &recursive to the URL, both hosts are shown

[16:59:11] <+bstansberry> pilhuhn: you mean a :read-resource on the root just returns:
[16:59:14] <+bstansberry>        "host" => {"local" => undefined}
[16:59:24] <+bstansberry> and there should be a second entry?
[17:00:13] <pilhuhn> sorta yes - I was just using the http enpoint on 9990 - and yes I would expect to see the remotes ("slaves") listed there as well.  If option recursive is set, this remote shows up
[17:00:18] <+bstansberry> yeah, I see that; I'll look into it; that's not right

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