You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2006/03/17 19:23:34 UTC

[jira] Closed: (MYFACES-1183) Configurations /WEB-INF/faces-config.xml loaded twice

     [ http://issues.apache.org/jira/browse/MYFACES-1183?page=all ]
     
Mike Kienenberger closed MYFACES-1183:
--------------------------------------

    Resolution: Cannot Reproduce

As far as I can tell, none of the Myfaces examples have ever listed /WEB-INF/faces-config.xml in the web.xml file.

> Configurations /WEB-INF/faces-config.xml loaded twice
> -----------------------------------------------------
>
>          Key: MYFACES-1183
>          URL: http://issues.apache.org/jira/browse/MYFACES-1183
>      Project: MyFaces Core
>         Type: Bug
>   Components: General
>     Versions: 1.1.1
>  Environment: Weblogic 9, Facelets, MyFaces1.1.10
>     Reporter: Anthony Hong

>
> I have a JSF configuration file faces-config.xml and put it under /WEB-INF/
> In web.xml, setup context-param to load jsf configuration file.
> <context-param>
>         <param-name>javax.faces.CONFIG_FILES</param-name>
>         <param-value>/WEB-INF/faces-config.xml</param-value>
>     </context-param>
> Then this configuration file will be loaded twice. As /WEB-INF/faces-config.xml will loaded automaticly at first. If I put it in CONFIG_FILES again, it doesn't ignore this file. then phase listener and navigatorHandler has two instances in container which maybe a problem.

-- 
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