[opencms-dev] Lucene lock index
Ernesto De Santis
ernesto.desantis at colaborativa.net
Tue Mar 2 21:08:01 CET 2004
Hello all
I am using the opencms-lucene module, and I am having a big problem with
re-indexation in Windows which is not happening in Linux.
The index is being locked for my IndexSearcher I believe. When I perform
the re-indexation, it throws an IOException (for the index files locked
in the
FS)
I am re-indexing with the parameter createIndex=true in the task line.
The OpenCms log looks like:
-------
[02.03.2004 11:25:14] <opencms_cronscheduler> Error running job for
com.opencms.core.CmsCronEntry{25 11 * * * Admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager
createIndex=true,registry=C:\lucene-config_es_cu.xml} Error:
java.io.IOException: couldn't delete _3i3.f1
at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:166)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:135)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:113)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:151)
at net.grcomputing.opencms.search.lucene.IndexManager.doIndex(Unknown
Source)
at
net.grcomputing.opencms.search.lucene.CronIndexManager.launch(Unknown
Source)
at com.opencms.core.CmsCronScheduleJob.run(CmsCronScheduleJob.java:68)
-------
My system is
OpenCms 5.0.0
Lucene 1.3
opencms-lucene 1.5
Windows 2000
Under Linux, it works fine! Can you help me?
Regards
Ernesto.
More information about the opencms-dev
mailing list