AnsweredAssumed Answered

Activiti-cdi with TomEE

Question asked by mlam on Dec 19, 2013
Latest reply on Nov 28, 2016 by theotheradam
I am trying to create a webapp using activiti-cdi and it started properly with jboss version 7 but I am getting the following with TomEE 1.5.2:

SEVERE: CDI Beans module deployment failed
javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.activiti.cdi.BusinessProcess] is not found with the qualifiers
Qualifiers: [@javax.enterprise.inject.Default()]
for injection into Field Injection Point, field name :  businessProcess, Bean Owner : [CompleteTaskInterceptor, Name:null, WebBeans Type:MANAGED, API Types:[java.io.Serializable,java.lang.Object,org.activiti.cdi.impl.annotation.CompleteTaskInterceptor], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]
   at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:77)
   at org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193)
   at org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1034)
   at org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:269)
   at org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:215)
   at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:277)
   at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:167)
   at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:43)
   at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:723)
   at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:546)
   at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1128)
   at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1033)
   at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
   at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)

Any hints on how to get it to work?

Outcomes