lucene+Tomcat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

lucene+Tomcat

Zakaria KHABOT
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(JspServlet.java:177)
        org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: lucene+Tomcat

Tim Funk
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(JspServlet.java:177)
>
>     org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: lucene+Tomcat

Subhrajyoti Moitra
In reply to this post by Zakaria KHABOT
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:[hidden email]]
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: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: lucene+Tomcat

Zakaria KHABOT
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:[hidden email]]
>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: [hidden email]
>For additional commands, e-mail: [hidden email]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [hidden email]
>For additional commands, e-mail: [hidden email]
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: lucene+Tomcat

markt
Zakaria KHABOT wrote:
> So, how to accees 'sysadmin' and configue the path of the docs to search
> in.

That is a lucene configuration question. You may have better luck trying
the lucene users list.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]