ActiveMQ exception : "Failed to browse Topic"

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ActiveMQ exception : "Failed to browse Topic"

khandelwalanuj
Hi,

I am continuously seeing the below exception in ActiveMQ 5.8 broker logs for a particular topic. This is infrequent and occurs sometimes.

Please note that broker and client communication is fine. client is able to send and receive messages on that topic but exception is continuously coming.

What is causing this issue and what should I do to resolve it ?

--------------------------------
[20140713 13:07:30.288 EDT (ActiveMQ Broker[mqbrokerprod] Scheduler) org.apache.activemq.broker.region.Topic#doBrowse 615 WARN] - Failed to browse Topic: cometd.
ProxyPush
java.io.EOFException: Chunk stream does not exist, page: 34 is marked free
        at org.apache.activemq.store.kahadb.disk.page.Transaction$2.readPage(Transaction.java:470)
        at org.apache.activemq.store.kahadb.disk.page.Transaction$2.<init>(Transaction.java:447)
        at org.apache.activemq.store.kahadb.disk.page.Transaction.openInputStream(Transaction.java:444)
        at org.apache.activemq.store.kahadb.disk.page.Transaction.load(Transaction.java:420)
        at org.apache.activemq.store.kahadb.disk.page.Transaction.load(Transaction.java:377)
        at org.apache.activemq.store.kahadb.disk.index.BTreeIndex.loadNode(BTreeIndex.java:262)
        at org.apache.activemq.store.kahadb.disk.index.BTreeIndex.getRoot(BTreeIndex.java:174)
        at org.apache.activemq.store.kahadb.disk.index.BTreeIndex.iterator(BTreeIndex.java:232)
        at org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex$MessageOrderIterator.<init>(MessageDatabase.java:2757)
        at org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex.iterator(MessageDatabase.java:2739)
        at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$3.execute(KahaDBStore.java:526)
        at org.apache.activemq.store.kahadb.disk.page.Transaction.execute(Transaction.java:779)
        at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recover(KahaDBStore.java:522)
        at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
        at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
        at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:578)
        at org.apache.activemq.broker.region.Topic.access$100(Topic.java:65)
        at org.apache.activemq.broker.region.Topic$6.run(Topic.java:703)
        at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
----------------------------------------------

Thanks,
Anuj
Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ exception : "Failed to browse Topic"

khandelwalanuj
One important thing I forgot to mention in last update is:
> There is no durable subscriber on this topic.
> messages sent on this topic are non-persistent.

Then how come kahaDB indexes are getting corrupted ? I think the messages send on this topic should not even go to kahaDB.


Can someone please take a look.  


Thanks,
Anuj
Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ exception : "Failed to browse Topic"

khandelwalanuj
Did anyone get a chance to look at this ?

Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ exception : "Failed to browse Topic"

khandelwalanuj
Please respond.
Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ exception : "Failed to browse Topic"

bansalp
In reply to this post by khandelwalanuj
I am facing similar issue with ActiveMQ 5.10.

My question at Stackoverflow.

Can somebody help me here?

It seems to be a old bug which is supposed to get fix as part of this and related requests but am still seeing them in 5.10.