Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-1780

ActiveMQ broker does not automatically reconnect if the connection to the database is lost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0.0
    • 5.5.0
    • Broker
    • None
    • Windows 2003 Server

    Description

      hi

      We are noticing that after any SQL Server restart or network blip between ActiveMQ and the database, after the connection or the database comes back online activeMQ broker needs to be restarted as well i.e it doesn't automatically re-establish connection to the database as result any message send fails because the broker is still using the stale connection to the database.

      Is this designed behaviour or a bug? we are using ActiveMQ 5.0.0 and the latest version of the JSQLConnect database driver: version 5.7. The database we are using is MS SQL Server 2005

      Right now, in our production environment any time we have network maintenance or database restart we also have to restart the ActiveMQ broker which is not a good option for us.

      Also, We are using a single ActiveMQ broker and not the JDBC(Master/Slave) set up.

      Issue details in

      http://www.nabble.com/Database-connection-between-ActiveMQ-and-broker-td17321330s2354.html

      Please let me know if I need to give more information

      thanks
      jaya

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              jsrinivasan Jaya Srinivasan
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: