activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pdvyuan" <pdvy...@gmail.com>
Subject Shared File System Master Slave with Windows
Date Tue, 03 Apr 2007 02:48:20 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message