Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4977

FederatedAddress Matcher Serialization failure configuring Colocated HA Cluster

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • AMQ 7.8.0.GA
    • None
    • None
    • Hide
      1. Configure 4 brokers (2 clustered pairs) with attached broker.xml files
      2. Start 1 broker pair (federation-1 and -2)
      3. Observe broker logs for ConfigurationImpl.copy() failure stack trace attempting to serialize a FederatedAddress$Matcher instance

      The attached broker.xml files contain address federation configurations but queue federations would exhibit the same failure.

      Show
      Configure 4 brokers (2 clustered pairs) with attached broker.xml files Start 1 broker pair (federation-1 and -2) Observe broker logs for ConfigurationImpl.copy() failure stack trace attempting to serialize a FederatedAddress$Matcher instance The attached broker.xml files contain address federation configurations but queue federations would exhibit the same failure.

    Description

      Attempting to configure address federation between colocated HA broker clusters in separate DCs. The customer use case requires duplicating each message for processing in two separate DCs, so address federation covers this requirement nicely.

      Configuring active-active, replicated broker pairs in clusters with colocated HA and address federation gives the following Exception:

      AMQ222261: Failed to activate a backup: java.security.PrivilegedActionException: java.io.NotSerializableException: org.apache.activemq.artemis.core.server.federation.address.FederatedAddress$Matcher

      The FederatedAddress$Matcher inner class is indeed not marked as java.io.Serializable. Presumably FederatedQueue$Matcher would throw the same Exception.

      Attachments

        1. fed-1-artemis.log
          147 kB
        2. fed-1-broker.xml
          4 kB
        3. fed-2-artemis.log
          65 kB
        4. fed-2-broker.xml
          4 kB
        5. fed-3-broker.xml
          4 kB
        6. fed-4-broker.xml
          4 kB

        Activity

          People

            ataylor@redhat.com Andy Taylor
            rhn-gps-rhighley Ryan Highley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: