Forwarding to the dev list. I'm wondering to what extent we are
required to support these common operations?
Like Dmitri, I'm finding lots of places where the common operations
are not supported or not working for all attributes.
Is it theoretically possible to do everything you need with the common ops?
Are custom ops needed or are they just for convenience?
Stan
----- Forwarded message from do-not-reply(a)jboss.com -----
Date: Fri, 28 Oct 2011 07:27:26 -0400
From: Dmitri Voronov <do-not-reply(a)jboss.com>
Reply-To: Dmitri Voronov <do-not-reply(a)jboss.com>
Subject: [AS7 Users] - Common management operations
To: Stan Silvert <ssilvert(a)jboss.com>
Dmitri Voronov [
http://community.jboss.org/people/dimonv] created the
discussion
"Common management operations"
To view the discussion, visit:
http://community.jboss.org/message/634032#634032
--------------------------------------------------------------
Hi all,
the admin guide
https://docs.jboss.org/author/display/AS7/Management+Clients
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
[
http://community.jboss.org/message/634032#634032]
Start a new discussion in AS7 Users at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]
----- End forwarded message -----
Dmitri Voronov [
http://community.jboss.org/people/dimonv] created the discussion
"Common management operations"
To view the discussion, visit:
http://community.jboss.org/message/634032#634032
--------------------------------------------------------------
Hi all,
the admin guide
https://docs.jboss.org/author/display/AS7/Management+Clients
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
[
http://community.jboss.org/message/634032#634032]
Start a new discussion in AS7 Users at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]