[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:54:08 EST 2013


     [ https://issues.jboss.org/browse/AS7-6302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akram Ben Aissi updated AS7-6302:
---------------------------------

    Description: 
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.





  was:
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.






    
> 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.1.Final, 7.1.2.Final (EAP)
>            Reporter: Akram Ben Aissi
>            Assignee: Heiko Braun
>
> 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