Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61DB9601B for ; Thu, 7 Jul 2011 00:58:53 +0000 (UTC) Received: (qmail 38503 invoked by uid 500); 7 Jul 2011 00:58:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 38420 invoked by uid 500); 7 Jul 2011 00:58:52 -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 38412 invoked by uid 99); 7 Jul 2011 00:58:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 00:58:52 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FREEMAIL_FROM,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of krishna_seelam@hotmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 00:58:45 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QecvB-0006RX-0N for dev@activemq.apache.org; Wed, 06 Jul 2011 17:58:25 -0700 Date: Wed, 6 Jul 2011 17:58:25 -0700 (PDT) From: kseelam To: dev@activemq.apache.org Message-ID: <1310000305000-3650403.post@n4.nabble.com> Subject: Failed to mark the Journal - java.io.FileNotFoundException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, We are using the activemq-5.4.0 with Journaling turned on. So far It has been working fine without any issues. All of the sudden, today, we started getting the ../apache-activemq-5.4.0/data/journal/archive/00000000.log file not found exception in our PRODUCTION environment. We checked our server and yes, the file is NOT there. But why is it looking the file which was not created Or is there anything else going wrong? (Eventhough with this error, it appears the Message producers and consumers are working as expected and seems we are not loosing any messages. bur we need to wait and see) and We checked the server directories: Under /opt/activemq/apache-activemq-5.4.0/data/journal/ directory there is only one directory - 'journal'. (there is no 'archive' directory) Under /opt/activemq/apache-activemq-5.4.0/data/journal/journal directory, the following 3 files are found. -rw-rw-r-- 1 activemq activemq 20971520 Jul 6 17:41 log-001.dat -rw-rw-r-- 1 activemq activemq 100 Jul 6 13:26 control.dat -rw-rw-r-- 1 activemq activemq 20971520 Jul 6 13:26 log-000.dat *More curiously the error started happenning when the control.dat and log-000.dat files were last updated/created. (I mean the error started at Jul 6 13:26) log-001.dat has been updating fir every minute to 5 minutes or so. Here is the complete Error Log: /Failed to mark the Journal: java.io.FileNotFoundException: /opt/activemq/apache-activemq-5.4.0/data/journal/archive/00000000.log (No such file or directory) | org.apache.activemq.store.journal.JournalPersistenceAdapter | Persistence Adaptor Task java.io.FileNotFoundException: /opt/activemq/apache-activemq-5.4.0/data/journal/archive/00000000.log (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at java.io.FileOutputStream.(Unknown Source) at org.apache.activeio.journal.active.LogFile.copyTo(LogFile.java:149) at org.apache.activeio.journal.active.LogFileManager.updateMark(LogFileManager.java:341) at org.apache.activeio.journal.active.LogFileManager.append(LogFileManager.java:325) at org.apache.activeio.journal.active.JournalImpl.queuedWrite(JournalImpl.java:256) at org.apache.activeio.journal.active.JournalImpl.access$000(JournalImpl.java:62) at org.apache.activeio.journal.active.JournalImpl$2.run(JournalImpl.java:229) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) / Could any one please tell what was causing this? Thank you in advance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Failed-to-mark-the-Journal-java-io-FileNotFoundException-tp3650403p3650403.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.