Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.14.5
-
None
-
None
-
Active/Standby
RHEL 7.2 VM - 4 CPU - 8 GB RAM
50GB NFS4 shared
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="CMDBROKER-10.203.14.145"
dataDirectory="${activemq.data}" advisorySupport="false"><destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">">
<!-- The constantPendingMessageLimitStrategy is used to prevent
slow topic consumers to block producers and affect other consumers
by limiting the number of messages that are retained
For more information, see:http://activemq.apache.org/slow-consumer-handling.html
-->
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="1000"/>
</pendingMessageLimitStrategy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy><persistenceAdapter>
<kahaDB directory="${activemq.data}/kahadb" preallocationStrategy="zeros"/>
</persistenceAdapter><!--
The systemUsage controls the maximum amount of space the broker will
use before disabling caching and/or slowing down producers. For more information, see:
http://activemq.apache.org/producer-flow-control.html
-->
<systemUsage>
<systemUsage>
<memoryUsage>
<memoryUsage percentOfJvmHeap="70"/>
</memoryUsage>
<storeUsage>
<storeUsage limit="40 gb"/>
</storeUsage>
<tempUsage>
<tempUsage limit="8 gb"/>
</tempUsage>
</systemUsage>
</systemUsage><transportConnectors>
<!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
<transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
<transportConnector name="amqp"
uri="amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
<transportConnector name="stomp"
uri="stomp://0.0.0.0:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
<transportConnector name="mqtt"
uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
<transportConnector name="ws"
uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
</transportConnectors>Active/Standby RHEL 7.2 VM - 4 CPU - 8 GB RAM 50GB NFS4 shared <broker xmlns="http://activemq.apache.org/schema/core" brokerName="CMDBROKER-10.203.14.145" dataDirectory="${activemq.data}" advisorySupport="false"> <destinationPolicy> <policyMap> <policyEntries> <policyEntry topic=">"> <!-- The constantPendingMessageLimitStrategy is used to prevent slow topic consumers to block producers and affect other consumers by limiting the number of messages that are retained For more information, see: http://activemq.apache.org/slow-consumer-handling.html --> <pendingMessageLimitStrategy> <constantPendingMessageLimitStrategy limit="1000"/> </pendingMessageLimitStrategy> </policyEntry> </policyEntries> </policyMap> </destinationPolicy> <persistenceAdapter> <kahaDB directory="${activemq.data}/kahadb" preallocationStrategy="zeros"/> </persistenceAdapter> <!-- The systemUsage controls the maximum amount of space the broker will use before disabling caching and/or slowing down producers. For more information, see: http://activemq.apache.org/producer-flow-control.html --> <systemUsage> <systemUsage> <memoryUsage> <memoryUsage percentOfJvmHeap="70"/> </memoryUsage> <storeUsage> <storeUsage limit="40 gb"/> </storeUsage> <tempUsage> <tempUsage limit="8 gb"/> </tempUsage> </systemUsage> </systemUsage> <transportConnectors> <!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB --> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> </transportConnectors>
Description
Cl2018-05-09 02:35:17,497 | WARN | Store COMMIT FAILED: | org.apache.activemq.transaction.XATransaction | ActiveMQ Transport: tcp:///10.203.14.143:45625@61616
java.lang.ClassCastException: java.lang.String incompatible with java.lang.Long
at java.lang.Long.compareTo(Long.java:65)[:]
at java.util.Arrays.binarySearch0(Arrays.java:2783)[:1.8.0]
at java.util.Arrays.binarySearch(Arrays.java:2723)[:1.8.0]
at org.apache.activemq.store.kahadb.disk.index.BTreeNode.remove(BTreeNode.java:353)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.disk.index.BTreeNode.remove(BTreeNode.java:295)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.disk.index.BTreeIndex.remove(BTreeIndex.java:194)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase.updateIndex(MessageDatabase.java:1546)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase$RemoveOperation.execute(MessageDatabase.java:3112)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase$16.execute(MessageDatabase.java:1382)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.disk.page.Transaction.execute(Transaction.java:779)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:1378)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase$10.visit(MessageDatabase.java:1217)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.data.KahaCommitCommand.visit(KahaCommitCommand.java:130)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:1199)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:1114)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:1090)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.store.kahadb.KahaDBTransactionStore.commit(KahaDBTransactionStore.java:301)[activemq-kahadb-store-5.14.5.jar:5.14.5]
at org.apache.activemq.transaction.XATransaction.storeCommit(XATransaction.java:86)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.transaction.XATransaction.commit(XATransaction.java:76)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.broker.TransactionBroker.commitTransaction(TransactionBroker.java:252)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.broker.MutableBrokerFilter.commitTransaction(MutableBrokerFilter.java:118)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.broker.TransportConnection.processCommitTransactionTwoPhase(TransportConnection.java:547)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:102)[activemq-client-5.14.5.jar:5.14.5]
at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:336)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:200)[activemq-broker-5.14.5.jar:5.14.5]
at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.14.5.jar:5.14.5]
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:125)[activemq-client-5.14.5.jar:5.14.5]
at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:301)[activemq-client-5.14.5.jar:5.14.5]
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.14.5.jar:5.14.5]
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:233)[activemq-client-5.14.5.jar:5.14.5]
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)[activemq-client-5.14.5.jar:5.14.5]
at java.lang.Thread.run(Thread.java:785)[:]