Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6302

xa-datasource-properties are not writable

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.1.Final, 7.1.2.Final (EAP)
    • JCA
    • None

    Description

      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@localhost:9999 /]  /subsystem=datasources/xa-data-source=testXA/xa-datasource-properties=User:remove()
      {"outcome" => "success"}
      [standalone@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@localhost:9999 /]
      

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

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            abenaiss Akram Ben Aissi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: