[ 
https://jira.jboss.org/browse/WELD-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12535077#action_12535077
 ] 

Nicklas Karlsson commented on WELD-553:
---------------------------------------

INFO in that case You might want to have web applications that aren't CDI 
enabled (and therefore you left out beans.xml). But isn't this a chicken-egg 
syndrome since if you left out beans.xml, Weld isn't booting (not going the 
weld-deployers route) and who does the warning in that case?

> 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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to