[jboss-dev-forums] [Design of JCA on JBoss] - Re: Handling fatal JDBC connection exceptions

adrian@jboss.org do-not-reply at jboss.com
Fri Aug 1 10:27:39 EDT 2008


"cbredesen" wrote : The original point of this feature involves the ability to purge based on the assumption that all connection are invalid (configurable of course).  So at least one of the options can't rely on a VCC or sql to be present.  I believe this is what you mean by "idle connections" i.e. pool.flush() which makes perfect sense.  I proporsed a slightly different angle on this in the JIRA, which is three behaviors upon fatal ex:
  | 
  | - destroy single
  | - initiate validation
  | - flush pool

Ok, but "initiate validation" could be an orthogonal option on background the validation
config. 


  | <background-validation validate-on-error="true"/>
  | 

Without background validation enabled, the thread that gets the error
is going to have to do a lot of work for large pools.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168186#4168186

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168186



More information about the jboss-dev-forums mailing list