JBoss Community

Common management operations

created by Dmitri Voronov in AS7 Users - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in AS7 Users at Community