From adffaces-user-return-1549-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Dec 12 09:27:38 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 7621 invoked from network); 12 Dec 2006 09:27:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 09:27:38 -0000 Received: (qmail 29636 invoked by uid 500); 12 Dec 2006 09:27:45 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 29415 invoked by uid 500); 12 Dec 2006 09:27:44 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 29406 invoked by uid 99); 12 Dec 2006 09:27:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 01:27:44 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.191.68.182] (HELO web34903.mail.mud.yahoo.com) (209.191.68.182) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 12 Dec 2006 01:27:32 -0800 Received: (qmail 27276 invoked by uid 60001); 12 Dec 2006 09:27:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2hez9yspLQKFDMnZTqkMbDFMX4mca6AMzOF1Wrpbzr5MSeoNsiG8k8EuWhu0rIelNJphn+jBQc0PA1yqog1Y4OBSCqDaaeIY/BgKDHIvNUqQHl8wohcHQV43+PebILPW/3ktu/GStXcIEUizo8TW0TDB8DdKw5xW44r4kyHHjkw= ; Message-ID: <20061212092711.27274.qmail@web34903.mail.mud.yahoo.com> Received: from [84.161.168.244] by web34903.mail.mud.yahoo.com via HTTP; Tue, 12 Dec 2006 01:27:11 PST Date: Tue, 12 Dec 2006 01:27:11 -0800 (PST) From: Jochen Traunecker Subject: maven archetype trinidad, tomcat 5.5.20, exception To: adffaces-user@incubator.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I'm trying to get a basic, simple trinidad webapp running on tomcat. I foll= owed http://wiki.apache.org/myfaces/Trinidad_Archetype to get a small samp= le webapp packaged by maven. =0A=0A=0A=0AI placed this sample webapp (as it= was generated by maven, nothing changed) in tomcat (5.5.20) and tried to i= nvoke that sample webapp and run into the exception shown at the end of thi= s mail.=0A=0AI tried trinidat-demo to check that tomcat was ok, and this we= bapp runs out of the box, no problems.=0A=0AAm I missing something? Do I ha= ve to adapt web.xml, faces-config.xml or are any more libraries required to= get trinidadArchetype running?=0A=0AThanks,=0AJochen=0A=0A=0A=0AHere are t= he provided libraries in WEB-INF/lib=0A=0Acommons-codec-1.3.jar=0Acommons-l= ogging-1.0.4.jar=0Acommons-lang-2.1.jar=0Acommons-beanutils-1.7.0.jar=0Atri= nidad-api-incubator-m1-SNAPSHOT.jar=0Ajstl-1.1.0.jar=0Ajsf-facelets-1.1.6.j= ar=0Acommons-collections-3.1.jar=0Atrinidad-impl-incubator-m1-SNAPSHOT.jar= =0Amyfaces-impl-1.1.5-SNAPSHOT.jar=0Acommons-digester-1.6.jar=0Acommons-el-= 1.0.jar=0Amyfaces-api-1.1.5-SNAPSHOT.jar=0A=0AHere some configuration out o= f web.xml=0A=0A =0A trinidad=0A <= filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter=0A =0A=0A =0A trinidad=0A faces=0A =0A= =0A =0A = =0A org.apache.myfaces.webapp.StartupServletContextListe= ner=0A =0A=0A =0A =0A faces=0A javax.f= aces.webapp.FacesServlet=0A =0A =0A =0A =0A resources=0A org.apache.myfaces.trinidad.webapp.ResourceServ= let=0A =0A=0A = =0A =0A faces=0A /faces/*=0A =0A =0A =0A resources=0A /adf/= *=0A =0A=0A=0A =0A = =0A index.jspx=0A =0A=0Aand this is the error message=0A=0Atype Exception rep= ort=0A=0Amessage =0A=0Adescription The server encountered an internal error= () that prevented it from fulfilling this request.=0A=0Aexception =0A=0Aor= g.apache.jasper.JasperException: Exception in JSP: /index.jspx:21=0A=0A=0A= =0A18: xmlns:f=3D"http://java.sun.com/jsf/core";=0A=0A19: = xmlns:tr=3D"http://myfaces.apache.org/trinidad"; >=0A=0A20: =0A=0A21: = =0A=0A22: =0A=0A23: =0A=0A24: =0A=0A=0A=0A=0A=0AStacktrace:= =0A=0A=09org.apache.jasper.servlet.JspServletWrapper.handleJspException(Jsp= ServletWrapper.java:506)=0A=0A=09org.apache.jasper.servlet.JspServletWrappe= r.service(JspServletWrapper.java:395)=0A=0A=09org.apache.jasper.servlet.Jsp= Servlet.serviceJspFile(JspServlet.java:314)=0A=0A=09org.apache.jasper.servl= et.JspServlet.service(JspServlet.java:264)=0A=0A=09javax.servlet.http.HttpS= ervlet.service(HttpServlet.java:802)=0A=0Aroot cause =0A=0Ajavax.faces.Face= sException: Faces context not found. getResponseWriter will fail. Check if = the FacesServlet has been initialized at all in your web.xml configuration = fileand if you are accessing your jsf-pages through the correct mapping. E.= g.: if your FacesServlet is mapped to *.jsf (with the -el= ement), you need to access your pages as 'sample.jsf'. If you tried to acce= ss 'sample.jsp', you'd get this error-message.=0A=0A=09javax.faces.webapp.U= IComponentTag.setupResponseWriter(UIComponentTag.java:926)=0A=0A=09javax.fa= ces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:313)=0A=0A=09org.a= pache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:73)=0A=0A=09org.a= pache.jsp.index_jspx._jspx_meth_f_view_0(index_jspx.java:89)=0A=0A=09org.ap= ache.jsp.index_jspx._jspService(index_jspx.java:67)=0A=0A=09org.apache.jasp= er.runtime.HttpJspBase.service(HttpJspBase.java:97)=0A=0A=09javax.servlet.h= ttp.HttpServlet.service(HttpServlet.java:802)=0A=0A=09org.apache.jasper.ser= vlet.JspServletWrapper.service(JspServletWrapper.java:334)=0A=0A=09org.apac= he.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)=0A=0A=09or= g.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)=0A=0A=09jav= ax.servlet.http.HttpServlet.service(HttpServlet.java:802)=0A=0A=0A=0A=0A=0A= =0A=0A=0A=0A=09=09=0A______________________________________________________= _____ =0ATelefonate ohne weitere Kosten vom PC zum PC: http://messenger.yah= oo.de