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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jun 11 04:58:38 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12535112#action_12535112 ] 

Pete Muir commented on JBAS-8093:
---------------------------------

This is a decision taken way before Weld get's involved, always made by container starting Weld.

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