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

not able to execute a drl file when packaged inside a jar file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 7.2.0.Final
    • core engine
    • None
    • NEW
    • NEW

      Hi all,

      I have created a simplest rule project in KIE workbench 7.2, After build and deploy i am able to download the jar for my project from the artifact repository. now i want to execute the rules from a java maven project. I have put the jar in the resources folder of the maven project, scanning the jar and trying to load all the rule artifacts in the kie base. but i am not able to execute the rules inside the drl file which is inside the jar file. I have attached the drl file, jar structure, eclipse project structure and debug in eclipse. please help, pls update if any further details required.
      Thanks
      Vardhaman

        1. eclipse project.png
          209 kB
          Vardhaman Magadum
        2. Jar Structure.png
          82 kB
          Vardhaman Magadum
        3. projectStructure.png
          24 kB
          Vardhaman Magadum
        4. Rule1.drl
          0.3 kB
          Vardhaman Magadum

              mfusco@redhat.com Mario Fusco
              vardhaman_jira Vardhaman Magadum (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: