WebLogic data sources' pools can be configured to prevent "leakage"—the process whereby connections are perceived as being in use when in reality the thread has stopped using it. Over time, this will cause the pool to be exhausted. In this case, it is said to have leaked connections!
This recipe will show how to configure WebLogic to mitigate against this scenario and reclaim these leaked connections.
You will need to have Oracle SOA Suite 11g installed on a server as we'll be accessing the default data source used by SOA Suite.
The following steps will allow us to set the data-source connection timeouts: