Jozef Hartinger commented on Bug WELD-1051

The error message that is made available to the ExceptionTransformer is posted above. The actual exception that is raised and that is visible in the server log is here:

16:51:14,069 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war".component."org.jboss.cdi.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken".WeldInstantiator: org.jboss.msc.service.StartException in service jboss.deployment.unit."f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war".component."org.jboss.cdi.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken".WeldInstantiator: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-001405 Cannot inject [BackedAnnotatedField] @Inject private org.jboss.cdi.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken.ip in a class which isnt a bean
at org.jboss.as.weld.injection.WeldEEInjection.createWeldEEInjection(WeldEEInjection.java:150)
at org.jboss.as.weld.injection.WeldManagedReferenceFactory.start(WeldManagedReferenceFactory.java:127)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
... 3 more

16:51:14,291 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS015870: Deploy of deployment "f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war" was rolled back with failure message {"JBAS014671: Failed services" =>

Unknown macro: {"jboss.deployment.unit."f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war".component."org.jboss.cdi.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken".WeldInstantiator" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war".component."org.jboss.cdi.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken".WeldInstantiator}
,"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./f5f04d7d-f2eb-44ed-b6d4-b85a61a943df Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war\".component.\"org.jboss.cdi.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken\".START Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"f5f04d7d-f2eb-44ed-b6d4-b85a61a943df.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira