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

Slave Fail Error when Receiving message on a MasterSlave configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 5.0.0
    • 4.1.2
    • Broker
    • None
    • Windows XP, jdk1.5

    Description

      A slave fail error is caught while receiving message from master broker on a master slave configuration.

      I included the java files that I used. Running this through xbean/xml config also produces the same error.

      SEVERE: Slave Failed
      java.lang.AssertionError: Unsupported Method
      at org.apache.activemq.transport.TransportSupport.request(TransportSupport.java:71)
      at org.apache.activemq.transport.TransportFilter.request(TransportFilter.java:88)
      at org.apache.activemq.transport.TransportFilter.request(TransportFilter.java:88)
      at org.apache.activemq.transport.MutexTransport.request(MutexTransport.java:49)
      at org.apache.activemq.broker.ft.MasterBroker.sendSyncToSlave(MasterBroker.java:363)
      at org.apache.activemq.broker.ft.MasterBroker.sendToSlave(MasterBroker.java:345)
      at org.apache.activemq.broker.ft.MasterBroker.acknowledge(MasterBroker.java:320)
      at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:88)
      at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:491)
      at org.apache.activemq.command.MessageAck.visit(MessageAck.java:179)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:287)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:178)
      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:133)
      at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        1. ProducerTool.java
          6 kB
          Marlon Santos
        2. ASF.LICENSE.NOT.GRANTED--MasterSlave.java
          2 kB
          Marlon Santos
        3. ASF.LICENSE.NOT.GRANTED--ConsumerTool.java
          8 kB
          Marlon Santos

        Activity

          People

            rajdavies Robert Davies
            marlonsantos Marlon Santos
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: