thanks Hans - test case would be great!

On 18 Sep 2008, at 08:02, Hans Bausewein wrote:


-1 for now :(

I get:

JMSException: Slave broker out of sync with master: Acknowledgment (...) was
not in the dispatch list:
       at
org .apache .activemq .broker .region.PrefetchSubscription.acknowledge(PrefetchSubscription.java: 400)
       at
org .apache .activemq .broker.region.AbstractRegion.acknowledge(AbstractRegion.java:373)

and then:

javax.transaction.xa.XAException: Transaction 'XID:257..........' has not
been started.
       at
org .apache .activemq .broker.TransactionBroker.getTransaction(TransactionBroker.java:266)
       at
org .apache .activemq .broker.TransactionBroker.commitTransaction(TransactionBroker.java: 169)

All the clients (JBoss and standalone) are hanging when I try to shutdown.
Only after 'kill slave' they are really stopping.

At that time the slave is logging:
 "TransportConnection XXXXXXXXXXX is taking a long time to shutdown."


This happens in the master in a Pure Master/Slave configuration.

After a restart I got this on the slave host:

36,092 DEBUG AMQMessageStore - Journalled transacted message add for: ID:otherhost-36537-1221719671752-0:120:1:1:1, at: offset = 953088,
file = 1, size = 1255, type = 1
36,158 DEBUG AMQMessageStore - Transacted message add commit for: ID:otherhost-36537-1221719671752-0:120:1:1:1, at: offset = 953088, file
= 1, size = 1255, type = 1
....
36,391 DEBUG AMQMessageStore - Journalled transacted message
remove for: ID:otherhost-36537-1221719671752-0:120:1:1:1, at: offset =
955802, file = 1, size = 407, type = 1
36,410 ERROR Service                        - Async error occurred:
javax.jms.JMSException: Slave broker out of sync with master: Dispatched
message (ID:otherhost-36537-1221719671752-0:120:1:1:1) was not in the
pending list
javax.jms.JMSException: Slave broker out of sync with master: Dispatched
message (ID:otherhost-36537-1221719671752-0:120:1:1:1) was not in the
pending list
       at
org .apache .activemq .broker .region .PrefetchSubscription .processMessageDispatchNotification(PrefetchSubscription.java:172) 36,414 DEBUG AMQMessageStore - Transacted message remove
commit for: ID:otherhost-36537-1221719671752-0:120:1:1:1, at: offset =
955802, file = 1, size = 407, type = 1


It seems that the message is removed 20 ms too early.

I try to make a test case for it.

Hans
--
View this message in context: 
http://www.nabble.com/-VOTE--ActiveMQ-5.2.0---RC1-tp19411389p19547141.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Reply via email to