Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.4.1, 5.4.2
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      Windows2k3, AMQ 5.3.1,

      Description

      I have two AMQ setup. And they use duplex network connection between. After I restart one ActiveMQ which initiates the connection, half of the message are missing. In order to avoid this problem, I have restart the other ActiveMQ. And this happens when I use "staticallyIncludedDestinations" or "dynamicallyIncludedDestinations" config in broker.

      1 SETUP:
      a) SCA server has a network connector to remote server114. In order to repeat this problem, you have to use "staticallyIncludedDestinations".

      <networkConnector name="SCA" uri="static://(https://192.168.3.114:61617)" duplex="true">
      <staticallyIncludedDestinations>
      <queue physicalName="R"/>
      </staticallyIncludedDestinations>
      </networkConnector>

      b) SCA server has a java code consumer listening on queue R:

      c) Remote server114 is listening on 61617, see config below;
      <transportConnectors>
      <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
      <transportConnector name="https" uri="https://0.0.0.0:61617?needClientAuth=true"/>
      </transportConnectors>
      (See attached picture "Remote-Console1.jpg".)

      2. Restart activemq on SCA server and restart consumer application listening on queue R on SCA too. Remote server114 activemq admin console shows there are two consumers on R.
      (See attached picture "Remote-Console2.jpg")

      3 Start a producer on remote server114 to send 10 messages to R. On SCA server, consumer on R only receives 5 messages.
      (See attached picture "SCA-consumer1.JPG")

      4. On remote server114 activemq admin console, these 10 messages are divided by these two consumers.
      (See attached picture "Remote-Console3.jpg")

      1. test-case.txt
        15 kB
        Stan Lewis
      2. test-case.txt
        9 kB
        Stan Lewis
      3. SCA-consumer1.JPG
        42 kB
        Qingyi Gu
      4. Remote-Console3.JPG
        57 kB
        Qingyi Gu
      5. Remote-Console2.JPG
        57 kB
        Qingyi Gu
      6. Remote-Console1.JPG
        56 kB
        Qingyi Gu

        Issue Links

          Activity

          Qingyi Gu created issue -
          Qingyi Gu made changes -
          Field Original Value New Value
          Attachment Remote-Console2.JPG [ 19361 ]
          Attachment Remote-Console1.JPG [ 19360 ]
          Attachment Remote-Console3.JPG [ 19362 ]
          Qingyi Gu made changes -
          Attachment SCA-consumer1.JPG [ 19363 ]
          Qingyi Gu made changes -
          Description I have two AMQ setup. And they use duplex network connection between. Here is the setup, see below

          1 SETUP:
          a) SCA server has a network connector to remote server114. In order to repeat this problem, you have to use "staticallyIncludedDestinations".

          <networkConnector name="SCA" uri="static://(https://192.168.3.114:61617)" duplex="true">
                         <staticallyIncludedDestinations>
                                        <queue physicalName="R"/>
                         </staticallyIncludedDestinations>
          </networkConnector>

          b) SCA server has a java code consumer listening on queue R:

          c) Remote server114 is listening on 61617, see config below;
          <transportConnectors>
                     <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
                     <transportConnector name="https" uri="https://0.0.0.0:61617?needClientAuth=true"/>
          </transportConnectors>
          (See attached picture "Remote-Console1.jpg".)

          2. Restart activemq on SCA server and restart consumer application listening on queue R on SCA too. Remote server114 activemq admin console shows there are two consumers on R.
          (See attached picture "Remote-Console2.jpg")

          3 Start a producer on remote server114 to send 10 messages to R. On SCA server, consumer on R only receives 5 messages.
          (See attached picture "SCA-consumer1.JPG")

          4. On remote server114 activemq admin console, these 10 messages are divided by these two consumers.
          (See attached picture "Remote-Console3.jpg")


          I have two AMQ setup. And they use duplex network connection between. After I restart one ActiveMQ which initiates the connection, half of the message are missing. In order to avoid this problem, I have restart the other ActiveMQ. And this only happens when I use "staticallyIncludedDestinations" config in broker.

          1 SETUP:
          a) SCA server has a network connector to remote server114. In order to repeat this problem, you have to use "staticallyIncludedDestinations".

          <networkConnector name="SCA" uri="static://(https://192.168.3.114:61617)" duplex="true">
                         <staticallyIncludedDestinations>
                                        <queue physicalName="R"/>
                         </staticallyIncludedDestinations>
          </networkConnector>

          b) SCA server has a java code consumer listening on queue R:

          c) Remote server114 is listening on 61617, see config below;
          <transportConnectors>
                     <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
                     <transportConnector name="https" uri="https://0.0.0.0:61617?needClientAuth=true"/>
          </transportConnectors>
          (See attached picture "Remote-Console1.jpg".)

          2. Restart activemq on SCA server and restart consumer application listening on queue R on SCA too. Remote server114 activemq admin console shows there are two consumers on R.
          (See attached picture "Remote-Console2.jpg")

          3 Start a producer on remote server114 to send 10 messages to R. On SCA server, consumer on R only receives 5 messages.
          (See attached picture "SCA-consumer1.JPG")

          4. On remote server114 activemq admin console, these 10 messages are divided by these two consumers.
          (See attached picture "Remote-Console3.jpg")


          Rob Davies made changes -
          Fix Version/s 5.4.1 [ 12332 ]
          Stan Lewis made changes -
          Attachment test-case.txt [ 19567 ]
          Stan Lewis made changes -
          Attachment test-case.txt [ 19571 ]
          Gary Tully made changes -
          Assignee Gary Tully [ gtully ]
          Qingyi Gu made changes -
          Description I have two AMQ setup. And they use duplex network connection between. After I restart one ActiveMQ which initiates the connection, half of the message are missing. In order to avoid this problem, I have restart the other ActiveMQ. And this only happens when I use "staticallyIncludedDestinations" config in broker.

          1 SETUP:
          a) SCA server has a network connector to remote server114. In order to repeat this problem, you have to use "staticallyIncludedDestinations".

          <networkConnector name="SCA" uri="static://(https://192.168.3.114:61617)" duplex="true">
                         <staticallyIncludedDestinations>
                                        <queue physicalName="R"/>
                         </staticallyIncludedDestinations>
          </networkConnector>

          b) SCA server has a java code consumer listening on queue R:

          c) Remote server114 is listening on 61617, see config below;
          <transportConnectors>
                     <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
                     <transportConnector name="https" uri="https://0.0.0.0:61617?needClientAuth=true"/>
          </transportConnectors>
          (See attached picture "Remote-Console1.jpg".)

          2. Restart activemq on SCA server and restart consumer application listening on queue R on SCA too. Remote server114 activemq admin console shows there are two consumers on R.
          (See attached picture "Remote-Console2.jpg")

          3 Start a producer on remote server114 to send 10 messages to R. On SCA server, consumer on R only receives 5 messages.
          (See attached picture "SCA-consumer1.JPG")

          4. On remote server114 activemq admin console, these 10 messages are divided by these two consumers.
          (See attached picture "Remote-Console3.jpg")


          I have two AMQ setup. And they use duplex network connection between. After I restart one ActiveMQ which initiates the connection, half of the message are missing. In order to avoid this problem, I have restart the other ActiveMQ. And this happens when I use "staticallyIncludedDestinations" or "dynamicallyIncludedDestinations" config in broker.

          1 SETUP:
          a) SCA server has a network connector to remote server114. In order to repeat this problem, you have to use "staticallyIncludedDestinations".

          <networkConnector name="SCA" uri="static://(https://192.168.3.114:61617)" duplex="true">
                         <staticallyIncludedDestinations>
                                        <queue physicalName="R"/>
                         </staticallyIncludedDestinations>
          </networkConnector>

          b) SCA server has a java code consumer listening on queue R:

          c) Remote server114 is listening on 61617, see config below;
          <transportConnectors>
                     <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
                     <transportConnector name="https" uri="https://0.0.0.0:61617?needClientAuth=true"/>
          </transportConnectors>
          (See attached picture "Remote-Console1.jpg".)

          2. Restart activemq on SCA server and restart consumer application listening on queue R on SCA too. Remote server114 activemq admin console shows there are two consumers on R.
          (See attached picture "Remote-Console2.jpg")

          3 Start a producer on remote server114 to send 10 messages to R. On SCA server, consumer on R only receives 5 messages.
          (See attached picture "SCA-consumer1.JPG")

          4. On remote server114 activemq admin console, these 10 messages are divided by these two consumers.
          (See attached picture "Remote-Console3.jpg")


          Gary Tully made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gary Tully made changes -
          Link This issue is depended upon by AMQ-2831 [ AMQ-2831 ]
          Colombo Marco made changes -
          Link This issue is depended upon by AMQ-2894 [ AMQ-2894 ]
          Dejan Bosanac made changes -
          Fix Version/s 5.5.0 [ 12344 ]
          Stirling Chow made changes -
          Link This issue is related to AMQ-3021 [ AMQ-3021 ]
          Jeff Turner made changes -
          Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]

            People

            • Assignee:
              Gary Tully
              Reporter:
              Qingyi Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development