[opencms-dev] Lucene Search Module

ark-d at betasystems.com ark-d at betasystems.com
Thu Apr 21 13:56:41 CEST 2005





do you have set the index dir correctly?
are you on linux / unix? if yes:

does tomcat have enough permission to write to the index directory?
chown -R tomcat:tomcat /path/to/opencms/index

hope it helps.

Best Regards,
Arash Kaffamanesh



                                                                           
             "visser arthur                                                
             (02VOEMDIAHTKAND)                                             
             "                                                          To 
             <arthur.visser at st         <opencms-dev at opencms.org>           
             udent.groept.be>                                           cc 
             Sent by:                                                      
             opencms-dev-bounc                                     Subject 
             es at opencms.org            [opencms-dev] Lucene Search Module  
                                                                           
                                                                           
             21.04.2005 13:52                                              
                                                                           
                                                                           
             Please respond to                                             
             arthur.visser at stu                                             
              dent.groept.be;                                              
             Please respond to                                             
                The OpenCms                                                
               mailing list                                                
             <opencms-dev at open                                             
                 cms.org>                                                  
                                                                           
                                                                           




I imported the Lucene Search from Matt Butcher, and check everything, but
somehow it doens't Index. Can anyone tell me what's wrong based on the
logfile output :

[21.04.2005 13:42:10] <opencms_cronscheduler> Starting job for
com.opencms.core.CmsCronEntry{42 13 * * * admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true}
[21.04.2005 13:42:10] <opencms_info>
=====IndexManager=============================================================

[21.04.2005 13:42:10] <opencms_info> Analyzer:
org.apache.lucene.analysis.standard.StandardAnalyzer
[21.04.2005 13:42:10] <opencms_info> Extension map exists to handle
plaintext
[21.04.2005 13:42:10] <opencms_info> Extension map exists to handle
taggedtext
[21.04.2005 13:42:10] <opencms_info> Page DocumentFactory loaded
[21.04.2005 13:42:10] <opencms_cronscheduler> Error running job for
com.opencms.core.CmsCronEntry{42 13 * * * 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)




_______________________________________________
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





More information about the opencms-dev mailing list