Hi Friends
problem statement. I am developing an alerting system for my application. like if Any of the datasource or MQ resource etc got disconnected from my application then a alert email should be sent to concerned group members.
For this i have configured <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/> in my standalone.xml with intend that it will throw SQLException when ever pingDatabase failed.
My jboss version is 7
Question. My question is how can i control these thrown exception within my application. Need your urgent help.