[opencms-dev] Re: [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:45:02 CEST 2004


I've deployed the same App unter embedded tomcat4.1.29 in jBoss 3.2.3
and the index works on Linux so brave as it should, Strange behaviour
;-)



Arash wrote:


> 
> 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:
> 
> 	
> -
> 		
>           		DEVELOP
>          		true
>         	
> 		
> 	
> 
> under develop I have *.pdf, *.doc, .txt, .html and .htm files
> 
> and my indexDir is:
> 
> /home/ark.old/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]  Analyzer:
> org.apache.lucene.analysis.standard.StandardAnalyzer
> [19.07.2004 14:55:10]  Extension map exists to handle
> plaintext
> [19.07.2004 14:55:10]  Extension map exists to handle
> taggedtext
> [19.07.2004 14:55:10]  Extension map exists to handle Word
> [19.07.2004 14:55:10]  Extension map exists to handle PDF
> [19.07.2004 14:55:10]  Page DocumentFactory loaded
> [19.07.2004 14:55:10]  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.(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.(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)
> _______________________________________________
> 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
-- 
arash kaffamanesh gueltlingen
ackerstrasse 145
10115 berlin
tel. 0151 12210107



More information about the opencms-dev mailing list