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

[GSS](7.1.z) JBJCA-1375 - ActiveCount of data-source is not correct after reloaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.4.CR1, 7.1.4.GA
    • 7.0.9.GA, 7.1.1.GA
    • JCA
    • None
    • Hide

      Restart EAP server.

      Show
      Restart EAP server.
    • Hide

      1. Configure pool to default datasource.

      Ex cli command

      /subsystem=datasources/data-source=ExampleDS:write-attribute(name=statistics-enabled,value=true)
      /subsystem=datasources/data-source=ExampleDS:write-attribute(name=min-pool-size, value=100)
      /subsystem=datasources/data-source=ExampleDS:write-attribute(name=initial-pool-size, value=100)
      /subsystem=datasources/data-source=ExampleDS:write-attribute(name=max-pool-size, value=100)
      /subsystem=datasources/data-source=ExampleDS:write-attribute(name=pool-prefill,value=true)

      2. Restart EAP server.
      3. You can confirm correct ActiveCount.

      [standalone@localhost:9990 /] /subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-run
      time=true)                                                                                                         
      {                                                                                                                  
          "outcome" => "success",                                                                                        
          "result" => {                                                                                                  
              "ActiveCount" => 100,                                                                                      
              "AvailableCount" => 100,
      

      4.Execute reload command

      [standalone@localhost:9990 /] reload
      

      5.You cannot confirm correct ActiveCount.
      If you can get correct ActiveCount, please execute reload command again.

      [standalone@localhost:9990 /] /subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-run
      time=true)                                                                                                         
      {                                                                                                                  
          "outcome" => "success",                                                                                        
          "result" => {                                                                                                  
              "ActiveCount" => 84,                                                                                       
              "AvailableCount" => 100,
      
      Show
      1. Configure pool to default datasource. Ex cli command /subsystem=datasources/data-source=ExampleDS:write-attribute(name=statistics-enabled,value=true) /subsystem=datasources/data-source=ExampleDS:write-attribute(name=min-pool-size, value=100) /subsystem=datasources/data-source=ExampleDS:write-attribute(name=initial-pool-size, value=100) /subsystem=datasources/data-source=ExampleDS:write-attribute(name=max-pool-size, value=100) /subsystem=datasources/data-source=ExampleDS:write-attribute(name=pool-prefill,value=true) 2. Restart EAP server. 3. You can confirm correct ActiveCount. [standalone@localhost:9990 /] /subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-run time=true) { "outcome" => "success", "result" => { "ActiveCount" => 100, "AvailableCount" => 100, 4.Execute reload command [standalone@localhost:9990 /] reload 5.You cannot confirm correct ActiveCount. If you can get correct ActiveCount, please execute reload command again. [standalone@localhost:9990 /] /subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-run time=true) { "outcome" => "success", "result" => { "ActiveCount" => 84, "AvailableCount" => 100,

    Description

      ActiveCount in data-source statistics is not correct after executing reload CLI command.

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              rhn-support-enagai Eiichi Nagai (Inactive)
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: