Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 51997 invoked from network); 27 Nov 2006 10:32:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 10:32:55 -0000 Received: (qmail 90582 invoked by uid 500); 27 Nov 2006 10:33:00 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 90131 invoked by uid 500); 27 Nov 2006 10:32:59 -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 90120 invoked by uid 99); 27 Nov 2006 10:32:59 -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:32:59 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of cagatay.civici@gmail.com designates 66.249.82.225 as permitted sender) Received: from [66.249.82.225] (HELO wx-out-0506.google.com) (66.249.82.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 02:32:43 -0800 Received: by wx-out-0506.google.com with SMTP id i26so1532414wxd for ; Mon, 27 Nov 2006 02:32:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iwQgw4fBAJvdiH/NaBjzlHU7fboJqheMDAbwV5cgRkXWiktc2vzAGtunts5a47dCIzwiDHFffeTwAw8k3n/K6ynXT/y4gKqaMwqeTwvY534ZTAMh1I8iJ6fa7F+JjXnsei51F+EJZuyf93wmMClMEHuo7NbrUMdqvU7KURTFI2k= Received: by 10.100.133.4 with SMTP id g4mr1342607and.1164623541992; Mon, 27 Nov 2006 02:32:21 -0800 (PST) Received: by 10.100.108.20 with HTTP; Mon, 27 Nov 2006 02:32:21 -0800 (PST) Message-ID: <8c9d4eaa0611270232h6ffe546cjfa8172ea7d06fe22@mail.gmail.com> Date: Mon, 27 Nov 2006 12:32:21 +0200 From: "Cagatay Civici" To: "MyFaces Discussion" Subject: Re: cannot run examples with Tomcat 5.5.20 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1517_15814028.1164623541953" References: <5a99335f0611270117q5b58e00fgece8024e29adf6f9@mail.gmail.com> <71235db40611270212o3d5d7748jed1fdaa12ed784de@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1517_15814028.1164623541953 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Strange, not always but sometimes tomcat 5.5.16 complains about same for me. On 11/27/06, Alin Dosoniu wrote: > > > 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 > > > > ------=_Part_1517_15814028.1164623541953 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Strange, not always but sometimes tomcat 5.5.16 complains about same for me.

On 11/27/06, Alin Dosoniu <adosoniu@hotmail.com > wrote:

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 <adosoniu@hotmail.com > 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 <adosoniu@hotmail.com> 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.
>> >> <listener>
>> >>
>> >> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener </listener-class>
>> >> </listener>
>> >> 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;
>> >> <listener>
>> >>
>> >> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener </listener-class>
>> >> </listener>
>> >> 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
>


------=_Part_1517_15814028.1164623541953--