[jboss-dev-forums] [JBoss AS 7 Development] - Re: jboss cli java client remote command
Julio Saura
do-not-reply at jboss.com
Thu Aug 1 10:16:33 EDT 2013
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130801/f01366f2/attachment.html
More information about the jboss-dev-forums
mailing list