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

Server reconnect is not detected with peer protocol (2 peer setup only)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 2.0, 2.1
    • 3.0
    • None
    • None
    • Windows XP 2000

    Description

      Steps to reproduce:

      2 instances of tomcat 5.0.30, jdk 1.4.2, call it tomcat1 and tomcat2
      Each instance is running a webapp with the following config: brokerURL="peer://someService", embeddedBroker=(true or false, the behaviour is the same with either setting )

      Kill tomcat1: tomcat2's webapp detects the disconnect and successfully removes the client.
      Restart tomcat1: tomcat2's webapp DOES NOT detect the reconnect of tomcat1's webapp or any other peer but continues to hear its own messages. In activemq2.0 it's unable to hear even its own messages.

      When there are at least 3 peers in a cluster this does not occur and peers seem to detect membership changes correctly.

      If I am using the peer protocol incorrectly I would greatly appreciate if you let me know. All I am trying to have is
      a network of peers, each with an embedded broker to achieve transparent failover. Thanks a lot.

      Igor Kaplansky

      Attachments

        Activity

          People

            Unassigned Unassigned
            ibkaplan Igor Kaplansky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: