I have tried the latest version - apache-activemq-4.2-20070328.130210-35, but the same error still exists. With what are you going to substitute activeio?
Thank you! Dingwen Yuan 2007-04-10 发件人: James Strachan 发送时间: 2007-04-03 15:49:52 收件人: users@activemq.apache.org 抄送: 主题: Re: Shared File System Master Slave with Windows On 4/3/07, pdvyuan <[EMAIL PROTECTED] > wrote: > 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. The above looks like a bug. I'm guessing you've used a fairly old snapshot of 4.2, I'd recommend using a recent one from the end of March 2007 which no longer uses activeio AFAIK. http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/4.2-SNAPSHOT/ -- James ------- http://radio.weblogs.com/0112098/