<?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: Droolls drl file included in bar is not deployed. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113024#M79544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use ProcessEngineConfiguration.createProcessEngineFromResource(…) passing in your configuration-file containing the config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, If you want to use the ProcessEngines.getDefaultProcessEngine(), make sure the config-file is on the class path and is named activiti.cfg.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By code it's also possible. This forces you to cast the ProcessEngineConfiguration to a ProcessEngineConfigurationImpl and calling setCustomPostDeployers()…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2012 11:15:20 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-07-05T11:15:20Z</dc:date>
    <item>
      <title>Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113021#M79541</link>
      <description>Hi I tried to deploy process with rule, but it didn't work. Can you help?private ProcessEngine createProcessEngineInMemory() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .setDatabaseSchemaUpdate( ProcessEngineConfiguration.DB_SCHEMA_UPDA</description>
      <pubDate>Thu, 05 Jul 2012 09:54:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113021#M79541</guid>
      <dc:creator>mutcha</dc:creator>
      <dc:date>2012-07-05T09:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113022#M79542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see you are using StandaloneInMem configuration… Use a configuration-file instead where you actually define that you're going to use the rules. Example here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://svn.codehaus.org/activiti/activiti/trunk/modules/activiti-engine/src/test/resources/org/activiti/standalone/rules/rules.activiti.cfg.xml" rel="nofollow noopener noreferrer"&gt;https://svn.codehaus.org/activiti/activiti/trunk/modules/activiti-engine/src/test/resources/org/activiti/standalone/rules/rules.activiti.cfg.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="customPostDeployers"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="org.activiti.engine.impl.rules.RulesDeployer" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 09:58:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113022#M79542</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-05T09:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113023#M79543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for fast reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it before to use configuration from file, but then should I use just "ProcessEngines.getDefaultProcessEngine()" ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because when I try to get process engine using this method then I got "null" without any exception or detailed message which could indicate what was wrong, that's why I left this approach and tried to configure the process engine in the code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So solutions to my problem could be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Setting custom post deployer from code, NOT from configuration. Is there some possibility to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Try to find the reason, why I cannot get the process engine in the "file configuration" approach? How could I get some information about the error why the ProcessEngines.getDefaultProcessEngine() returns null ? Maybe I use wrong method? Maybe I should use some different than getDefaultProcessEngine() ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 10:51:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113023#M79543</guid>
      <dc:creator>mutcha</dc:creator>
      <dc:date>2012-07-05T10:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113024#M79544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use ProcessEngineConfiguration.createProcessEngineFromResource(…) passing in your configuration-file containing the config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, If you want to use the ProcessEngines.getDefaultProcessEngine(), make sure the config-file is on the class path and is named activiti.cfg.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By code it's also possible. This forces you to cast the ProcessEngineConfiguration to a ProcessEngineConfigurationImpl and calling setCustomPostDeployers()…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 11:15:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113024#M79544</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-05T11:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113025#M79545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I will check all these possibilities, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And again, nice to see that support from Activiti team is so fast. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 11:19:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113025#M79545</guid>
      <dc:creator>mutcha</dc:creator>
      <dc:date>2012-07-05T11:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113026#M79546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're just lucky &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 11:21:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113026#M79546</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-05T11:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113027#M79547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm one step further, but it seems that during parsing of rule following exception occured:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;: java.lang.NoSuchMethodError: org.antlr.runtime.Lexer.&amp;lt;init&amp;gt;(Lorg/antlr/runtime/CharStream;Lorg/antlr/runtime/RecognizerSharedState&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.054 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.lang.DRLLexer.&amp;lt;init&amp;gt;(DRLLexer.java:134)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.054 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.lang.DRLLexer.&amp;lt;init&amp;gt;(DRLLexer.java:131)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.054 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.compiler.DrlParser.getParser(DrlParser.java:287)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.054 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.compiler.DrlParser.parse(DrlParser.java:135)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.055 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.compiler.DrlParser.parse(DrlParser.java:141)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.055 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:394)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.055 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:586)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:17:23.055 INFO&amp;nbsp; [p.application.0] System.out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [component=incidentservice]&amp;nbsp; at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have following jars which I suppose are needed for drools:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;drools-compiler-5.3.0.Final.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;drools-core-5.3.0.Final.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;antlr-3.3.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;antlr-runtime-3.3.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I use good jars? Or maybe in wrong versions or something? Or some are missing ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 12:20:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113027#M79547</guid>
      <dc:creator>mutcha</dc:creator>
      <dc:date>2012-07-05T12:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Droolls drl file included in bar is not deployed.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113028#M79548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like the drools-pom doesn't specify any versions for antlr. Try earlier versions…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 12:33:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/droolls-drl-file-included-in-bar-is-not-deployed/m-p/113028#M79548</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-05T12:33:14Z</dc:date>
    </item>
  </channel>
</rss>

