Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-852

No component found for type '...'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.CR1
    • None
    • EE
    • None

      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"

      http://jbossws.jboss.org:8180/hudson/job/CXF-CORE-AS-7.0.0-SUN-JDK-6/179/testReport/org.jboss.test.ws.jaxws.binding/SOAPBindingTestCase/testClientAccess/

              jaikiran Jaikiran Pai (Inactive)
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: