Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 50122 invoked from network); 13 Dec 2007 18:42:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2007 18:42:17 -0000 Received: (qmail 71887 invoked by uid 500); 13 Dec 2007 18:42:04 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 71857 invoked by uid 500); 13 Dec 2007 18:42:04 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 71846 invoked by uid 99); 13 Dec 2007 18:42:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 10:42:04 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brunoaranda@gmail.com designates 209.85.146.179 as permitted sender) Received: from [209.85.146.179] (HELO wa-out-1112.google.com) (209.85.146.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 18:41:41 +0000 Received: by wa-out-1112.google.com with SMTP id j4so1258223wah.1 for ; Thu, 13 Dec 2007 10:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SjObgXdJknwLTvshIG5YXsa9O+W5YYDLWLZFBNWqsQQ=; b=rZqIk+C6hDj7dBTVcw3EkHFxVn4QOfvah3rzy/QQfCTcXNKgPD9R6TiX1fFgkwvVL6EuZiAC5eFzfXM47enRI/7xKHF7DpmDtfk6M7QMPfTd3XNE+YwGbAu5B/mZ424R9DR1an/BRoSS6czXGTc2HYTSYuNQuUt1T3Ek0av/PxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=w4ChiIgn0z1+S79xQdddNKLQqK2zxsIfRNKYKuAkhSTv9YW7fwS0FHkbSyew7ovZ0pSI85sRkpL0PUvjrDAHPxt5fO8sVn1fbyynmizt9O388MJrBuFdgh72t/uOvFaDOendHTl7eOzadlw2beulHIR1mgs+Nz6eiYZ4DwtaUCY= Received: by 10.114.123.1 with SMTP id v1mr2592153wac.147.1197571303942; Thu, 13 Dec 2007 10:41:43 -0800 (PST) Received: by 10.115.54.6 with HTTP; Thu, 13 Dec 2007 10:41:43 -0800 (PST) Message-ID: <1a681ff20712131041t41d1c062xfba52d129be01a19@mail.gmail.com> Date: Thu, 13 Dec 2007 18:41:43 +0000 From: "Bruno Aranda" To: user@geronimo.apache.org Subject: Re: Cannot find FacesContext In-Reply-To: <14321799.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14321799.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org And what if you navigate to http://localhost:8080/devSignup/signup.faces You are using *.faces as the mapping for the FacesServlet... Bruno On 13/12/2007, Buddyb wrote: > > I am trying to deploy a simple MyFaces 1.2 app to Geronimo 2.0.2 with Tomcat > 6. > > When deployed, I get: > type Exception report > > message > > description The server encountered an internal error () that prevented it > from fulfilling this request. > > exception > > org.apache.jasper.JasperException: java.lang.RuntimeException: FacesContext > not found > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > root cause > > java.lang.RuntimeException: FacesContext not found > > javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:238) > > javax.faces.webapp.UIComponentClassicTagBase.getPreviousJspIdsSet(UIComponentClassicTagBase.java:1214) > > javax.faces.webapp.UIComponentClassicTagBase.checkIfItIsInAnIterator(UIComponentClassicTagBase.java:1199) > > javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:165) > org.apache.jsp.signup_jsp._jspx_meth_f_005fview_005f0(signup_jsp.java:95) > org.apache.jsp.signup_jsp._jspService(signup_jsp.java:73) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > I do NOT have any libs included in the deployment. I finally stripped my > web.xml to the minimum: > > > xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > devSignup > > Comma separated list of URIs of (additional) faces config > files. > javax.faces.CONFIG_FILES > /WEB-INF/dev-startup.xml > > > > org.apache.myfaces.webapp.StartupServletContextListener > > > Faces Servlet > javax.faces.webapp.FacesServlet > 1 > > > Faces Servlet > *.faces > > > signup.jsp > > > > But have tried MANY different combinations -- I am navigating to: > > http://localhost:8080/devSignup/signup.jsp > > to receive the above error > > Any help is appreciated. > > Buddy > -- > View this message in context: http://www.nabble.com/Cannot-find-FacesContext-tp14321799s134p14321799.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >