Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2768

Negative AddressSize in JMX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11.0, 2.12.0, 2.14.0
    • 2.16.0
    • Broker
    • None

    Description

      Hello,

      I see negative address size in JMX. This happens when there are two consumers. One listening on the full topic name. The other listening on the wild card topic. I can easily reproduce with this. TestWildCard.java

      Broker shows:

      2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-152.
      2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-88.
      2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-944.
      2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-1,800.
      2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-1,736.
      2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-2,592.
      2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-3,448.
      2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-4,304.
      2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-5,160.
      2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-5,096.
      2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-5,952.
      2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-6,016.
      2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-6,080.
      2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-6,016.
      2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-6,872.
      2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-7,728.
      2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-8,584.
      2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-8,520.
      2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-9,376.
      2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-10,232.
      2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-10,168.
      2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-10,104.
      2020-05-17 09:24:34,835 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-10,960.
      2020-05-17 09:24:34,835 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-10,896.
      2020-05-17 09:24:34,836 WARN [org.apache.activemq.artemis.core.server] AMQ222214: Destination global.topic.FooBar has an inconsistent and negative address size=-10,960.
      2020-05-17 09:24:34,837

      Attachments

        1. TestWildCard.java
          3 kB
          Tarek Hammoud

        Issue Links

          Activity

            People

              gtully Gary Tully
              thammoud Tarek Hammoud
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m