<?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 Re: Deployment * doesn't contain any rules in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173830#M126960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there are two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;change process engine configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; ProcessEngine processEngine = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("activiti.cfg.xml")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .buildProcessEngine();&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;change activiti config to&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true"/&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that you get &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;[09/04/14 09:03:43:226 CEST] ERROR org.activiti.engine.impl.interceptor.CommandContext: Error while closing command context&lt;BR /&gt;java.lang.UnsupportedOperationException: org.drools.impl.adapters.StatefulKnowledgeSessionAdapter.fireAllRules -&amp;gt; TODO&lt;BR /&gt; at org.drools.impl.adapters.StatefulKnowledgeSessionAdapter.fireAllRules(StatefulKnowledgeSessionAdapter.java:65)&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;it is drool exception - rule was fired&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 07:07:28 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-04-09T07:07:28Z</dc:date>
    <item>
      <title>Deployment * doesn't contain any rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173829#M126959</link>
      <description>I've been working on accessing drools rules from within an activiti process and whatever I do doesn't seem to allow this to load up. Reading the forums I have checked to ensure I have the custom post deployers, ensured I have dependencies in the POM that others have stated they have missed, checked</description>
      <pubDate>Tue, 08 Apr 2014 09:29:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173829#M126959</guid>
      <dc:creator>cdwhitcombe</dc:creator>
      <dc:date>2014-04-08T09:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment * doesn't contain any rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173830#M126960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there are two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;change process engine configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; ProcessEngine processEngine = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("activiti.cfg.xml")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .buildProcessEngine();&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;change activiti config to&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true"/&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that you get &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;[09/04/14 09:03:43:226 CEST] ERROR org.activiti.engine.impl.interceptor.CommandContext: Error while closing command context&lt;BR /&gt;java.lang.UnsupportedOperationException: org.drools.impl.adapters.StatefulKnowledgeSessionAdapter.fireAllRules -&amp;gt; TODO&lt;BR /&gt; at org.drools.impl.adapters.StatefulKnowledgeSessionAdapter.fireAllRules(StatefulKnowledgeSessionAdapter.java:65)&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;it is drool exception - rule was fired&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 07:07:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173830#M126960</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-09T07:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment * doesn't contain any rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173831#M126961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's great, thanks for the help. I've got it working now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly, that drools issue appears to be fairly common: &lt;/SPAN&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&amp;amp;id=1066969" rel="nofollow noopener noreferrer"&gt;https://bugzilla.redhat.com/show_bug.cgi?format=multiple&amp;amp;id=1066969&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems some methods are getting deprecated in a very odd way, being marked with runtime todo's! You may want to use my code as a test case to find out what new method you need to invoke instead to get it working with Drools 6.0.1, it works fine when I downgrade to 5.6.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 09:31:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173831#M126961</guid>
      <dc:creator>cdwhitcombe</dc:creator>
      <dc:date>2014-04-09T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment * doesn't contain any rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173832#M126962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you create Jira ticket for this please. It could be added to the features for the next release. Or you can create pull request if you solve it by yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 06:31:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployment-doesn-t-contain-any-rules/m-p/173832#M126962</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-10T06:31:10Z</dc:date>
    </item>
  </channel>
</rss>

