activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit Anchlia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4295) Kahadb and activemq delete files unexpectedly
Date Sun, 03 Feb 2013 17:02:12 GMT
Mohit Anchlia created AMQ-4295:
----------------------------------

             Summary: 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