[weld-issues] [JBoss JIRA] Closed: (WELDSERVLET-26) ServletWebBeanDiscovery should scan /META-INF/beans.xml

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 12 06:36:49 EDT 2010


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

Pete Muir closed WELDSERVLET-26.
--------------------------------



> ServletWebBeanDiscovery should scan /META-INF/beans.xml
> -------------------------------------------------------
>
>                 Key: WELDSERVLET-26
>                 URL: https://jira.jboss.org/browse/WELDSERVLET-26
>             Project: Weld Servlet
>          Issue Type: Bug
>    Affects Versions: 1.0.0.CR1
>            Reporter: Dan Allen
>            Assignee: Dan Allen
>             Fix For: 1.0.0.CR2
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> ServletWebBeanDiscovery.scan() looks for beans.xml rather than /META-INF/beans.xml. This should be fixed to match the spec. The intro to chapter 11 reads:
> Bean classes must be deployed in an EAR, WAR, EJB-JAR or JAR archive or directory in the application classpath that has a file named beans.xml in the metadata directory (META-INF, or WEB-INF in the case of a WAR). If a bean is deployed to a location that is not in the application classpath, or does not contain a file named beans.xml in the metadata directory, it will not be discovered by the container.

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

        


More information about the weld-issues mailing list