Show Table of Contents
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
- Use JMX to change the attributes on the connection pool
jboss.jca:service=JBossManagedConnectionPool,name=<jndi-name>. - 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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.