Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1311

It is not possible to edit set incremeter/decrementer settings of datasource pool in Web Console

XMLWordPrintable

      1. Start EAP
      2. Navigate to ExampleDS datasource
      3. Switch to Pool tab
      4. Try to set incrementer/decrementer class or add inrementer/decrementer property
      5. Unknown error appears

      After editing incrementer/decrementer class or adding inrementer/decrementer property and saving form only this error appears:

      Unexpected HTTP response: 500
      
      Request
      {
          "operation" => "composite",
          "address" => [],
          "steps" => [
              {
                  "address" => [
                      ("subsystem" => "datasources"),
                      ("data-source" => "ExampleDS")
                  ],
                  "operation" => "write-attribute",
                  "name" => "min-pool-size",
                  "value" => undefined
              },
              {
                  "address" => [
                      ("subsystem" => "datasources"),
                      ("data-source" => "ExampleDS")
                  ],
                  "operation" => "write-attribute",
                  "name" => "initial-pool-size",
                  "value" => undefined
              },
              {
                  "address" => [
                      ("subsystem" => "datasources"),
                      ("data-source" => "ExampleDS")
                  ],
                  "operation" => "write-attribute",
                  "name" => "max-pool-size",
                  "value" => undefined
              },
              {
                  "address" => [
                      ("subsystem" => "datasources"),
                      ("data-source" => "ExampleDS")
                  ],
                  "operation" => "write-attribute",
                  "name" => "capacity-decrementer-properties",
                  "value" => {"foo" => "bar"}
              }
          ]
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "result" => {
              "step-1" => {
                  "outcome" => "failed",
                  "rolled-back" => true
              },
              "step-2" => {
                  "outcome" => "failed",
                  "failure-description" => "WFLYJCA0045: failed to set attribute: null",
                  "rolled-back" => true
              },
              "step-3" => {
                  "outcome" => "failed",
                  "rolled-back" => true
              },
              "step-4" => {
                  "outcome" => "failed",
                  "rolled-back" => true
              }
          },
          "failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "WFLYJCA0045: failed to set attribute: null"}},
          "rolled-back" => true
      }
      

              hpehl@redhat.com Harald Pehl
              jkasik@redhat.com Jan Kašík
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: