[ http://issues.apache.org/jira/browse/MYFACES-704?page=all ]
     
Martin Marinschek closed MYFACES-704:
-------------------------------------

    Fix Version: Nightly
     Resolution: Fixed
      Assign To: Martin Marinschek

Ok, I tried to be more precise in the error message. Does it look better to you?

"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. " +
            "If you did that, 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.\n" +
            "A typical config looks like this;\n<listener>\n" +
            "  
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>\n"
 +
            "</listener>\n";

> Misleading error message: "a context listener is not setup in your web.xml"
> ---------------------------------------------------------------------------
>
>          Key: MYFACES-704
>          URL: http://issues.apache.org/jira/browse/MYFACES-704
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.1.1
>     Reporter: Simon Kitching
>     Assignee: Martin Marinschek
>     Priority: Minor
>      Fix For: Nightly

>
> Prior to 1.1.0 it was necessary to specify a custom context listener in the 
> web.xml file to enable JSF.
> Since 1.10 this has been defined automatically.
> However class "javax/faces/FactoryFinder.java" still outputs this message 
> whenever anything goes wrong with MyFaces initialisation:
>   No Factories configured for this Application - typically this is because 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>
> I think this message is now misleading; no such entry is needed in the 
> web.xml file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to