[webbeans-issues] [JBoss JIRA] Created: (WBX-38) ServletWebBeanDiscovery should scan /META-INF/beans.xml

Dan Allen (JIRA) jira-events at lists.jboss.org
Fri May 1 02:48:46 EDT 2009


ServletWebBeanDiscovery should scan /META-INF/beans.xml
-------------------------------------------------------

                 Key: WBX-38
                 URL: https://jira.jboss.org/jira/browse/WBX-38
             Project: Web Beans Extensions
          Issue Type: Bug
          Components: Servlet Containers
    Affects Versions: Servlet Containers 1.0.0.CR1
            Reporter: Dan Allen
            Assignee: Dan Allen
             Fix For: Servlet Containers 1.0.0.CR2


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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list