Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 48960 invoked from network); 27 Nov 2006 10:21:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 10:21:29 -0000 Received: (qmail 76014 invoked by uid 500); 27 Nov 2006 10:21:35 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 75842 invoked by uid 500); 27 Nov 2006 10:21:34 -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 75831 invoked by uid 99); 27 Nov 2006 10:21:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 02:21:34 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of adosoniu@hotmail.com designates 65.54.246.110 as permitted sender) Received: from [65.54.246.110] (HELO bay0-omc1-s38.bay0.hotmail.com) (65.54.246.110) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 02:21:21 -0800 Received: from hotmail.com ([65.54.162.82]) by bay0-omc1-s38.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 27 Nov 2006 02:21:01 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 27 Nov 2006 02:21:01 -0800 Message-ID: Received: from 81.196.32.176 by BAY108-DAV10.phx.gbl with DAV; Mon, 27 Nov 2006 10:20:58 +0000 X-Originating-IP: [81.196.32.176] X-Originating-Email: [adosoniu@hotmail.com] X-Sender: adosoniu@hotmail.com From: "Alin Dosoniu" To: "MyFaces Discussion" References: <5a99335f0611270117q5b58e00fgece8024e29adf6f9@mail.gmail.com> <71235db40611270212o3d5d7748jed1fdaa12ed784de@mail.gmail.com> Subject: Re: cannot run examples with Tomcat 5.5.20 Date: Mon, 27 Nov 2006 12:20:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-OriginalArrivalTime: 27 Nov 2006 10:21:01.0099 (UTC) FILETIME=[BC933FB0:01C7120D] X-Virus-Checked: Checked by ClamAV on apache.org The bug number is 41043, you can reach it here. http://issues.apache.org/bugzilla/show_bug.cgi?id=41043 Alin. >I heard the same from a friend, that the latest tomcat was complaining > about having not the listener added to web.xml > > Alin, can you post the tomcat bug number for that particular bug here ? > > Thx, > Matthias > > On 11/27/06, Alin Dosoniu wrote: >> Hi Martin >> >> Yes. It works after adding the listener entry in web.xml. >> I will add it to tomcat's bug-tracker. >> Can you tell me on which page is the "compatibility section" in myfaces's >> WIKI? >> Is this one? >> http://wiki.apache.org/myfaces/CompatibilityMatrix?highlight=%28compatibility%29 >> >> Alin. >> >> >> > If you add them it works again? >> > >> > Then it's a bug in Tomcat, please file it in their bug-tracker - but >> > if you can, add a compatibility section in our WIKI. >> > >> > regards, >> > >> > Martin >> > >> > On 11/27/06, Alin Dosoniu wrote: >> >> >> >> >> >> Hi, >> >> >> >> After installed Tomcat 5.5.20, every time when try to see >> >> tomahawk-sandbox-examples or myfaces-example-simple I have to manually >> >> add >> >> the folowing lines to web.xml. >> >> >> >> >> >> org.apache.myfaces.webapp.StartupServletContextListener >> >> >> >> The error that I get is this: >> >> java.lang.IllegalStateException: No Factories configured for this >> >> Application. This happens if the faces-initialization does not work at >> >> all - >> >> make sure that you properly include all configuration settings >> >> necessary >> >> for >> >> a basic faces application and that all the necessary libs are >> >> included. >> >> Also >> >> check the logging output of your web application and your container >> >> for >> >> any >> >> exceptions!If you did that and find nothing, the mistake might be due >> >> to >> >> the >> >> fact that you use some special web-containers which do not support >> >> registering context-listeners via TLD files and a context listener is >> >> not >> >> setup in your web.xml.A typical config looks like this; >> >> >> >> >> >> org.apache.myfaces.webapp.StartupServletContextListener >> >> >> >> javax.faces.FactoryFinder.getFactory(FactoryFinder.java:93) >> >> >> >> Can this be solved when building wars from myfaces scripts? Or it is a >> >> problem in Tomcat? >> >> >> >> Thank you, >> >> Alin. >> > >> > >> > -- >> > >> > http://www.irian.at >> > >> > Your JSF powerhouse - >> > JSF Consulting, Development and >> > Courses in English and German >> > >> > Professional Support for Apache MyFaces >> > >> >> > > > -- > Matthias Wessendorf > http://tinyurl.com/fmywh > > further stuff: > blog: http://jroller.com/page/mwessendorf > mail: mwessendorf-at-gmail-dot-com >