[weld-issues] [JBoss JIRA] Closed: (WELD-724) Failure to load beans.xml from multiple locations

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Nov 28 15:16:09 EST 2010


     [ https://jira.jboss.org/browse/WELD-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-724.
--------------------------

         Assignee: Pete Muir
    Fix Version/s:     (was: 1.1.0.CR1)
       Resolution: Duplicate Issue


> Failure to load beans.xml from multiple locations
> -------------------------------------------------
>
>                 Key: WELD-724
>                 URL: https://jira.jboss.org/browse/WELD-724
>             Project: Weld
>          Issue Type: Bug
>          Components: Servlet Container Support
>    Affects Versions: 1.1.0.Beta1
>            Reporter: Clint Popetz
>            Assignee: Pete Muir
>         Attachments: URLScanner.java.diff
>
>
> URLScanner is depending on there being only one instance of META-INF/beans.xml on the classpath when loading beans.xml from jar.  I don't have a standalone example of this, because it's occurring within eclipse, but in our case when scanning at startup the scanner would see beans.xml in the weld core jar but rather than loading it, would load two copies of a META-INF/beans.xml that it found on the classpath outside of that jar.  Attached is a patch that fixes this for us.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list