Re: [JBoss-dev] File Persistence and Crash

2002-12-10 Thread Per Nyfelt
You could use an Object Store such as Ozone where all mutators are marked as update transactions and will be stored when the mutator invoked. The Ozone-Jboss integration does not propage transactions between the JBoss TM and the Ozone TM right now but that is on the todo list. Or you could creat

Re: [JBoss-dev] File Persistence and Crash

2002-12-10 Thread Juha-P Lindfors
FD.sync() all your writes... ? On Mon, 9 Dec 2002, Andy wrote: > Does someone know how to implement a file based persistence that > does not become corrupted except maybe when the file is written > during a crash. --- This sf.net email is

[JBoss-dev] File Persistence and Crash

2002-12-09 Thread Andy
Hi Geeks I try to implement a file persistence for the EJB timer and run into problems when the server crashes. It seems that the file sometimes become corrupted after a crash. Unfortunately the timer can contain an unknown but serializable object. I crashed the server during a period when the fil