activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptomsic <ptom...@gmail.com>
Subject RE: failed to checkpoint a message store?
Date Tue, 06 Feb 2007 19:33:18 GMT

hmm, on what bean in the xbeans file?
i've only got the following set up:

<persistenceAdapter>
   <journaledJDBC journalLogFiles="5" dataDirectory="/foo"/>
</persistenceAdapter>

where would i apply your suggestion?


Nilantha wrote:
> 
> Probably this would help...
> 
> Try setting
> <property name="poolPreparedStatements" value="false"/> if you have set
> as "true" in your data source configuration.
> 
> see
> http://www.nabble.com/DB-connection-pool-tf2775515.html for more
> details. This resolved few issues I had including this "failed to
> checkpoint" 
> 
> -Nilantha
> 
> -----Original Message-----
> From: ptomsic [mailto:ptomsic@gmail.com] 
> Sent: Thursday, February 01, 2007 12:55 PM
> To: activemq-users@geronimo.apache.org
> Subject: failed to checkpoint a message store?
> 
> 
> this keeps occurring in our log, any thoughts/suggestions?
> 
> 
> 
> 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(Futu
> reTask.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:378)
>         at
> org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(Jo
> urnalPersistenceAdapter.java:122)
>         at
> org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunn
> er.java:87)
>         at
> org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskR
> unner.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(TransactionCo
> ntext.java:164)
>         at
> org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.rollbackTransactio
> n(JDBCPersistenceAdapter.java:308)
>         at
> org.apache.activemq.store.journal.JournalPersistenceAdapter.rollbackTran
> saction(JournalPersistenceAdapter.java:190)
>         at
> org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.jav
> a:61)
>         at
> org.apache.activemq.store.journal.JournalMessageStore.checkpoint(Journal
> MessageStore.java:246)
>         at
> org.apache.activemq.store.journal.JournalMessageStore.checkpoint(Journal
> MessageStore.java:220)
>         at
> org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(Journ
> alPersistenceAdapter.java:348)
>         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:595)
> 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:395)
>         at
> org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(Jo
> urnalPersistenceAdapter.java:122)
>         at
> org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunn
> er.java:87)
>         at
> org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskR
> unner.java:24)
>         at
> org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner
> .java:38)
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/failed-to-checkpoint-a-message-store--tf3156345.ht
> ml#a8752776
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/failed-to-checkpoint-a-message-store--tf3156345.html#a8832681
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message