<?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 ProcessEngines.getDefaultProcessEngine() strange behavior in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/processengines-getdefaultprocessengine-strange-behavior/m-p/173185#M126348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have two Java Apps using Maven to download Activiti 5.14 JAR.&amp;nbsp; Both have this line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;processEngine = ProcessEngines.getDefaultProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first app, I have 5.14 JAR.&amp;nbsp; I set classpath in Eclipse to look for activiti.cfg.xml file.&amp;nbsp; This app works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 2nd app, I also have 5.14 JAR.&amp;nbsp; I set classpath in Eclipse to look for activiti.cfg.xml file.&amp;nbsp; For some reasons, Eclipse never looks for the config file.&amp;nbsp; As a result, my processEngine is null.&amp;nbsp; At first, I thought there is something wrong with the way I set my classpath.&amp;nbsp; However, when I change 5.14 to 5.11 in the pom.xml file in the 2nd app, it works.&amp;nbsp; This means, ProcessEngines.getDefaultProcessEngine() in the 2nd App would look for activiti.cfg.xml file when I use 5.11 JAR but it's not when 5.14 JAR is used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know how to explain this as I have Activiti 5.14 JAR in my first app and it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone think of why this happens?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 23:32:37 GMT</pubDate>
    <dc:creator>houstoniasian</dc:creator>
    <dc:date>2013-10-23T23:32:37Z</dc:date>
    <item>
      <title>ProcessEngines.getDefaultProcessEngine() strange behavior</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processengines-getdefaultprocessengine-strange-behavior/m-p/173185#M126348</link>
      <description>I have two Java Apps using Maven to download Activiti 5.14 JAR.&amp;nbsp; Both have this line of code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rocessEngine = ProcessEngines.getDefaultProcessEngine();The first app, I have 5.14 JAR.&amp;nbsp; I set classpath in Eclipse to look for activiti.cfg.xml file.&amp;nbsp; This app works fine.The 2nd app, I also have 5.14 JAR.</description>
      <pubDate>Wed, 23 Oct 2013 23:32:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processengines-getdefaultprocessengine-strange-behavior/m-p/173185#M126348</guid>
      <dc:creator>houstoniasian</dc:creator>
      <dc:date>2013-10-23T23:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: ProcessEngines.getDefaultProcessEngine() strange behavior</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processengines-getdefaultprocessengine-strange-behavior/m-p/173186#M126349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And what's the difference between the two apps then? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 10:22:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processengines-getdefaultprocessengine-strange-behavior/m-p/173186#M126349</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-10-25T10:22:19Z</dc:date>
    </item>
  </channel>
</rss>

