Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 96628 invoked from network); 1 Sep 2005 21:46:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2005 21:46:08 -0000 Received: (qmail 75256 invoked by uid 500); 1 Sep 2005 21:46:08 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 75242 invoked by uid 500); 1 Sep 2005 21:46:07 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 75229 invoked by uid 99); 1 Sep 2005 21:46:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 14:46:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.93.150.34] (HELO mail.dessci.com) (66.93.150.34) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 14:46:22 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: RE: lucene webdemo on a webhosting hosting account Date: Thu, 1 Sep 2005 14:48:25 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: lucene webdemo on a webhosting hosting account thread-index: AcWvPP4qQEnaGcYpTBm4w9wSUDNzvgAAVUuA From: "Rajesh Munavalli" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Gasi, The jar file names doesn't matter. Your jar files should work as well.=20 If you give me more information on the exact layout as well as information on web server, I might be able to help you. But before that try putting those jar files (lucene-1.4.3.jar and lucene-demos-1.4.3.jar) into the directory where you have results.jsp? Rajesh Munavalli > -----Original Message----- > From: Gasi [mailto:gasi@artentis.com]=20 > Sent: Thursday, September 01, 2005 4:27 PM > To: general@lucene.apache.org > Subject: Re: lucene webdemo on a webhosting hosting account >=20 > Hallo Rajesh, >=20 > I have the same layout, but instead of lucene-1.4-rc1-dev.jar=20 > and lucene-demos-1.4-rc1-dev.jar I have lucene-1.4.3.jar and=20 > lucene-demos-1.4.3.jar. Where can I download the jars you=20 > have? Here I don't see them:=20 > http://mirrorspace.org/apache/jakarta/lucene/binaries/ >=20 > Thank you >=20 > Greetings >=20 >=20 > Gaston > ----- Original Message ----- > From: "Rajesh Munavalli" > To: > Sent: Thursday, September 01, 2005 9:08 PM > Subject: RE: lucene webdemo on a webhosting hosting account >=20 >=20 > Hi Gasti, > I have a similar layout. It works fine. This is what I have > (tomcat 5.30) >=20 > LuceneWeb/results.jsp > LuceneWeb/WEB-INF/lib/lucene-1.4-rc1-dev.jar > LuceneWeb/WEB-INF/lib/lucene-demos-1.4-rc1-dev.jar >=20 > Do you have the same layout? If nothing works, try=20 > putting those > jar files in the same directory as results.jsp. >=20 > Rajesh Munavalli >=20 > > -----Original Message----- > > From: Gasi [mailto:gasi@artentis.com] > > Sent: Thursday, September 01, 2005 1:38 PM > > To: general@lucene.apache.org > > Subject: Re: lucene webdemo on a webhosting hosting account > > > > 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" > > To: > > 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 wrote: > > > > > >> Hallo Erik, > > >> > > >> thank you for your both answers, you was right that it=20 > has to work. > > >> The > > >> error were these both directives: " org.apache.lucene.demo.*, > > >> org.apache.lucene.demo.html.Entities" who are of course=20 > not part of > > >> the > > >> lucene-1.4.3.jar. But in your book you could give a hint=20 > that these > > >> two > > >> directives cannot be used on webserver. But I understand=20 > that this > > >> only a > > >> simple, because as in your book described lucene is very=20 > powerful. > > >> Your > > >> lucene book is very good, and now I thinking to buy your=20 > Book about > > >> "Ant". > > >> > > >> Greetings > > >> > > >> Thank you very match > > >> > > >> > > >> Gaston > > >> ----- Original Message -----=20 > > >> From: "Erik Hatcher" > > >> To: > > >> 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=20 > 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=20 > 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=20 > 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" > > >> >> To: > > >> >> 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=20 > understanding > > >> how > > >> >>> CLASSPATH works, please see > > >> >>> http://www.google.com/search?q=3Dclasspath%20tutorial . > > >> >>> > > >> >>> Otis > > >> >>> > > >> >>> --- Gasi wrote: > > >> >>> > > >> >>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> Hello, > > >> >>>> > > >> >>>> first I must say I bought your Book Lucene in=20 > Action and it is > > >> very > > >> >>>> good. If it wouldnt't need expierence in ANT, I=20 > dont' have, it > > >> would > > >> >>>> be fantastic, but so it is "only" very good. So my=20 > 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=20 > 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=20 > 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 > > >> >>>> > > >> >>> > > >> >> > > >> > > > >> > > > >> > > >> > > > > > > >=20 >=20 >=20