<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22324#M9773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to Activiti.Migrating an application from jboss to weblogic 12c, where I am facing the below exception.We are using activiti version 5.14.&lt;/P&gt;&lt;P&gt;I have the file org.activiti.cdi.spi.ProcessEngineLookup under META-INF/services with the fully qualified class name of&amp;nbsp; ProcessEngineLookup implementation.&lt;/P&gt;&lt;P&gt;Also tried forcibly loading ProcessEngineLookup&amp;nbsp; implementation by the following snippet in weblogic.xml present under META-INF of ear&lt;/P&gt;&lt;P&gt;&amp;lt;prefer-application-resources&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;resource-name&amp;gt;META-INF/services/org.activiti.cdi.spi.ProcessEngineLookup&amp;lt;/resource-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/prefer-application-resources&amp;gt;&lt;/P&gt;&lt;P&gt;Not sure what I am missing.&lt;/P&gt;&lt;P&gt;Exception:&lt;/P&gt;&lt;P&gt;org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup service returning a non-null processEngine. Giving up.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.activiti.cdi.impl.ActivitiExtension.lookupProcessEngine(ActivitiExtension.java:106)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.activiti.cdi.impl.ActivitiExtension.afterDeploymentValidation(ActivitiExtension.java:68)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 16:46:18 GMT</pubDate>
    <dc:creator>sherin_mvs</dc:creator>
    <dc:date>2017-02-28T16:46:18Z</dc:date>
    <item>
      <title>org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22324#M9773</link>
      <description>Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to Activiti.Migrating an application from jboss to weblogic 12c, where I am facing the below exception.We are using activiti version 5.14.I have the file org.activiti.cdi.spi.ProcessEngineLookup under META-INF/services with the fully qualified class name of&amp;nbsp; ProcessEngineLookup imple</description>
      <pubDate>Tue, 28 Feb 2017 16:46:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22324#M9773</guid>
      <dc:creator>sherin_mvs</dc:creator>
      <dc:date>2017-02-28T16:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22325#M9774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sherin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before we delve too deep into this, can you verify that you're not running multiple Dependency Injection systems in parallel (Spring, CDI, etc)? I believe JBoss favors CDI by default, and I believe Activti favors Spring - so in that migration, you could be including both. It could be a simple issue of the Java layer not knowing how exactly to&amp;nbsp;utilize the ProcessEngine with competing frameworks.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-JEarles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 21:06:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22325#M9774</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-02-28T21:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22326#M9775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JEarles,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the reply.I was not able to unserdstand the context of &lt;STRONG&gt;can you verify that you're not running multiple Dependency Injection systems in parallel.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But there is no spring related jars available in ear.&lt;/P&gt;&lt;P&gt;These are the list of jars available part of my ear lib&lt;/P&gt;&lt;P&gt;activiti-bpmn-converter-5.14.jar&lt;BR /&gt;activiti-bpmn-model-5.14.jar&lt;BR /&gt;activiti-cdi.jar&lt;BR /&gt;activiti-engine-5.14.jar&lt;BR /&gt;activiti-ldap-5.14.jar&lt;BR /&gt;commons-email-1.2.jar&lt;BR /&gt;commons-lang3-3.1.jar&lt;BR /&gt;comps_messaging.jar&lt;BR /&gt;joda-time-2.1.jar&lt;BR /&gt;mybatis-3.2.2.jar&lt;BR /&gt;slf4j-log4j12-1.7.6.jar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried having beans.xml under META-INF with below content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee" rel="nofollow noopener noreferrer" target="_blank"&gt;http://java.sun.com/xml/ns/javaee&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee" rel="nofollow noopener noreferrer" target="_blank"&gt;http://java.sun.com/xml/ns/javaee&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://java.sun.com/xml/ns/javaee/beans_1_0.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://java.sun.com/xml/ns/javaee/beans_1_0.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still the same issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sherin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:17:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22326#M9775</guid>
      <dc:creator>sherin_mvs</dc:creator>
      <dc:date>2017-03-01T11:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22327#M9776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CDI or &amp;nbsp;Contexts and Dependency Injection at a surface level,&amp;nbsp;is the ability to use annotations like @Inject, @autowired and so on.&amp;nbsp;If you're not familiar with it, checkout this &lt;A href="https://en.wikipedia.org/wiki/Dependency_injection" rel="nofollow noopener noreferrer"&gt;Wiki page&lt;/A&gt;&amp;nbsp;- anyway, what I was trying to verify is that you weren't running activiti-cdi, cdi, and spring's version of cdi. That would cause collisions and most likely lead to the error you're seeing. Your swapping of the XML configuration wouldn't fix this if your application is missing dependencies required to use the beans, or if there are collisions between multiple dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you're correct that using Spring is not required; however, &lt;EM&gt;spring-beans&lt;/EM&gt; is a compile dependency of Activiti, and thus &lt;EM&gt;spring-core&lt;/EM&gt; package is as well. Which, could potentially be the problem, because I don't see those in your list of jars and they're used for dependency injection - but I'm not sure missing those dependencies would cause this particular error. However, you should include those, to confirm that theory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has your Activiti installation ever worked, or is this a blocking error that hasn't allowed the server to fully boot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;Potentially helpful:&lt;BR /&gt;Someone on &lt;A href="https://skay-dev.blogspot.com/2013/04/setting-up-activiti-cdi.html" rel="nofollow noopener noreferrer"&gt;another blog post&lt;/A&gt;&amp;nbsp;had a very similar issue; there solution might help. There are a few other posts about the same exception, but they're less robust and boil down to collisions of dependency injection frameworks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JEarles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 19:51:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22327#M9776</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-03-01T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22328#M9777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks JEarles. Some how I managed to solve the issue by deploying the exploded ear.But Right now ends up with the below exception.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;weblogic.management.DeploymentException: CDI deployment failure:Exception List with 2 exceptions:&lt;BR /&gt;Exception 0 :&lt;BR /&gt;org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type ProcessEngine with qualifiers @Default&lt;BR /&gt;&amp;nbsp; at injection point [BackedAnnotatedField] @Inject private com.comps.workflow.JBPMProcessEngineBean.processEngine&lt;BR /&gt;&amp;nbsp; at com.comps.workflow.JBPMProcessEngineBean.processEngine(JBPMProcessEngineBean.java:0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code snippet&lt;/P&gt;&lt;P&gt;@Stateless&lt;BR /&gt;public class ActivitiFacadeBean implements ActivitiFacade {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private static ComPSLogger log = ComPSLogger.getLog(ActivitiFacadeBean.class);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Inject&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private ProcessEngine processEngine;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sherin George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 19:15:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiexception-could-not-find-an/m-p/22328#M9777</guid>
      <dc:creator>sherin_mvs</dc:creator>
      <dc:date>2017-03-07T19:15:29Z</dc:date>
    </item>
  </channel>
</rss>

