JBoss.orgCommunity Documentation

Chapter 14. Flushing the Connection Pool for a Datasource

Certain resources, such as Datasources, have support for executing particular operations from the Administration Console. These operations are exposed on the Control tab for a particular resource. Below is the Control tab for a Datasource:

In order to flush the connection pool associated with a Datasource you navigate to the Datasource you are interested in, select its Control tab and then push the FLUSH button. Once the Control operation is executed, the Operation status is returned and listed in the Operations History section at the bottom of the main pane. Multiple operations can be executed and a history of results is maintained until the JBoss Application Server instance is restarted.

Other control operations include stopping the JBoss Application Server instance and removing all messages from a JMS Queue.