:read-attribute and :write-attribute Error in AS7
-------------------------------------------------
Key: MODCLUSTER-246
URL:
https://issues.jboss.org/browse/MODCLUSTER-246
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.1.3.Final
Reporter: Stefan Negrea
Assignee: Jean-Frederic Clere
:read-attribute(name=xyz) and :write-attribute(name=xyz,value=zyx) do not work in console
with JBoss AS7.1 nightly builds.
The expectation is that :read-attribute will return the current value of the property or
the default value if the property has not been set. For :write-attribute the expectation
is that all the properties listed in :read-resource-description can be set.
The JBoss was started with the following command:
bin/standalone.sh --server-config=standalone-ha.xml
Here is the current output for invoking the two operations use the advertise attribute as
an example. The outcome of both operations is failed.
[standalone@localhost:9999 subsystem=modcluster] :read-attribute(name=advertise)
{
"outcome" => "failed",
"failure-description" => "No known attribute advertise",
"rolled-back" => true
}
[standalone@localhost:9999 subsystem=modcluster]
:write-attribute(name=advertise,value=true)
{
"outcome" => "failed",
"failure-description" => "No known attribute called
advertise",
"rolled-back" => true
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira