activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6559) MultiKahaDBPersistenceAdapter crash
Date Thu, 12 Jan 2017 12:31:51 GMT

    [ https://issues.apache.org/jira/browse/AMQ-6559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15820894#comment-15820894
] 

Christopher L. Shannon commented on AMQ-6559:
---------------------------------------------

5.10.0 is a very old version and there have been many fixes since then.  I would recommend
trying a newer version especially because https://issues.apache.org/jira/browse/AMQ-5580 might
have fixed this already.

> MultiKahaDBPersistenceAdapter crash
> -----------------------------------
>
>                 Key: AMQ-6559
>                 URL: https://issues.apache.org/jira/browse/AMQ-6559
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>    Affects Versions: 5.10.0
>         Environment: java version "1.6.0_30"
> Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
> 2.6.32-642.1.1.el6.x86_64
> CentOS release 6.8 (Final)
>            Reporter: vivikillme
>         Attachments: activemq.xml, zabbix-tcp-info.jpg
>
>
> my activemq  throws Exception and could not work properly。
> activemq.log is full of  log like this:
> 2017-01-11 22:35:12,331 | WARN  | Async error occurred:  | org.apache.activemq.broker.TransportConnection.Service
| ActiveMQ Transport: tcp:///10.40.189.204:12188@61616
> java.lang.NullPointerException
> 	at org.apache.activemq.store.kahadb.MultiKahaDBPersistenceAdapter.size(MultiKahaDBPersistenceAdapter.java:316)[activemq-kahadb-store-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.StoreUsage.retrieveUsage(StoreUsage.java:51)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.Usage.caclPercentUsage(Usage.java:279)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.Usage.isFull(Usage.java:126)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.Usage.isFull(Usage.java:121)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.Queue.checkUsage(Queue.java:959)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:903)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.Queue.send(Queue.java:733)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:424)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:445)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:297)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:307)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:152)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:496)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:756)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:148)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:270)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)[activemq-client-5.10.0.jar:5.10.0]
> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_30]
> 2017-01-11 22:35:12,339 | WARN  | Async error occurred:  | org.apache.activemq.broker.TransportConnection.Service
| ActiveMQ Transport: tcp:///10.40.189.179:44900@61616
> java.lang.NullPointerException
> 	at org.apache.activemq.store.kahadb.MultiKahaDBPersistenceAdapter.size(MultiKahaDBPersistenceAdapter.java:316)[activemq-kahadb-store-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.StoreUsage.retrieveUsage(StoreUsage.java:51)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.Usage.caclPercentUsage(Usage.java:279)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.Usage.isFull(Usage.java:126)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.usage.Usage.isFull(Usage.java:121)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.Queue.checkUsage(Queue.java:959)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:903)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.Queue.send(Queue.java:733)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:424)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:445)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:297)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:307)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:152)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:496)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:756)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:148)[activemq-broker-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:270)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)[activemq-client-5.10.0.jar:5.10.0]
> 	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)[activemq-client-5.10.0.jar:5.10.0]
> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_30]
> please give some hlep, thanks~



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message