Thanks,
After shutdown, delete of .lock and restart, the file has been recreated. But I still have a whole bunch of very ugly exceptions, I think I will have the server reboot because some handles might still be somewhere ... @Vincent : I'll try to perform the migration on final 1.2 release ASAP anyway. Thanks again, Jeremie ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Massol Sent: lundi 28 janvier 2008 17:09 To: XWiki Users Subject: Re: [xwiki-users] Problems with Lucene lock (IOException) ... On Jan 28, 2008, at 4:56 PM, Paul Libbrecht wrote: This generally means that there's another process running and using it. Here's a few avenues to solve that: - shutdown your servlet container, see if the file is still there - try with ps auxwww | grep java to see if there's a "ghost" process - remove the file by hand... I believe this is the result of a crash but I thought that Lucene had a way to solve that in newer versions. We have moved to the latest lucene 2.3.0 in 1.2.1. -Vincent In older versions of Lucene, for our ActiveMath platform, I used a different locking mechanism which waits ten seconds and if no attempt-to-lock is removed it is considered we can safely override the lock. Not very elegant. paul Le 28 janv. 08 à 15:29, BOUSQUET Jeremie a écrit : Hello, I had some system problems with the server hosting my wiki, now solved, but now the Lucene plugin seems to be in an unstable state. When first accessing xwiki I get a : java.io.IOException: Lock obtain timed out: Lock@/opt/tomcat/temp/lucene-dcdf99faa0a5827d2037245ccf529558-write.lock I tried to stop tomcat, remove the index completely from /usr/local/xwiki/lucene, deactivate the Lucene plugin from xwiki.cfg and restart, but it still fails the same way. I tried to reactivate the Lucene plugin, but still the same error, and the index is not re-created, leading to various "FileNotFoundException" to occur ... I'm running on linux, with mysql and xwiki 1.1. The .lock file is accessible read/write, as well as the index folder ... How can I correct my Lucene plugin state ? Thanks, Jérémie _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
