Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9510

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 7.1.0.DR13
    • Web Console
    • None
      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
            Jan Kašík Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: