Thanks,

this confirms our action was the correct one :)
we are using Myfaces 1.1.5 which does not include the tomcat add-on to
message :)

En l'instant précis du 13/09/07 17:26, Martin Marinschek s'exprimait en
ces termes:
> Hi David,
>
> this error-message is long, but it is not complete. In the current SVN
> head, it is more complete - and it includes as a solution, to clean
> out the tomcat work directory. What is happening here is (I'm just
> guessing) that Tomcat converts the tld-libraries and stores them in
> some intermediary format, and then obviously chokes at some point of
> time and doesn't run the ContextLoaderListener that is configured in
> the core tld of MyFaces.
>
> regards,
>
> Martin
>
> On 9/13/07, David Delbecq <[EMAIL PROTECTED]> wrote:
>   
>> Hello,
>>
>> Problem: Tomcat 5.5.16, windows computer. Has worked well up until now,
>> has been solved by removi work directory of tomcat and restarting.
>> However, we would like to know what happened and how to prevent it in
>> future:
>>
>>
>> Error message: 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
>> Stacktrace:
>>
>> 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
>>
>>
>>
>>
>>
>>         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:93)
>>
>>         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:91)
>>
>>         at 
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>>
>>         at 
>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
>>
>>         at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValvejava:130)
>>
>>         at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValvejava:178)
>>
>>         at 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
>>
>>         at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>
>>         at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>
>>         at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>
>>         at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
>>         at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>
>>         at 
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>
>>         at 
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>
>>         at 
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>
>>         at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>
>>         at java.lang.Thread.run(Thread.java:534)
>>
>>
>>
>>
>> --
>> http://www.noooxml.org/
>>
>>
>>     
>
>
>   


-- 
http://www.noooxml.org/

Reply via email to