You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Howard Abrams (JIRA)" <de...@myfaces.apache.org> on 2005/11/21 12:02:44 UTC

[jira] Updated: (MYFACES-800) Multiple loading of same faces-config.xml on Weblogic

     [ http://issues.apache.org/jira/browse/MYFACES-800?page=all ]

Howard Abrams updated MYFACES-800:
----------------------------------

    Fix Version: 1.1.3

> Multiple loading of same faces-config.xml on Weblogic
> -----------------------------------------------------
>
>          Key: MYFACES-800
>          URL: http://issues.apache.org/jira/browse/MYFACES-800
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: 1.1.1
>  Environment: Weblogic 8.1
> Linux/Windows
>     Reporter: Roland Huss
>      Fix For: 1.1.3

>
> On Weblogic 8.1, when FacesConfigurator.feedClassloaderConfigurations()  tries to find
> faces-config.xml configuration on the classpath, the Method
> ClassUtils.getCurrentLoader(defaultObject).getResources(resource)
> returns in some circumstsances an Enumeration, with duplicated URLs. This is e.g. the case, when a jar
> references another jar via MANIFEST's classpath attribute and this second jar is also in the current classpath.
> The fix is simple: Instead of using a List in ClassUtils.getResources() use a Set to remove duplicated entries.

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