From java-user-return-21063-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Thu Jun 01 13:29:27 2006 Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 18210 invoked from network); 1 Jun 2006 13:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jun 2006 13:29:27 -0000 Received: (qmail 53882 invoked by uid 500); 1 Jun 2006 13:29:20 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 53759 invoked by uid 500); 1 Jun 2006 13:29:20 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 53748 invoked by uid 99); 1 Jun 2006 13:29:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 06:29:20 -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 [69.55.225.129] (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 06:29:19 -0700 Received: by ehatchersolutions.com (Postfix, from userid 504) id E475E33CB77; Thu, 1 Jun 2006 09:28:57 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on javelina X-Spam-Level: Received: from [128.143.193.79] (d-128-193-79.bootp.Virginia.EDU [128.143.193.79]) by ehatchersolutions.com (Postfix) with ESMTP id 8278933CB77 for ; Thu, 1 Jun 2006 09:28:52 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <20060601092929.33257.qmail@web26212.mail.ukl.yahoo.com> References: <20060601092929.33257.qmail@web26212.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <58CF8C35-59C3-424B-BF14-E6CAC237C701@ehatchersolutions.com> Content-Transfer-Encoding: quoted-printable From: Erik Hatcher Subject: Re: Problems with Lucene Date: Thu, 1 Jun 2006 09:28:49 -0400 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.750) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.1 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rest assured that Lucene has no incompatibilities with JSF or any =20 other Java web technology. I don't have specific advice for you =20 since I do not use JSF, but all Java web applications require =20 dependent libraries be in WEB-INF/lib. Again, the error message =20 you've shown has nothing that points to Lucene. Try a JSP page without JSF, perhaps. The Lucene demo application =20 uses regular JSP. Erik On Jun 1, 2006, at 5:29 AM, Alberto Marqu=FFffffe9s wrote: > The code works with a Java class main(). But to the being executed =20 > from JSF this not saying to me that there are problems of mutual =20 > incompatibility when recommending to me > > Erik Hatcher escribi=F3: > On Jun 1, 2006, at 4:29 AM, Alberto Marqu=FFffffe9s wrote: >> That is truth but when executing from jsf it gives east error. I >> want to know if pu=E9s is some subject of mutual incompatibility from >> a class main works these sentences are the adapted ones to execute >> from an application Web? > > There is no incompatibility with Lucene and the web. http:// > www.lucenebook.com - a Tapestry application (JSF alternative) using > Lucene. > > I recommend you write some simple Java main() code to interact with > Lucene and build up to the web from there once you've got a piece > working. > > Erik > > >> >> Erik Hatcher escribi=F3: This is not a >> Lucene issue... the stack trace mentions nothing about >> Lucene. >> >> Erik >> >> >> On Jun 1, 2006, at 3:33 AM, Alberto Marqu=FFffffe9s wrote: >> >>> Problems with Lucene executing from Web with jsf. I do not >>> understand because perhaps Lucene cannot be used in applications =20 >>> Web? >>> >>> This is the instruction that gives error: >>> >>> IndexSearcher oIndexSearcher =3D new IndexSearcher("C:\\opt\ >>> \index"); >>> Query query =3D QueryParser.parse(sCadenaBusqueda,"contents",new >>> SimpleAnalyzer()); >>> >>> >>> >>> this it is the message of error of jsf: >>> >>> type Informe de Excepci=F3n >>> >>> mensaje >>> >>> descripci=F3n El servidor encontr=F3 un error interno () que hizo = que >>> no pudiera rellenar este requerimiento. >>> >>> excepci=F3n >>> >>> javax.servlet.ServletException: Error calling action method of >>> component with id helloForm:submit >>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) >>> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter >>> (ExtensionsFilter.java:122) >>> >>> causa ra=EDz >>> >>> javax.faces.FacesException: Error calling action method of >>> component with id helloForm:submit >>> org.apache.myfaces.application.ActionListenerImpl.processAction >>> (ActionListenerImpl.java:74) >>> javax.faces.component.UICommand.broadcast(UICommand.java:106) >>> javax.faces.component.UIViewRoot._broadcastForPhase >>> (UIViewRoot.java:90) >>> javax.faces.component.UIViewRoot.processApplication >>> (UIViewRoot.java:164) >>> org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication >>> (LifecycleImpl.java:316) >>> org.apache.myfaces.lifecycle.LifecycleImpl.execute >>> (LifecycleImpl.java:86) >>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) >>> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter >>> (ExtensionsFilter.java:122) >>> >>> --------------------------------- >>> >>> LLama Gratis a cualquier PC del Mundo. >>> Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto. >>> http://es.voice.yahoo.com >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> >> >> >> --------------------------------- >> >> LLama Gratis a cualquier PC del Mundo. >> Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto. >> http://es.voice.yahoo.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > > > =09 > --------------------------------- > > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto. > http://es.voice.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org