0 Replies Latest reply on Apr 28, 2016 11:26 PM by sumit singhal

    jboss catching SQLException in container managed transaction

    sumit singhal Newbie

      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.