[jboss-jira] [JBoss JIRA] (AS7-6302) xa-datasource-properties are not writable
Stefano Maestri (JIRA)
jira-events at lists.jboss.org
Thu Jan 10 04:34:08 EST 2013
[ https://issues.jboss.org/browse/AS7-6302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefano Maestri resolved AS7-6302.
----------------------------------
Resolution: Rejected
The attribute value is declared read-only as you can see from a :read_resource-description. xa-datasource-properties are subresources and can be removed and added (also w/o a reload-required on a disabled database), that is different from write an atrribute. I don't see any inconsistency there.
> 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: JCA
> Affects Versions: 7.1.1.Final, 7.1.2.Final (EAP)
> Reporter: Akram Ben Aissi
> Assignee: Stefano Maestri
>
> When trying to change a value of an xa-datasource-properties with the following command:
> {code}
> /subsystem=datasources/xa-data-source=testXA/xa-datasource-properties=User:write-attribute(name=value,value=Test)
> {code}
> One gets an error messaging saying:
> {code}
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014639: Attribute value is not writable",
> "rolled-back" => true,
> "response-headers" => {"process-state" => "reload-required"}
> }
> {code}
> However, the attribute can be removed and then re-added with different value, leading to a reload-required:
> {code}
> [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 /]
> {code}
> 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