Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2556

Not possible to deploy kjar with rule including timer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.7.0.Final
    • None
    • None
      1. Download kjar.zip, unzip and mvn clean install
      2. Download reproducer.zip unzip and execute mvn clean package exec:java
    • NEW
    • NEW

      When KJAR contains a rule with timer:

      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
      

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

      it fails with this error:

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

        1. kjar.zip
          15 kB
        2. reproducer.zip
          8 kB

              mfusco@redhat.com Mario Fusco
              rhn-support-agiertli Anton Giertli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: