2 Replies Latest reply on Nov 8, 2012 4:58 AM by Nicklas Karlsson

    Disabling datasource at runtime

    Nicklas Karlsson Master

      When we upgrade our application during scheduled maintenance, we need the application to kick out existing users, prevent new logins and free the database from DS connections. I've implemented this with a flag in an application scoped bean and a filter + a REST interface for enabling/disabling the flag. The problem is that I'd also like to shut down the connection pool but disabling it requires a reload. Are there any other ways to drop the connections from a pool without a full reload?