JBoss Community

Re: jboss cli java client remote command

created by Julio Saura in JBoss AS 7 Development - View the full discussion

ahhh, ok i thought i could pass whatever command this way, i see that i need to pass it in other way

 

that works for stopping and starting the server, but i do not find anyway to check if is up or down with this dmr syntax

 

read-resource does not show me the status

 

/host=master/server-config=server-one:read-resource

{

    "outcome" => "success",

    "result" => {

        "auto-start" => true,

        "cpu-affinity" => undefined,

        "group" => "main-server-group",

        "interface" => undefined,

        "name" => "server-one",

        "path" => undefined,

        "priority" => undefined,

        "socket-binding-group" => undefined,

        "socket-binding-port-offset" => 0,

        "system-property" => undefined,

        "jvm" => {"default" => undefined}

    }

}

 

any idea how should i ask to see if is started or not? i do not find any combination to check if its up or not

 

thanks !

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community