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] [Closed] (AMQ-2977) JournalPersistenceAdapter - Failed to checkpoint a message store: ExecutionException: java.io.IOException: Not started
Date Fri, 02 Nov 2012 14:29:11 GMT

     [ https://issues.apache.org/jira/browse/AMQ-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish closed AMQ-2977.
-----------------------------

    Resolution: Won't Fix
    
> JournalPersistenceAdapter - Failed to checkpoint a message store: ExecutionException:
java.io.IOException: Not started
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2977
>                 URL: https://issues.apache.org/jira/browse/AMQ-2977
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: Enterprise Linux Enterprise Linux Server release 5.4 (Carthage);
Red Hat Enterprise Linux Server release 5.4 (Tikanga);
> ActiveMQ incubator-activemq-4.0
> Default configuration - must be derby
>            Reporter: Rishi Dev
>
> We are getting these exceptions in our activemq.log
> -----------------------------------------------------------------------
> 2010-10-14 14:56:52,005 [eckpoint Worker] ERROR JournalPersistenceAdapter      - Failed
to checkpoint a message store: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.io.IOException: Not started.
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException:
Not started.
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:377)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(JournalPersistenceAdapter.java:121)
>         at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:87)
>         at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:24)
>         at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:38)
> Caused by: java.io.IOException: Not started.
>         at org.apache.activemq.store.jdbc.TransactionContext.rollback(TransactionContext.java:164)
>         at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.rollbackTransaction(JDBCPersistenceAdapter.java:308)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.rollbackTransaction(JournalPersistenceAdapter.java:189)
>         at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:61)
>         at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:246)
>         at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:220)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(JournalPersistenceAdapter.java:347)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:619)
> 2010-10-14 14:56:59,369 [eckpoint Worker] ERROR JournalPersistenceAdapter      - Failed
to checkpoint a message store: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.io.IOException: Not started.
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException:
Not started.
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:377)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(JournalPersistenceAdapter.java:121)
>         at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:87)
>         at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:24)
>         at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:38)
> Caused by: java.io.IOException: Not started.
>         at org.apache.activemq.store.jdbc.TransactionContext.rollback(TransactionContext.java:164)
>         at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.rollbackTransaction(JDBCPersistenceAdapter.java:308)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.rollbackTransaction(JournalPersistenceAdapter.java:189)
>         at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:61)
>         at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:246)
>         at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:220)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(JournalPersistenceAdapter.java:347)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:619)
> 2010-10-14 14:56:59,370 [eckpoint Worker] ERROR JournalPersistenceAdapter      - Failed
to mark the Journal: org.apache.activeio.journal.InvalidRecordLocationException: The location
is less than the last mark.
> org.apache.activeio.journal.InvalidRecordLocationException: The location is less than
the last mark.
>         at org.apache.activeio.journal.active.JournalImpl.setMark(JournalImpl.java:334)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:394)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(JournalPersistenceAdapter.java:121)
>         at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:87)
>         at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:24)
>         at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:38)
> Our XML configuration has following:
> -------------------------------------------------
>     <persistenceAdapter>
>       <journaledJDBC journalLogFiles="10" dataDirectory="../activemq-data"/>
>       <!-- To use a different datasource, use th following syntax : -->
>       <!--
>       <journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data" dataSource="#postgres-ds"/>
>        -->
>     </persistenceAdapter>

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