When deploying and invoking an endpoint whose implementation has a @Resource WebServiceContext ctx member, we get:
16:36:07,424 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."jaxws-binding.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-binding.war".INSTALL: Failed to process phase INSTALL of deployment "jaxws-binding.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: No component found for type 'javax.xml.ws.WebServiceContext'
at org.jboss.as.ee.component.ComponentTypeInjectionSource.getResourceValue(ComponentTypeInjectionSource.java:55)
at org.jboss.as.ee.component.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:177)
at org.jboss.as.ee.component.ModuleJndiBindingProcessor$1.handle(ModuleJndiBindingProcessor.java:145)
at org.jboss.as.ee.component.ClassDescriptionTraversal.run(ClassDescriptionTraversal.java:52)
at org.jboss.as.ee.component.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:117)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 4 more
16:36:07,434 INFO [org.jboss.as.server] (MSC service thread 1-3) Service status report
New missing/unsatisfied dependencies:
service jboss.naming.context.java.module.jaxws-binding.jaxws-binding (missing) required by [service jboss.naming.context.java.comp.jaxws-binding.jaxws-binding.jaxws-binding.Validator, service jboss.naming.context.java.comp.jaxws-binding.jaxws-binding.jaxws-binding.ValidatorFactory]
Services which failed to start:
service jboss.deployment.unit."jaxws-binding.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-binding.war".INSTALL: Failed to process phase INSTALL of deployment "jaxws-binding.war"
- relates to
-
AS7-896 @Resource of type enum fail with "Can't handle @Resource for ENC name"
- Resolved