0 Replies Latest reply on Jun 4, 2007 9:07 AM by Krithinarayanan

    How to limplement listener class for database failover?

    Krithinarayanan Newbie

      Hi All,
      I am using jboss-4.0.5.GA.zip_FILES, and mysql

      My default-ds.xml configuration is
      ....
      ... <connection-url>jdbc:mysql://test1,test2/TESTDB?zeroDateTimeBehavior=convertToNull&failOverReadOnly=false</connection-url>
      ....

      I want to do some specifc operations whenever a database failover occurs.
      I would like to know, how to implement the listener for failover, and what are the configurations needed in jboss

      Thanks in advance
      Krithi