[
https://issues.jboss.org/browse/AS7-1100?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas resolved AS7-1100.
---------------------------------
Assignee: Stuart Douglas
Fix Version/s: 7.0.0.CR1
Resolution: Rejected
This is caused by a class not being available that was available by default in AS6, which
causes some classes to fail to load during weld bootstrap.
Unfortunately these failures are logged at DEBUG level, which is not shown by default, I
have created WELD-928 to increase the log level.
To fix this app add a
Dependencies: org.apache.httpcomponents
entry to the MANIFEST.MF of the ear
CDI extension for SEAM REST not working
---------------------------------------
Key: AS7-1100
URL:
https://issues.jboss.org/browse/AS7-1100
Project: Application Server 7
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 7.0.0.Beta3
Reporter: Juergen Zimmermann
Assignee: Stuart Douglas
Fix For: 7.0.0.CR1
Attachments: testcase-src.zip, testcase.ear
I'm using Jenkins build 1267. I extended my EAR:
* in lib: seam-solder.jar, seam-rest.jar, seam-catch.jar
* beans.xml in WEB-INF of the web module:
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
<interceptors>
<class>
org.jboss.seam.rest.validation.ValidationInterceptor
</class>
</interceptors>
</beans>
Error message stacktrace:
09:34:23,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed
to start service jboss.deployment.unit."swe1.ear".WeldService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."swe1.ear".WeldService:
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for
type [ClientExecutor] with qualifiers [@Default] at injection point [[parameter 2] of
[method] @Produces @RestClient public
org.jboss.seam.rest.client.RestClientProducer.produceClientRequest(InjectionPoint,
ClientExecutor)]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [ClientExecutor] with qualifiers [@Default] at injection point
[[parameter 2] of [method] @Produces @RestClient public
org.jboss.seam.rest.client.RestClientProducer.produceClientRequest(InjectionPoint,
ClientExecutor)]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:396)
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
... 5 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira