[jboss-user] [JCA/JBoss] - Re: Listening Database Failover

vickyk do-not-reply at jboss.com
Thu Jun 7 08:33:40 EDT 2007


anonymous wrote : I want to do some specifc operations whenever a database failover occurs.
Database failover are considered as the FATAL exception by the JCA framework . JBoss JCA can close the Connection if the FATAL exception is detected during the usage of the Connection , to avail the feature which would detect the fatal errors and close the connection you would need to configure the ExceptionSorter in your application . 
Refer to this link to know how to configure ExceptionSorter 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SQLExceptionIONetwork

So you can override the ExceptionSorter and perform the operations which you need to do when the DB failover occurs .


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

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



More information about the jboss-user mailing list