Julio Saura [
https://community.jboss.org/people/jsaura] created the discussion
"Re: jboss cli java client remote command"
To view the discussion, visit:
https://community.jboss.org/message/830968#830968
--------------------------------------------------------------
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
[
https://community.jboss.org/message/830968#830968]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]