Got it,
testOnBorrow="true"
validationQuery="select 1"
validationInterval="1"
did the trick.
sojin wrote:
>
> How to configure Tomcat 7 jdbc pool to retry database connection if the DB
> goes restarted ?
> With default configurations on alte
How to configure Tomcat 7 jdbc pool to retry database connection if the DB
goes restarted ?
With default configurations on alternatives like apache dbcp or bonecp, the
connection gets automatically re-connected when DB back in life. But not
with the Tomcat jdbc with all default configuration. Any