Advertisement
Guest User

Untitled

a guest
May 24th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. /* This works: */
  2.  
  3. [domain@localhost:9990 /] /host=master/server-config=*:query(select=[name], where={status=STARTED})
  4. {
  5. "outcome" => "success",
  6. "result" => [
  7. {
  8. "address" => [
  9. ("host" => "master"),
  10. ("server-config" => "server-one")
  11. ],
  12. "outcome" => "success",
  13. "result" => {"name" => "server-one"}
  14. },
  15. {
  16. "address" => [
  17. ("host" => "master"),
  18. ("server-config" => "server-two")
  19. ],
  20. "outcome" => "success",
  21. "result" => {"name" => "server-two"}
  22. }
  23. ]
  24. }
  25.  
  26.  
  27. /* This however fails ...*/
  28.  
  29. [domain@localhost:9990 /] /host=*/server-config=*:query(select=[name], where={status=STARTED})
  30. Failed to get the list of the operation properties: "WFLYCTL0162: There is no operation query registered at address [
  31. ("host" => "*"),
  32. ("server-config" => "*")
  33. ]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement