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

Client may shtudown when failover connection is reconnecting. We need to maintain at least 1 non-daemon thread alive.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0, 5.3.0
    • Fix Version/s: 5.6.0, 4.0.3
    • Component/s: None
    • Labels:
      None

      Description

      Dejan Reported on the User lists:

      Hi,

      after some experiments I found that this problem only exists if there are no
      other threads in the application. It seems like connection thread dies
      before it manages to reconnect. By starting another thread in the
      application, it succeeds to recover from master failure and reconnect to the
      slave broker. So I have a workaround for now, but it would be nice to make
      this work even for simple (single-threaded) clients.

      Regards,
      Dejan

        Attachments

        1. threadDump.txt
          30 kB
          TuoDi
        2. Sender.java
          2 kB
          TuoDi
        3. jstack_v5.8.0
          7 kB
          Bhanu
        4. jstack_amq_5.6.0
          20 kB
          Bhanu
        5. AMQ-796.cmd
          1 kB
          Gang Wang

          Activity

            People

            • Assignee:
              rajdavies Robert Davies
              Reporter:
              chirino Hiram R. Chirino
            • Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: