This content has been marked as final.
Show 2 replies
-
1. Re: auto reconnect to database in jboss-as-7.1.1.Final
jaysensharma Nov 24, 2014 8:01 AM (in response to newbie.one)Hello,
You should also use the <validate-on-match> will result in the quick recovery from the database outage, but you should remember that it creates some load on the database because it validates the connection each time the connection is checked out from the pool. <background-validation>true</background-validation> can be used to reduces load on the database compared to <validate-on-match>, but usually it will take some longer time to detect invalid connections. So you need to choose any one of them at a time base don your need.
-
2. Re: auto reconnect to database in jboss-as-7.1.1.Final
newbie.one Nov 25, 2014 1:47 AM (in response to jaysensharma)thanks sir, it works