You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by PDG <pa...@enormo.com> on 2009/09/01 14:00:55 UTC

Could not locate data file data-queue-data-X

We have the following error message appearing all of a sudden:

2009-08-26 03:40:12,416 [127.0.0.1:33961] ERROR AbstractStoreCursor           
- Failed to fill batch
java.lang.RuntimeException: org.apache.activemq.kaha.RuntimeStoreException:
java.io.IOException: Could not locate data file data-queue-data-109
        at
org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:230)
        at
org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:100)
        at
org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157)
        at org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1179)
        at
org.apache.activemq.broker.region.Queue.addSubscription(Queue.java:237)
        at
org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:275)
        at
org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:372)
        at
org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
        at
org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
        at
org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:83)
        at
org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
        at
org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:93)
        at
org.apache.activemq.broker.TransportConnection.processAddConsumer(TransportConnection.java:541)
        at
org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:345)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
        at
org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:78)
        at
org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135)
        at
org.apache.activemq.transport.stomp.ProtocolConverter.onStompSubscribe(ProtocolConverter.java:399)
        at
org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:183)
        at
org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:67)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.activemq.kaha.RuntimeStoreException:
java.io.IOException: Could not locate data file data-queue-data-109
        at
org.apache.activemq.kaha.impl.container.MapContainerImpl.getValue(MapContainerImpl.java:484)
        at
org.apache.activemq.store.kahadaptor.KahaReferenceStore.recoverNextMessages(KahaReferenceStore.java:118)
        at
org.apache.activemq.store.amq.AMQMessageStore.recoverNextMessages(AMQMessageStore.java:533)
        at
org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:75)
        at
org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:227)
        ... 25 more

We are at a loss to what could be causing this. We are running
activemq-5.2.0.

Thank you in advance for any suggestions!

-- 
View this message in context: http://www.nabble.com/Could-not-locate-data-file-data-queue-data-X-tp25239114p25239114.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Could not locate data file data-queue-data-X

Posted by Artie Pesh-Imam <ap...@tacitknowledge.com>.
Id like to get a little more detail on the cause of this issue and what was
the fix.  Is there a jira item associated with this?

If not, Rob, could you take a minute and provide a quick description. I've
installed Active MQ 5.2 at a client site and I'm seeing this problem. I'd
like to be able to provide a lot of detail and a sound recommendation with
my answer.

Thanks!
Artie


rajdavies wrote:
> 
> this looks like a fixed issue - try 5.3 snapshot
> On 1 Sep 2009, at 13:00, PDG wrote:
> 
>>
>> We have the following error message appearing all of a sudden:
>>
>> 2009-08-26 03:40:12,416 [127.0.0.1:33961] ERROR AbstractStoreCursor
>> - Failed to fill batch
>> java.lang.RuntimeException:  
>> org.apache.activemq.kaha.RuntimeStoreException:
>> java.io.IOException: Could not locate data file data-queue-data-109
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .region 
>> .cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:230)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java: 
>> 100)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java: 
>> 157)
>>        at  
>> org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1179)
>>        at
>> org.apache.activemq.broker.region.Queue.addSubscription(Queue.java: 
>> 237)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.region.AbstractRegion.addConsumer(AbstractRegion.java:275)
>>        at
>> org 
>> .apache 
>> .activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java: 
>> 372)
>>        at
>> org 
>> .apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
>>        at
>> org 
>> .apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
>>        at
>> org 
>> .apache 
>> .activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:83)
>>        at
>> org 
>> .apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:93)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .TransportConnection.processAddConsumer(TransportConnection.java:541)
>>        at
>> org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:345)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.TransportConnection.service(TransportConnection.java:305)
>>        at
>> org.apache.activemq.broker.TransportConnection 
>> $1.onCommand(TransportConnection.java:179)
>>        at
>> org 
>> .apache 
>> .activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .transport 
>> .stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java: 
>> 78)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .transport 
>> .stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .transport 
>> .stomp.ProtocolConverter.onStompSubscribe(ProtocolConverter.java:399)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .transport 
>> .stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:183)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .transport 
>> .stomp.StompTransportFilter.onCommand(StompTransportFilter.java:67)
>>        at
>> org 
>> .apache 
>> .activemq.transport.TransportSupport.doConsume(TransportSupport.java: 
>> 84)
>>        at
>> org 
>> .apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java: 
>> 203)
>>        at
>> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java: 
>> 185)
>>        at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.activemq.kaha.RuntimeStoreException:
>> java.io.IOException: Could not locate data file data-queue-data-109
>>        at
>> org 
>> .apache 
>> .activemq 
>> .kaha.impl.container.MapContainerImpl.getValue(MapContainerImpl.java: 
>> 484)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .store 
>> .kahadaptor 
>> .KahaReferenceStore.recoverNextMessages(KahaReferenceStore.java:118)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .store.amq.AMQMessageStore.recoverNextMessages(AMQMessageStore.java: 
>> 533)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .region 
>> .cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:75)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .region 
>> .cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:227)
>>        ... 25 more
>>
>> We are at a loss to what could be causing this. We are running
>> activemq-5.2.0.
>>
>> Thank you in advance for any suggestions!
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Could-not-locate-data-file-data-queue-data-X-tp25239114p25239114.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> Rob Davies
> I work here: http://fusesource.com
> My Blog: http://rajdavies.blogspot.com/
> I'm writing this: http://www.manning.com/snyder/
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Could-not-locate-data-file-data-queue-data-X-tp25239114p25995348.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Could not locate data file data-queue-data-X

Posted by Rob Davies <ra...@gmail.com>.
this looks like a fixed issue - try 5.3 snapshot
On 1 Sep 2009, at 13:00, PDG wrote:

>
> We have the following error message appearing all of a sudden:
>
> 2009-08-26 03:40:12,416 [127.0.0.1:33961] ERROR AbstractStoreCursor
> - Failed to fill batch
> java.lang.RuntimeException:  
> org.apache.activemq.kaha.RuntimeStoreException:
> java.io.IOException: Could not locate data file data-queue-data-109
>        at
> org 
> .apache 
> .activemq 
> .broker 
> .region 
> .cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:230)
>        at
> org 
> .apache 
> .activemq 
> .broker 
> .region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java: 
> 100)
>        at
> org 
> .apache 
> .activemq 
> .broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java: 
> 157)
>        at  
> org.apache.activemq.broker.region.Queue.doPageIn(Queue.java:1179)
>        at
> org.apache.activemq.broker.region.Queue.addSubscription(Queue.java: 
> 237)
>        at
> org 
> .apache 
> .activemq 
> .broker.region.AbstractRegion.addConsumer(AbstractRegion.java:275)
>        at
> org 
> .apache 
> .activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java: 
> 372)
>        at
> org 
> .apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
>        at
> org 
> .apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
>        at
> org 
> .apache 
> .activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:83)
>        at
> org 
> .apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:86)
>        at
> org 
> .apache 
> .activemq 
> .broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:93)
>        at
> org 
> .apache 
> .activemq 
> .broker 
> .TransportConnection.processAddConsumer(TransportConnection.java:541)
>        at
> org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:345)
>        at
> org 
> .apache 
> .activemq 
> .broker.TransportConnection.service(TransportConnection.java:305)
>        at
> org.apache.activemq.broker.TransportConnection 
> $1.onCommand(TransportConnection.java:179)
>        at
> org 
> .apache 
> .activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>        at
> org 
> .apache 
> .activemq 
> .transport 
> .stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java: 
> 78)
>        at
> org 
> .apache 
> .activemq 
> .transport 
> .stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135)
>        at
> org 
> .apache 
> .activemq 
> .transport 
> .stomp.ProtocolConverter.onStompSubscribe(ProtocolConverter.java:399)
>        at
> org 
> .apache 
> .activemq 
> .transport 
> .stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:183)
>        at
> org 
> .apache 
> .activemq 
> .transport 
> .stomp.StompTransportFilter.onCommand(StompTransportFilter.java:67)
>        at
> org 
> .apache 
> .activemq.transport.TransportSupport.doConsume(TransportSupport.java: 
> 84)
>        at
> org 
> .apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java: 
> 203)
>        at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java: 
> 185)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.activemq.kaha.RuntimeStoreException:
> java.io.IOException: Could not locate data file data-queue-data-109
>        at
> org 
> .apache 
> .activemq 
> .kaha.impl.container.MapContainerImpl.getValue(MapContainerImpl.java: 
> 484)
>        at
> org 
> .apache 
> .activemq 
> .store 
> .kahadaptor 
> .KahaReferenceStore.recoverNextMessages(KahaReferenceStore.java:118)
>        at
> org 
> .apache 
> .activemq 
> .store.amq.AMQMessageStore.recoverNextMessages(AMQMessageStore.java: 
> 533)
>        at
> org 
> .apache 
> .activemq 
> .broker 
> .region 
> .cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:75)
>        at
> org 
> .apache 
> .activemq 
> .broker 
> .region 
> .cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:227)
>        ... 25 more
>
> We are at a loss to what could be causing this. We are running
> activemq-5.2.0.
>
> Thank you in advance for any suggestions!
>
> -- 
> View this message in context: http://www.nabble.com/Could-not-locate-data-file-data-queue-data-X-tp25239114p25239114.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/