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

:flush-all-connection-in-pool called

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 2.6.10
    • Fix Version/s: Unknown
    • Component/s: None
    • Labels:
      None

      Description

      The following files has

      gui/src/main/java/org/jboss/as/console/client/shared/runtime/ds/DataSourceMetricPresenter.java:        operation.get(OP).set("flush-all-connection-in-pool");
      gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/model/DataSourceStoreImpl.java:        operation.get(OP).set("flush-all-connection-in-pool");
      

      This is very dangerous to call on resources being used by applications.

      WildFly 8+ should use :flush-gracefully, and EAP 6.x should use :flush-idle

      Alternative, have multiple modes for the "Flush" button w/ the options available for the platform in question

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              baranowb Bartosz Baranowski
              Reporter:
              harald.pehl Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: