Hi there,
We are facing an issue like consumer presenting issues to send ACK and rolling
back transition, and then client is not receiving more messages, and queue
growing.
javax.jms.JMSException: COMMIT FAILED: Transaction marked rollback only
xaErrorCode:100
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:54)
at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1420)
at
org.apache.activemq.TransactionContext.syncSendPacketWithInterruptionHandling(TransactionContext.java:761)
at
org.apache.activemq.TransactionContext.commit(TransactionContext.java:327)
at org.apache.activemq.ActiveMQSession.commit(ActiveMQSession.java:574)
at
com.funnelback.pds.v2.io.jms.threads.Listener$1.onMessage(Listener.java:63)
at
org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1394)
at
org.apache.activemq.ActiveMQMessageConsumer.iterate(ActiveMQMessageConsumer.java:1556)
at
org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:191)
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.transaction.xa.XAException: COMMIT FAILED: Transaction marked
rollback only xaErrorCode:100
at
org.apache.activemq.transaction.Transaction.newXAException(Transaction.java:213)
at
org.apache.activemq.transaction.Transaction.prePrepare(Transaction.java:115)
at
org.apache.activemq.transaction.LocalTransaction.commit(LocalTransaction.java:54)
at
org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:252)
at
org.apache.activemq.broker.BrokerFilter.commitTransaction(BrokerFilter.java:114)
at
org.apache.activemq.broker.TransportConnection.processCommitTransactionOnePhase(TransportConnection.java:529)
at
org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:100)
at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:330)
at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:194)
at
org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:125)
at
org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:301)
at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:233)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)
... 1 more
Caused by: javax.jms.TransactionRolledBackException: COMMIT FAILED:
Transaction marked rollback only xaErrorCode:100
at
org.apache.activemq.transaction.Transaction.prePrepare(Transaction.java:116)
... 14 more
Caused by: javax.jms.JMSException: Could not correlate acknowledgment with
dispatched message:
at
org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:306)
Any idea?
Which is the default configuration about ACK? Broker will block till receiving
the ACK? It's possible to replay those messages somehow before messages TTL
happening?
Any advice?
Thanks
Get Outlook for Android<https://aka.ms/ghei36>
Confidentiality: The contents of this e-mail and any attachments transmitted
with it are intended to be confidential to the intended recipient; and may be
privileged or otherwise protected from disclosure. If you are not an intended
recipient of this e-mail, do not duplicate or redistribute it by any means.
Please delete it and any attachments and notify the sender that you have
received it in error. This e-mail is sent by a William Hill PLC group company.
The William Hill group companies include, among others, William Hill PLC
(registered number 4212563), William Hill Organization Limited (registered
number 278208), William Hill US HoldCo Inc, WHG (International) Limited
(registered number 99191) and Mr Green Limited (registered number C43260). Each
of William Hill PLC and William Hill Organization Limited is registered in
England and Wales and has its registered office at 1 Bedford Avenue, London,
WC1B 3AU, UK. William Hill U.S. HoldCo, Inc. is registered in Delaware and has
its registered office at 1007 N. Orange Street, 9 Floor, Wilmington, New Castle
County DE 19801 Delaware, United States of America. WHG (International) Limited
is registered in Gibraltar and has its registered office at 6/1 Waterport
Place, Gibraltar. Mr Green Limited is registered in Malta and has its
registered office at Tagliaferro Business Centre, Level 7, 14 High Street,
Sliema SLM 1549, Malta. Unless specifically indicated otherwise, the contents
of this e-mail are subject to contract; and are not an official statement, and
do not necessarily represent the views, of William Hill PLC, its subsidiaries
or affiliated companies. Please note that neither William Hill PLC, nor its
subsidiaries and affiliated companies can accept any responsibility for any
viruses contained within this e-mail and it is your responsibility to scan any
emails and their attachments. William Hill PLC, its subsidiaries and affiliated
companies may monitor e-mail traffic data and also the content of e-mails for
effective operation of the e-mail system, or for security, purposes.