1 Reply Latest reply on Oct 28, 2011 8:26 AM by Kabir Khan

    Common management operations

    Dmitri Voronov Novice

      Hi  all,

       

      the admin guide

      https://docs.jboss.org/author/display/AS7/Management+Clients

      says:

      "... common operations that exist on any node... The common operations are:

      • add
      • remove
      • read-attribute
      • write-attribute
      • read-children-names
      • read-children-resources
      • read-children-types
      • read-operation-description
      • read-operation-names
      • read-resource
      • read-resource-description"

       

      Thus I can execute e.g.:

      [standalone@localhost:9999 /] /extension=org.divo.hr:add
      {"outcome" => "success"}
      

      and

      [standalone@localhost:9999 /] /subsystem=hr:add
      {"outcome" => "success"}
      

       

      but I cannot execute:

      [standalone@localhost:9999 /] /subsystem=hr:remove
      {
          "outcome" => "failed",
          "failure-description" => "No handler for operation remove at address [(\"subsystem\" => \"hr\")]",
          "rolled-back" => true
      }
      

       

      but I can:

      [standalone@localhost:9999 /] /extension=org.divo.hr:remove
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      

       

      Are subsystems and extenssions an exception?

      Anyway, in my opinion as an infrustructure responsible I should be able to manage extensions and subsystems.

       

      Regards