[jboss-jira] [JBoss JIRA] (AS7-6477) /host=* has something called "server" that is neither child nor attribute

Stan Silvert (JIRA) jira-events at lists.jboss.org
Wed Feb 13 14:23:57 EST 2013


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

Stan Silvert commented on AS7-6477:
-----------------------------------

I just start master and slave out of the box.

.\domain --host-config=host-master.xml -b=<my IP>
.\domain --host-config=host-slave.xml --master-address=127.0.0.1 -Djboss.management.native.port=10999


{noformat}
[domain at localhost:9999 /] /host=master:read-children-types
{
    "outcome" => "success",
    "result" => [
        "core-service",
        "interface",
        "jvm",
        "path",
        "server-config",
        "system-property"
    ]
}

and
[domain at localhost:9999 /] /host=master:read-resource-description
....
"children" => {
    "core-service" => {
        "description" => "Core services provided by the host's host controller.",
        "model-description" => undefined
    },
    "system-property" => {
        "description" => "A system property to set on all servers on the host.",
        "model-description" => undefined
    },
    "interface" => {
        "description" => "A list of fully specified named network interfaces available for use on the host.",
        "model-description" => undefined
    },
    "jvm" => {
        "description" => "A list of Java Virtual Machine configurations that can be applied ot servers on the host. TODO children",
        "model-description" => undefined
    },
    "path" => {
        "description" => "A list of named filesystem paths.",
        "model-description" => undefined
    },
    "server-config" => {
        "description" => "Host-level configurations for the servers that can run on this host.",
        "model-description" => undefined
    }
}
{noformat}
                
> /host=* has something called "server" that is neither child nor attribute
> -------------------------------------------------------------------------
>
>                 Key: AS7-6477
>                 URL: https://issues.jboss.org/browse/AS7-6477
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: Emanuel Muckenhuber
>             Fix For: 7.3.0.Alpha1
>
>
> Start a domain with a host called "master".  In CLI, do /host=master/:read-resource.  In the result, you will see a resource called "server".  
> However, if you do /host=master/:read-children-types it will not show up as a child type.
> If you do /host=master/:read-resource-description it will not show up as an attribute either.
> So what is "server"?  It's not a child and it's not an attribute.  Is it something that should not show up in read-resource?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list