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

Not able to configure other datasource pool attributes until initial-pool-size is set

XMLWordPrintable

    • Regression, Blocks Testing
    • Hide
      • start EAP with e.g. standalone-full-ha configuration
      • using web console navigate Configuration > Subsystems > Datasources > Non-XA > ExampleDS > View > Pool > Edit
      • In Decrementer Class select org.jboss.jca.core.connectionmanager.pool.capacity.WatermarkDecrementer
      • Save
      Show
      start EAP with e.g. standalone-full-ha configuration using web console navigate Configuration > Subsystems > Datasources > Non-XA > ExampleDS > View > Pool > Edit In Decrementer Class select org.jboss.jca.core.connectionmanager.pool.capacity.WatermarkDecrementer Save

      Without initial-pool-size being set it's impossible to set other datasource pool attributes in web console.
      This is regression compared to EAP 7.0.0.GA as well as 7.1.0.DR12.
      This issue breaks web console part of EAP 7.0 RFE EAP7-178 Support capacity policies for JCA deployments

      Console shows HTTP API error

      Unknown error
      
      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
              }
          ]
      }
      
      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
              }
          },
          "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
              pjelinek@redhat.com Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: