Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-3105

Not possible to deploy kjar with rule including timer

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 6.4.9.GA
    • None
    • None
    • It is not possible to deploy kjar, containing rule with a timer on kie-server where jbpm extension is enabled. This is intended behavior.
      1. Download kjar.zip, unzip and mvn clean install
      2. Download reproducer.zip unzip and execute mvn clean package exec:java

      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
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Resolved:
                Archived: