18.6.3. Changing, Closing or Flushing the pool

To change, close or flush the pool, do the following:

Procedure 18.1. Changing or Flushing the pool

  1. Use JMX to change the attributes on the connection pool jboss.jca:service=JBossManagedConnectionPool,name=<jndi-name>.
  2. Use JMX to invoke flush() to reset the pools.
Also, closing or undeploying the pool will force a flush first.
When flush() is invoked;
  • All idle connections are immediately closed;
  • Any in use connections are closed when the application finishes with them;
  • New connections are created.