myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alin Dosoniu" <adoso...@hotmail.com>
Subject Re: cannot run examples with Tomcat 5.5.20
Date Mon, 27 Nov 2006 10:20:57 GMT

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
> 


Mime
View raw message