0 Replies Latest reply on Mar 10, 2014 6:52 AM by neo.infinite

    HTTP (JSON-like) API - domain mode : server group status

    neo.infinite Newbie

      I have a jboss cluster set up in domain mode.

      I want to use the jboss management rest api to fetch information about the status of a server-group from the domain controller:

      eg:

       

      URL : http://myhost:9990/management

      Content Type: application/json

      Content :

      {

      "operation":"read-attribute",

      "address": [

          {

            "server-group": "my-core"

          }

        ],

        "name":"server-state",

        "json.pretty":1

      }

       

       

      ===================================

       

      I get back :

      Status : 500 Internal Server Error

      Message:

      {

          "outcome" : "failed",

          "failure-description" : "JBAS014792: Unknown attribute server-state",

          "rolled-back" : true

      }

       

      ===================================

      Does anybody know the topology or the term to define such an attribute?

      Is there an existing attribute that I could use instead? In that case how can I do that?