java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/j2eeletestapp]]

Stack Overflow | user6526859 | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    CDI + tomcat Compatibility

    Stack Overflow | 10 months ago | user6526859
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/j2eeletestapp]]

    Root Cause Analysis

    1. org.jboss.weld.exceptions.DeploymentException

      WELD-001408: Unsatisfied dependencies for type DirectoryService with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private com.daimler.iap.paz.tsma.TomcatDirectoryAuthorizationService.ldiService

      at com.daimler.iap.paz.tsma.TomcatDirectoryAuthorizationService.ldiService()
    2. com.daimler.iap
      TomcatDirectoryAuthorizationService.ldiService
      1. com.daimler.iap.paz.tsma.TomcatDirectoryAuthorizationService.ldiService(TomcatDirectoryAuthorizationService.java:0)
      1 frame
    3. Weld Implementation
      IterativeWorkerTaskFactory$1.call
      1. org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
      2. org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
      3. org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
      4. org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155)
      5. org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
      6. org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)
      7. org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)
      8. org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
      9. org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
      9 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames