The most likely cause is that the Logger class cannot be found, and this is causing a NoClassDefFound error when weld attempts to load the class.
do i have to guess or is it possible to have a detailed log output. The server must have a reason to refuse my bean. Why doesnt it output anything?
A NoClassDefFound-Exception is theoretically possible, so i added a jboss-deployment-structure.xml to the ear-project, (path EarContent\WEB-INF). It had no effect.
<!-- Add dependency on log4j, this is not automatic dependency, it has to be explicitly defined, like follows: -->
<module name="org.apache.log4j" />