This content has been marked as final.
Show 3 replies
-
1. Re: When does JBoss reopen a dead connection?
wdfink Nov 6, 2010 6:30 AM (in response to theglauber)1 of 1 people found this helpfulI expect also that the connection is destroyed and droped from pool if the validation-check fail.
Put it is possible that thea new connection can be opened but not established (you set the new-connection-sql also),
this looks like your behaviour.
Maybe it helps to TRACE 'org.jboss.jca'.
-
2. Re: When does JBoss reopen a dead connection?
theglauber Nov 8, 2010 12:29 PM (in response to wdfink)Yes, it is destroyed and dropped when validation-check fails, but shouldn't that happen also if there is a SQLException during use of that connection? It feels like connections that are generating errors shouldn't be left open.
g
-
3. Re: When does JBoss reopen a dead connection?
wdfink Nov 8, 2010 4:41 PM (in response to theglauber)No from documentation (training) the connection is not handed back to pool.