activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siegeld <david.sie...@twosigma.com>
Subject Invalid acknowledgement error
Date Tue, 21 Sep 2010 19:59:53 GMT

My 5.4.0 ActiveMQ server gives the following warnings on a very frequent
basis:

2010-09-21 15:43:57,472 | WARN  | Async error occurred:
javax.jms.JMSException: Invalid acknowledgment: MessageAck {commandId =
19213, responseRequired = false, ackType = 3, consumerId =
ID:kabocha.siegel.com-45421-1285043889944-0:17:1:1, firstMessageId = ...
        at
org.apache.activemq.broker.region.TopicSubscription.acknowledge(TopicSubscription.java:286)
        at
org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:383)
        at
org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:520)
        at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:77)
        at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:77)
        at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:77)
        at
org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:200)
        at
org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:87)
        at
org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:467)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:205)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:309)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:217)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:219)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:201)
        at java.lang.Thread.run(Thread.java:636)

I have two ActiveMQ servers set up in a network, running the duplex
connection between them.  I want to be able to publish and receive messages
with clients connecting to either server.  The configuration is simple, as
shown here:

There is nothing special in the activemq.xml file on the first host.  The
second host establishes the duplex connection:

<networkConnectors>
            <networkConnector name="kabocha"
            uri="static://(tcp://kabocha:61616)" duplex="true"
            dynamicOnly="true" networkTTL="1"/>
        </networkConnectors>

The setup most of the time seems to work, but I do get the above error
messages and I can't understand what is wrong.  Help would be appreciated.
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Invalid-acknowledgement-error-tp2549310p2549310.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message