Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 903852C67 for ; Wed, 27 Apr 2011 15:26:23 +0000 (UTC) Received: (qmail 42381 invoked by uid 500); 27 Apr 2011 15:26:22 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 42335 invoked by uid 500); 27 Apr 2011 15:26:22 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 42323 invoked by uid 99); 27 Apr 2011 15:26:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 15:26:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sethfromaustria@gmail.com designates 209.85.220.181 as permitted sender) Received: from [209.85.220.181] (HELO mail-vx0-f181.google.com) (209.85.220.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 15:26:18 +0000 Received: by vxb39 with SMTP id 39so1667501vxb.12 for ; Wed, 27 Apr 2011 08:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QUeRec+nsqdp9/98xRjzeQe3Y1Aq3dY+qn9akJA/JG4=; b=YSSn+CgSfC70nfW8S8SLeJjTcsla9G5EUa0LOMzI6TLSKszz6R+sa9xhS1qkmjMjrq RlsMVXNU8bzyxAnxYspn02avXmRLuzWDz90zQEPUOwgSGawdYMyDMlGaxqTC1Caer8JI kzVxxPOLDrWQYEBJAMGdzOtidUsZ5uZQVkN6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=eOjyDgg6LGta9puSvD/ytFYSlpunpM255YgcP8zYVXpm3prBhZeIcE9RJ6nEBj2H03 Y7AJHoJRV/oZh53UHALFrh/9C0OPoNWca/49FxvRbcWpXTm8ORZCe4fK4SkxE1+fSEK9 32nNzj2xJMXadzNs5GuQa1rrHBPRJHX8JQMe8= MIME-Version: 1.0 Received: by 10.220.206.196 with SMTP id fv4mr642537vcb.15.1303917956949; Wed, 27 Apr 2011 08:25:56 -0700 (PDT) Sender: sethfromaustria@gmail.com Received: by 10.220.188.197 with HTTP; Wed, 27 Apr 2011 08:25:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2011 17:25:56 +0200 X-Google-Sender-Auth: 9NcJdKOn0KOsNLRuZlJi5clw-Xo Message-ID: Subject: Re: Facelets webapp can't start on Tomcat 6.0.32 From: Jakob Korherr To: MyFaces Discussion Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Do you have a very old version of MyFaces (1.1.x) in the classpath? I am asking, because these versions were the only ones using org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl. All newer versions are using HtmlResponseWriterImpl from shared (org/apache/myfaces/shared_impl/renderkit/html/HtmlResponseWriterImpl). Regards, Jakob 2011/4/27 Fahmi Hachicha : > Hello, > > The error is due to a missing class =C2=A0"HtmlResponseWriterImpl.class" = in > MyFaces JSF "myfaces-impl-1.2.9.jar" (I did not find it any where) in > MyFaces Jars ! > > Exception sending context initialized event to listener instance of class > org.apache.myfaces.webapp.StartupServletContextListener > java.lang.NoClassDefFoundError: > org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl > > I have change the JSF jars to use JSF 1.2 RI (Mojarra 1.2.15) and I > eliminate all listners in web.xml, the webapp starts but the templates ar= e > not functional. (this seem to be as if facelets tags are not working (or = in > action). > > > Regards > Fahmi > > 2011/4/27 Jakob Korherr > >> Hi, >> >> Please check your Tomcat log for the Exception report. There should be >> a message why it could not invoke MyFaces' startup listener ("SEVERE: >> Error listenerStart"). >> >> Regards, >> Jakob >> >> 2011/4/25 Fahmi Hachicha : >> > Hello, >> > >> > I am starting using Facelets. I prepare a simple webapp from a tutoria= l, >> > when deploying the webapp, Tomcat 6.0.32 can't start the webapp and >> reports >> > : >> > >> > INFO: Deploying web application archive FaceletTest1.war >> > 25 avr. 2011 18:53:08 org.apache.catalina.core.StandardContext start >> > SEVERE: Error listenerStart >> > >> > My archive contains in the lib directory the file >> jsf-facelets-1.0.10.jar, >> > the web.xml file contains : >> > >> > >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0javax.faces.DEFAULT_SUFFIX >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0.xhtml >> > >> > >> > >> > and the faces-config.xml contains : >> > >> > >> > >> > =C2=A0 =C2=A0 >> > =C2=A0 =C2=A0 =C2=A0en >> > =C2=A0 =C2=A0 >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0com.sun.facelets.FaceletViewH= andler >> > =C2=A0 >> > >> > >> > How to eliminate this error so that the webapp starts correctly. >> > >> > Best regards >> > Fahmi >> > >> >> >> >> -- >> Jakob Korherr >> >> blog: http://www.jakobk.com >> twitter: http://twitter.com/jakobkorherr >> work: http://www.irian.at >> > --=20 Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at