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