Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 53265 invoked from network); 15 Apr 2010 15:00:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Apr 2010 15:00:15 -0000 Received: (qmail 43724 invoked by uid 500); 15 Apr 2010 15:00:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 43690 invoked by uid 500); 15 Apr 2010 15:00:15 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 43682 invoked by uid 99); 15 Apr 2010 15:00:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 15:00:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Apr 2010 15:00:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3FExpWq022193 for ; Thu, 15 Apr 2010 10:59:51 -0400 (EDT) Message-ID: <22480951.13801271343591250.JavaMail.jira@thor> Date: Thu, 15 Apr 2010 10:59:51 -0400 (EDT) From: "Vipul Kothiyal (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1063) Journaled JDBC checkpoint fails with java.io.IOException: Already started. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58880#action_58880 ] Vipul Kothiyal commented on AMQ-1063: ------------------------------------- ^^no upgrade to 5.3.0 doesn't fix it. also doesn't fix it. > Journaled JDBC checkpoint fails with java.io.IOException: Already started. > -------------------------------------------------------------------------- > > Key: AMQ-1063 > URL: https://issues.apache.org/activemq/browse/AMQ-1063 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.0.0 > Environment: Windows XP Professional, JVM 1.5.0_09, MySQL 5.0.27 > Reporter: jk@penguinsfan.com > Fix For: 5.4.0 > > > I am running trunk using JDBC against MySQL 5.0.27. I am seeing the above mentioned IOException. Do not have specific instructions on how to reproduce at the current time, but I was using durable subscriptions with the store durable cursor if that helps. (I'll post if I find out more information.) > > > > > > > > > > > > Log trace: > 2006-11-19 19:19:48,078 [/127.0.0.1:4898] DEBUG JournalPersistenceAdapter - Waking for checkpoint to complete. > 2006-11-19 19:19:48,078 [eckpoint Worker] DEBUG JournalPersistenceAdapter - Checkpoint started. > 2006-11-19 19:19:48,078 [eckpoint Worker] ERROR JournalPersistenceAdapter - Failed to checkpoint a message store: java.util.concurrent.ExecutionException: java.io.IOException: Already started. > java.util.concurrent.ExecutionException: java.io.IOException: Already started. > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205) > at java.util.concurrent.FutureTask.get(FutureTask.java:80) > at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:386) > at org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(JournalPersistenceAdapter.java:129) > at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:88) > at org.apache.activemq.thread.DedicatedTaskRunner.access$0(DedicatedTaskRunner.java:76) > at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39) > Caused by: java.io.IOException: Already started. > at org.apache.activemq.store.jdbc.TransactionContext.begin(TransactionContext.java:145) > at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransaction(JDBCPersistenceAdapter.java:358) > at org.apache.activemq.store.journal.JournalPersistenceAdapter.beginTransaction(JournalPersistenceAdapter.java:189) > at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:41) > at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:247) > at org.apache.activemq.store.journal.JournalTopicMessageStore.checkpoint(JournalTopicMessageStore.java:162) > at org.apache.activemq.store.journal.JournalPersistenceAdapter$5.call(JournalPersistenceAdapter.java:373) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) > at java.util.concurrent.FutureTask.run(FutureTask.java:123) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > at java.lang.Thread.run(Thread.java:595) > 2006-11-19 19:19:48,109 [eckpoint Worker] DEBUG JournalPersistenceAdapter - Checkpoint done. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira