[jboss-jira] [JBoss JIRA] (AS7-6302) xa-datasource-properties are not writable

Akram Ben Aissi (JIRA) jira-events at lists.jboss.org
Wed Jan 9 05:52:08 EST 2013


Akram Ben Aissi created AS7-6302:
------------------------------------

             Summary: xa-datasource-properties are not writable
                 Key: AS7-6302
                 URL: https://issues.jboss.org/browse/AS7-6302
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Console
    Affects Versions: 7.1.2.Final (EAP), 7.1.1.Final
            Reporter: Akram Ben Aissi
            Assignee: Heiko Braun


When trying to change a value of an xa-datasource-properties with the following command:
/subsystem=datasources/xa-data-source=testXA/xa-datasource-properties=User:write-attribute(name=value,value=Test)

One gets an error messaging saying:
{
    "outcome" => "failed",
    "failure-description" => "JBAS014639: Attribute value is not writable",
    "rolled-back" => true,
    "response-headers" => {"process-state" => "reload-required"}
}


However, the attribute can be removed and then re-added with different value, leading to a reload-required:
[standalone at localhost:9999 /]  /subsystem=datasources/xa-data-source=testXA/xa-datasource-properties=User:remove()
{"outcome" => "success"}
[standalone at localhost:9999 /]  /subsystem=datasources/xa-data-source=testXA/xa-datasource-properties=User:add(value=Test)
{
    "outcome" => "success",
    "response-headers" => {
        "operation-requires-reload" => true,
        "process-state" => "reload-required"
    }
}
[standalone at localhost:9999 /]

To be consistent, the attribute value should be writable and also leads to a reload-required.





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list