[weld-issues] [JBoss JIRA] Created: (WELD-553) Weld should visibly log when /WEB-INF/beans.xml is not found.

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Jun 10 18:37:38 EDT 2010


Weld should visibly log when /WEB-INF/beans.xml is not found.
-------------------------------------------------------------

                 Key: WELD-553
                 URL: https://jira.jboss.org/browse/WELD-553
             Project: Weld
          Issue Type: Feature Request
          Components: Bootstrap and Metamodel API
    Affects Versions: 1.0.1.Final
            Reporter: Lincoln Baxter III


An INFO or WARNING level log message must be displayed when loading a web-application where /WEB-INF/beans.xml is missing.

"/WEB-INF/beans.xml is not present - Beans in WAR " +warName+ " will not be loaded."

The user needs to know this because weld is making an important decision. Also, a common pitfall, defining EJBs with @Injected dependencies will break because the EJB's are discovered, @Injection is attempted, but fails because no other beans were loaded.

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