lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gasi" <g...@artentis.com>
Subject Re: lucene webdemo on a webhosting hosting account
Date Thu, 01 Sep 2005 20:30:57 GMT
Ok,

I understand it. 


thank you


Greetings 

Gaston
----- Original Message ----- 
From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
To: <general@lucene.apache.org>
Sent: Thursday, September 01, 2005 8:56 PM
Subject: Re: lucene webdemo on a webhosting hosting account


> Hm, sorry, but I can't really tell which part is misconfigured.
> 
> Otis
> 
> --- Gasi <gasi@artentis.com> wrote:
> 
>> Dear Otis,
>> 
>> I don't want be childish but I have both jars in WEB-INF/lib and I
>> get an 
>> error message like:
>> 
>> "
>> /~gasi/luceneweb/results.jsp:17: package org.apache.lucene.demo does
>> not
>> exist
>> import org.apache.lucene.demo.*;
>> ^
>> /~gasi/luceneweb/results.jsp:18: package org.apache.lucene.demo.html
>> does
>> not exist
>> import org.apache.lucene.demo.html.Entities;
>>                                    ^
>> Note: /usr/local/resin2/work/__27egasi/_luceneweb/_results__jsp.java
>> uses
>> or overrides a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> Note: /usr/local/resin2/work/__27egasi/_luceneweb/_results__jsp.java
>> uses
>> unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 2 errors
>> 
>> "When I delete "import org.apache.lucene.demo.*;" and "import 
>> org.apache.lucene.demo.html.Entities;" the webexample works without 
>> anInternal Server Error but shows no results where results have to
>> exits, 
>> because the index is proper uploaded. I think that it is a very small
>> 
>> mistakebut I cannot find it.GreetingsGaston
>> 
>> 
>> ----- Original Message ----- 
>> From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
>> To: <general@lucene.apache.org>
>> Sent: Wednesday, August 31, 2005 10:02 PM
>> Subject: Re: lucene webdemo on a webhosting hosting account
>> 
>> 
>> > Oh, I see what the problem is.  Tthose org.apache.lucene.demo.*
>> things
>> > (classes) are in the lucene _demo_ Jar file, so you have to make
>> sure
>> > that Jar file is in your CLASSPATH (or maybe in WEB-INF/lib, if you
>> are
>> > dealing with a web app).
>> >
>> > Otis
>> >
>> >
>> > --- Gasi <gasi@artentis.com> wrote:
>> >
>> >> Hallo Erik,
>> >>
>> >> thank you for your both answers, you was right that it has to
>> work.
>> >> The
>> >> error were these both directives: " org.apache.lucene.demo.*,
>> >> org.apache.lucene.demo.html.Entities" who are of course not part
>> of
>> >> the
>> >> lucene-1.4.3.jar. But in your book you could give a hint that
>> these
>> >> two
>> >> directives cannot be used on webserver. But I understand that this
>> >> only a
>> >> simple, because as in your book described lucene is very powerful.
>> >> Your
>> >> lucene book is very good, and now I thinking to buy your Book
>> about
>> >> "Ant".
>> >>
>> >> Greetings
>> >>
>> >> Thank you very match
>> >>
>> >>
>> >> Gaston
>> >> ----- Original Message ----- 
>> >> From: "Erik Hatcher" <erik@ehatchersolutions.com>
>> >> To: <general@lucene.apache.org>
>> >> Sent: Wednesday, August 31, 2005 8:25 PM
>> >> Subject: Re: lucene webdemo on a webhosting hosting account
>> >>
>> >>
>> >> > Gaston,
>> >> >
>> >> > You might be best posting this to the java-user e-mail list
>> instead
>> >> > of general@lucene which surely has less subscribers.
>> >> >
>> >> > My hunch is that you need to have Lucene's JAR in the
>> WEB-INF/lib
>> >> > directory of the WAR (or WAR-structured directory) you're
>> >> deploying.
>> >> > You'll also need the demo JAR for indexing, though I don't think
>> >> you
>> >> > need that for searching.
>> >> >
>> >> > Please consult with your hosting company's support as this issue
>> is
>> >> > primarily with integrating with their environment and not with
>> >> Lucene
>> >> > itself.
>> >> >
>> >> >     Erik
>> >> >
>> >> >
>> >> > On Aug 30, 2005, at 5:04 PM, Gasi wrote:
>> >> >
>> >> >> Hallo Otis,
>> >> >>
>> >> >> sorry when my question is a little studpid, but I wrote in my
>> Mail
>> >> >> that the
>> >> >> example from your book worked on my PC excellent, and on my PC

>> I
>> >> >> am able to
>> >> >> set the Classpath Variable "-classpath lucene-1.4.3.jar". But
>> how
>> >> >> to manage
>> >> >> this on a webhosting account without root permission? Is this
>> >> >> possible? My
>> >> >> question is : which files should I upload to run the
>> >> lucenewebdemo?
>> >> >> the
>> >> >> whole luceneweb directory, lucene-1.4.3.jar, and the webindex
>> of
>> >> >> course. #
>> >> >> But I have an error that this directives cannot be found on my
>> >> >> webspace:
>> >> >> "org.apache.lucene.analysis.*, org.apache.lucene.document.*,
>> >> >> org.apache.lucene.index.*, org.apache.lucene.search.*,
>> >> >> org.apache.lucene.queryParser.*, org.apache.lucene.demo.*,
>> >> >> org.apache.lucene.demo.html.Entities". I understand this that
>> they
>> >> >> cannot be
>> >> >> found. And here is my question: Which files schould I also
>> upload
>> >> >> to solve
>> >> >> this problem?
>> >> >> I cannot set a Classpathvariable on a webhosting account like
>> >> >> mycgiserver.com.
>> >> >>
>> >> >> Thank you for your answer
>> >> >>
>> >> >>
>> >> >> Greetings
>> >> >>
>> >> >>
>> >> >> Gaston
>> >> >>
>> >> >> ----- Original Message -----
>> >> >> From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
>> >> >> To: <general@lucene.apache.org>
>> >> >> Sent: Tuesday, August 30, 2005 10:46 PM
>> >> >> Subject: Re: lucene webdemo on a webhosting hosting account
>> >> >>
>> >> >>
>> >> >>
>> >> >>> Gaston,
>> >> >>>
>> >> >>> You need to have just that 1 Lucene Jar file, and make sure
>> that
>> >> that
>> >> >>> Jar file is in your CLASSPATH.  If you need help understanding
>> >> how
>> >> >>> CLASSPATH works, please see
>> >> >>> http://www.google.com/search?q=classpath%20tutorial .
>> >> >>>
>> >> >>> Otis
>> >> >>>
>> >> >>> --- Gasi <gasi@artentis.com> wrote:
>> >> >>>
>> >> >>>
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> Hello,
>> >> >>>>
>> >> >>>> first I must say I bought your Book Lucene in Action and
it
>> is
>> >> very
>> >> >>>> good. If it wouldnt't need expierence in ANT, I dont' have,
>> it
>> >> would
>> >> >>>> be fantastic, but so it is "only" very good. So my question
>> is
>> >> about
>> >> >>>> the webdemo from Appendix A. I tried it with Tomcat on
my
>> >> Computer
>> >> >>>> and it worked perfectly, a very good explantion how to
use
>> it,
>> >> >>>> greetings for the authors. But now I would  like to try
the
>> same
>> >> >>>> demo
>> >> >>>> on my "mycgiserver.com-account".  In your book it is
>> explained
>> >> that
>> >> >>>> there must be only the "lucene-1.4.3.jar" on the webhost
>> >> directory.
>> >> >>>> But how to install the files who are imported by
>> >> >>>> "org.apache.lucene.analysis.*, org.apache.lucene.document.*,
>> >> >>>> org.apache.lucene.index.*, org.apache.lucene.search.*,
>> >> >>>> org.apache.lucene.queryParser.*, org.apache.lucene.demo.*,
>> >> >>>> org.apache.lucene.demo.html.Entities" ?
>> >> >>>>  Shall I install the whole lucene source?
>> >> >>>>
>> >> >>>> I am happy for every answer
>> >> >>>>
>> >> >>>>
>> >> >>>> Thank You
>> >> >>>>
>> >> >>>>
>> >> >>>> Gaston
>> >> >>>>
>> >> >>>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> > 
>> 
>> 
>

Mime
View raw message