[opencms-dev] Lucene 1.5 on Linux doesn't work for me, please help
kaffamanesh at dmu-world.de
kaffamanesh at dmu-world.de
Mon Jul 19 15:13:01 CEST 2004
I'd installed lucene 1.5 on opemcms_5.0.1 (on win2k3 and suse9.1 (kernel
2.6), on windows it was setup within 5 minutes with tomcat 4.1.29.
Now I'm getting the following error on Linux with tomcat 5.0.25, my
registry.xml contains:
<directories>
-
<directory location="/release/en/DEVELOP/" >
<section>DEVELOP</section>
<subsearch>true</subsearch>
</directory>
</directories>
under develop I have *.pdf, *.doc, .txt, .html and .htm files
and my indexDir is:
<indexDir>/home/ark.old/indexDir/</indexDir>
Lucene 1.2 could write her indices in the same directory on the same
mashine
any ideas?
permission problems, what means the Unknown Source message in the trace
below?
thanks for any help in advance
kind regards
Arash
=====IndexManager=============================================================
[19.07.2004 14:55:10] <opencms_info> Analyzer:
org.apache.lucene.analysis.standard.StandardAnalyzer
[19.07.2004 14:55:10] <opencms_info> Extension map exists to handle
plaintext
[19.07.2004 14:55:10] <opencms_info> Extension map exists to handle
taggedtext
[19.07.2004 14:55:10] <opencms_info> Extension map exists to handle Word
[19.07.2004 14:55:10] <opencms_info> Extension map exists to handle PDF
[19.07.2004 14:55:10] <opencms_info> Page DocumentFactory loaded
[19.07.2004 14:55:10] <opencms_cronscheduler> Error running job for
com.opencms.core.CmsCronEntry{55 14 * * * admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager
createIndex=true} Error: java.lang.NullPointerException
at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:172)
at org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:151)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:132)
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)
More information about the opencms-dev
mailing list