- Go to Administrative console
- Select Services ->
JDBC -> Connection Pools -> Your pool on the left side of the frame. On your right side, you will see the details of your pool.
- Select the tab "Connections" and change the refresh period to say 1 min. Now weblogic will try to refresh the pool every 1 min.
- Select the "Testing" tab and enter the test table name "some table in your database"
Now the pool will be refreshed when the database comes up after it goes down.