Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 42629 invoked from network); 3 Apr 2007 02:48:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 02:48:38 -0000 Received: (qmail 10029 invoked by uid 500); 3 Apr 2007 02:48:45 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 10013 invoked by uid 500); 3 Apr 2007 02:48:45 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 10004 invoked by uid 99); 3 Apr 2007 02:48:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 19:48:44 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pdvyuan@gmail.com designates 66.249.82.225 as permitted sender) Received: from [66.249.82.225] (HELO wx-out-0506.google.com) (66.249.82.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 19:48:37 -0700 Received: by wx-out-0506.google.com with SMTP id h29so1494548wxd for ; Mon, 02 Apr 2007 19:48:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=RO+sWkCbxDLmD/ITXmhcDPxwF+7PBNMRoZFenXtkLOPK230YX7RBXkxaM6/w3SUg9FquZuPsmPEqS+JquKQa8RE1xhk6znAzARufBeC1JwZjMYtUWus/PAdFdJCLLAqx7X7Ir177AzdS0LkVKpSPO/KgbVf3KK70ODugZ37qvww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=DzLmuOSuOQAxBY24z5eC1L4qhWj07tQqMpR79QLdJSNWACO4GBsiBxiZBaaGCNr5Y4lDB72tgIKmgG6ZTPazPCWEzUvoNv2Ycjwe5SwleIw7LU9DqK+hUMbK5B/QW1jTPxG7Ni0NcW0o9GS9HXJBfmYfChnlXgPsANlNHUo2f7Y= Received: by 10.114.169.2 with SMTP id r2mr2086002wae.1175568495844; Mon, 02 Apr 2007 19:48:15 -0700 (PDT) Received: from pdvlt ( [222.66.83.98]) by mx.google.com with ESMTP id t1sm47865poh.2007.04.02.19.48.14; Mon, 02 Apr 2007 19:48:15 -0700 (PDT) Date: Tue, 3 Apr 2007 10:48:20 +0800 From: "pdvyuan" To: "users" Subject: Shared File System Master Slave with Windows Message-ID: <200704031048188126098@gmail.com> X-mailer: Foxmail 6, 5, 104, 21 [cn] Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====003_Dragon176401877043_=====" X-Virus-Checked: Checked by ClamAV on apache.org --=====003_Dragon176401877043_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Hi all, Can I use a shared windows file system to achieve "Shared File System Master Slave"? I have made some tests, but occasionally some error would occur. I made the test under 2 instances of activemq-4.2 runing on WinXP. The errors are as follows: 2007-03-30 17:04:33,640 [28.64.7.49:4858] DEBUG JournalMessageStore - Journalled message add for: ID:xuj01-a7d120-3614-1174637145906-0:0:1:1:296058, at: 39:3829174 2007-03-30 17:04:33,687 [eckpoint Worker] DEBUG JournalPersistenceAdapter - Checkpoint started. 2007-03-30 17:04:33,703 [8.64.7.111:1333] DEBUG JournalMessageStore - Journalled message remove for: ID:xuj01-a7d120-3615-1174637145921-1:0:1:1:109282, at: 39:3830090 2007-03-30 17:04:33,781 [eckpoint Worker] DEBUG JournalPersistenceAdapter - Marking journal at: 39:3829174 2007-03-30 17:04:33,781 [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:340) at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:400) at org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(JournalPersistenceAdapter.java:128) at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:88) at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25) at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39) 2007-03-30 17:04:33,781 [eckpoint Worker] DEBUG JournalPersistenceAdapter - Checkpoint done. Is this error due to the insufficient support of "exclusive file locks" by Windows. Thank you! Dingwen Yuan 2007-04-03 --=====003_Dragon176401877043_=====--