tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zakaria KHABOT <z.kha...@ced.finances.gov.ma>
Subject Re: lucene+Tomcat
Date Wed, 01 Jun 2005 09:26:38 GMT
Hi,
Thanks for your help. It wirks now. But I have as displayed:

Welcome to the Lucene Template application. (This is the header)

ERROR opening the Index - contact sysadmin!

Error message: D:\opt\lucene\index not a directory

Jakarta Lucene Template WebApp 1.0

So, how to accees 'sysadmin' and configue the path of the docs to search in.
Thanks...



Subhrajyoti Moitra a écrit :

>Are u sure lucene-1.4.3.jar is in the WEB-INF/lib directory? U don't
>need to put this jar in $CLASSPATH variable explicitly.
>
>-Subhro.
>
>-----Original Message-----
>From: Tim Funk [mailto:funkman@joedog.org] 
>Sent: Tuesday, May 31, 2005 9:59 PM
>To: Tomcat Users List
>Subject: Re: lucene+Tomcat
>
>I think the lucene list might be of more help
>
>-Tim
>
>Zakaria KHABOT wrote:
>
>  
>
>>hi all,
>>I try to display the demo example of lucene.
>>I am using tomcat 5.5.4. Index.jsp is displayed but when I click 
>>"search" I encountred this message error :
>>I have put  ' lucene-1.4.3.jar and lucene-demos-1.4.3.jar' in the 
>>classPath. Thanks for all
>>
>>org.apache.jasper.JasperException: Unable to compile class for
>>    
>>
>JSPNote: 
>  
>
>>sun.tools.javac.Main has been deprecated.
>>
>>D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:6: 
>>Package org.apache.lucene.analysis not found in import.
>>import  org.apache.lucene.analysis.*;
>>       ^
>>
>>D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:7: 
>>Package org.apache.lucene.document not found in import.
>>import  org.apache.lucene.document.*;
>>       ^
>>
>>D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:8: 
>>Package org.apache.lucene.index not found in import.
>>import  org.apache.lucene.index.*;
>>       ^
>>
>>D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:9: 
>>Package org.apache.lucene.search not found in import.
>>import  org.apache.lucene.search.*;
>>       ^
>>
>>D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:10:
>>    
>>
>
>  
>
>>Package org.apache.lucene.queryParser not found in import.
>>import  org.apache.lucene.queryParser.*;
>>       ^
>>5 errors, 1 warning
>>
>>    org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
>>    org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
>>
>>    
>>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
>spServlet.java:177) 
>  
>
>>    
>>
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
>t.java:189) 
>  
>
>>    
>>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
>
>  
>
>>    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>>    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message