#: Brian Moseley changed the world a bit at a time by saying on 10/5/2005 7:25
PM :#
Tobias Bocanegra wrote:
if it's just about the .lock file,
http://issues.apache.org/jira/browse/JCR-233 suggests a solution with
exclusive file locking. imo, this would be the best option (although
some FS might not support filelocks. encoutered this on some linux
NFS).
well, it's about both issues. i want to make sure the repository is
being shut down cleanly when my webapp and/or tomcat shuts down. i
expect a clean shutdown to deal with the lock file appropriately. i am
not too interested in how the lock file is implemented ;)
The patch for 120 should assure that in case of a normal/clean shutdown the .lock files are removed.
However I think it may be a good idea to use also the 233 patch.
./alex
--
.w( the_mindstorm )p.