[jboss-jira] [JBoss JIRA] Assigned: (JBAS-8093) Weld should visibly log when /WEB-INF/beans.xml is not found.

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Aug 10 18:18:49 EDT 2010


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

Pete Muir reassigned JBAS-8093:
-------------------------------

    Assignee: Jason T. Greene


Underlying issue is that if CDI annotations are present but beans.xml isn't then the AS should complain. However I don't think the AS can do this right now? Maybe in AS7?

Jason, could you let me know what the best course of action is.

> Weld should visibly log when /WEB-INF/beans.xml is not found.
> -------------------------------------------------------------
>
>                 Key: JBAS-8093
>                 URL: https://jira.jboss.org/browse/JBAS-8093
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>            Reporter: Lincoln Baxter III
>            Assignee: Jason T. Greene
>
> 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 jboss-jira mailing list