[opencms-dev] Lucene: Index temporarily not crerated

Ernesto De Santis ernesto.desantis at colaborativa.net
Mon Jun 7 14:38:02 CEST 2004


Hi Ralf

I have the same problem in Win2000.
The problem is a Lucene bug, in windows + tomcat

read "Lockfile Problem Solved" in the lucene list archive:
http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg07789.html

Bye,
 Ernesto.


----- Original Message ----- 
From: "Ralf Emanuel" <emanuel at inexweb.de>
To: <opencms-dev at opencms.org>
Sent: Monday, June 07, 2004 7:53 AM
Subject: [opencms-dev] Lucene: Index temporarily not crerated


Dear Group,

in one of our opencms projects, lucene does´nt create the index files
correct. The index cron job runs hourly and temporarily the file
"segments" could not created. The reason for that seems to be that the
.f1 file could´nt deleted.

See the exception below:

[02.06.2004 17:41:09] <opencms_cronscheduler> Error running job for
com.opencms.core.CmsCronEntry{41 * * * * admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true}
Error: java.io.IOException: couldn't delete _5m.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)

We use a Win2003 Server (1GB Mem.) with Tomcat 4.1.29, OpenCms 5.0 and
the OpenCms Lucene Modul Ver. 1.5.

We´ve tested the same application on a Linux environment. And there, it
works fine!

Any idea?

Thanks in advance

Ralf

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 31/05/2004




More information about the opencms-dev mailing list