[jboss-jira] [JBoss JIRA] (DROOLS-2585) Not possible to deploy kjar with rule including timer

Anton Giertli (JIRA) issues at jboss.org
Wed May 23 06:18:00 EDT 2018


Anton Giertli created DROOLS-2585:
-------------------------------------

             Summary: Not possible to deploy kjar with rule including timer
                 Key: DROOLS-2585
                 URL: https://issues.jboss.org/browse/DROOLS-2585
             Project: Drools
          Issue Type: Bug
    Affects Versions: 7.7.0.Final
            Reporter: Anton Giertli
            Assignee: Mario Fusco
         Attachments: kjar.zip, reproducer.zip

When KJAR contains a rule with timer:


{code:java}
package com.sample;
 
rule "Timer to stop long running rules"
timer (int: 150s)
ruleflow-group "whatever"
salience 99
      when
      then
      System.err.println("**** Exit rule engine ****");
      drools.halt();
end
{code}

It's not possible to deploy it with KIE Services API

it fails with this error:

https://gist.github.com/agiertli/12fb71e3103dbf493308dc263fdc4607



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list