activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4295) Kahadb and activemq delete files unexpectedly
Date Wed, 13 Mar 2013 18:04:15 GMT

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

Timothy Bish commented on AMQ-4295:
-----------------------------------

Can you provide information on you configuration?  Have you tested with v5.8.0?

Its possible this is related to the recently resolved issue:
https://issues.apache.org/jira/browse/AMQ-4368

Suggest you try the latest nightly snapshot build of v5.9.0 or provide more details so we
can try to help.
                
> Kahadb and activemq delete files unexpectedly
> ---------------------------------------------
>
>                 Key: AMQ-4295
>                 URL: https://issues.apache.org/jira/browse/AMQ-4295
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.7.0
>         Environment: RHEL 6.3
>            Reporter: Mohit Anchlia
>            Priority: Critical
>
> After a while we see this message in the logs. It appears that activemq loses the pointers
or accidently deletes the file.
> 2013-02-03 08:54:49,890 | ERROR | org.apache.activemq.broker.region.cursors.QueueStorePrefetch@637aff2f:eventsEndpoint,batchResetNeeded=false,storeHasMessages=true,size=13985,cacheEnabled=false,maxBatchSize:200
- Failed to fill batch | org.apache.activemq.broker.region.cursors.AbstractStoreCursor | ActiveMQ
BrokerService[pprddaamq304.ie.intuit.net] Task-2076
> java.io.IOException: Could not locate data file /app/data/pprddaamq304.ie.intuit.net/kahadb/db-13872267.log
>         at org.apache.kahadb.journal.Journal.getDataFile(Journal.java:353)
>         at org.apache.kahadb.journal.Journal.read(Journal.java:600)
>         at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:879)
>         at org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:1030)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$4.execute(KahaDBStore.java:558)
>         at org.apache.kahadb.page.Transaction.execute(Transaction.java:769)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recoverNextMessages(KahaDBStore.java:547)
>         at org.apache.activemq.store.ProxyMessageStore.recoverNextMessages(ProxyMessageStore.java:106)
>         at org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:97)
>         at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:274)
>         at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:110)
>         at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157)
>         at org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1765)
>         at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1993)
>         at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1486)
>         at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
>         at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> 2013-02-03 08:54:49,890 | ERROR | org.apache.activemq.broker.region.cursors.QueueStorePrefetch@637aff2f:eventsEndpoint,batchResetNeeded=false,storeHasMessages=true,size=13985,cacheEnabled=false,maxBatchSize:200
- Failed to fill batch | org.apache.activemq.broker.region.cursors.AbstractStoreCursor | ActiveMQ
BrokerService[pprddaamq304.ie.intuit.net] Task-2076
> java.lang.RuntimeException: java.io.IOException: Could not locate data file /app/data/pprddaamq304.ie.intuit.net/kahadb/db-13872267.log
>         at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:277)
>         at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:110)
>         at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157)
>         at org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1765)
>         at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1993)
>         at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1486)
>         at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
>         at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Could not locate data file /app/data/pprddaamq304.ie.intuit.net/kahadb/db-13872267.log
>         at org.apache.kahadb.journal.Journal.getDataFile(Journal.java:353)
>         at org.apache.kahadb.journal.Journal.read(Journal.java:600)
>         at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:879)
>         at org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:1030)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$4.execute(KahaDBStore.java:558)
>         at org.apache.kahadb.page.Transaction.execute(Transaction.java:769)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recoverNextMessages(KahaDBStore.java:547)
>         at org.apache.activemq.store.ProxyMessageStore.recoverNextMessages(ProxyMessageStore.java:106)
>         at org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:97)
>         at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:274)
>         ... 10 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message