Questions tagged [drools]

Drools is a business-rule management system (BRMS) with a forward-chaining-inference-based rules engine, more correctly known as a production rule system, using an enhanced implementation of the Rete algorithm.

https://www.drools.org/

Drools is a Business Rules Management System (BRMS) solution. It provides a core Business Rules Engine (BRE), a web authoring and rules management application (Drools Workbench), full runtime support for Decision Model and Notation (DMN) models at Conformance level 3 and an Eclipse IDE plugin for core development.

4035 questions
1
vote
2 answers

With Drools 6.x how do I avoid Maven and the Compiler?

I'm looking into providing a 'hot-swap' capability for switching between different versions of sets of drools rules. The target deployment is in WebSphere, and the rules will all be run in stateless session beans. Ideally I want to pre-compile and…
Bob Moore
  • 13
  • 4
1
vote
2 answers

KIE Workbench Integration Responds with 401

I'm trying to integrate my KIE Workbench 6.1.FINAL deployment with a simple application using Drools 6.1.FINAL. I use the following code: String url =…
Larry Price
  • 429
  • 1
  • 4
  • 15
1
vote
2 answers

optaplanner custom implementation of ScoreHolder

My main question is, if I can use in OptaPlanner custom implementation of ScoreHolder in drools score calculation? And if yes, how I can do it, as the scoreHolder object is injected implicitly to global variable? Below you can find details, why I…
Rem
  • 47
  • 1
  • 7
1
vote
1 answer

using global variable in matches in drools rules

I have this rule set in drools. global String ipv4regex; rule "Initialize global" salience 1000 when then drools.getWorkingMemory().setGlobal( "ipv4regex",…
Nipun
  • 4,119
  • 5
  • 47
  • 83
1
vote
1 answer

Drools rule firing

I have event driven architecture. Say about 1000 event types and each event type can have multiple listeners. Averaging around 2 per event. giving 2000 handlers. For each event handler I have rule to be evaluated further to see if that event…
ubreddy
  • 815
  • 2
  • 8
  • 19
1
vote
2 answers

Too many open files in one of my java routine

I have a multithreaded code that has to generated a set of objects and write them to a file. When I run it I sometime get "Too many open files" message in Exception. I have checked the code to make sure that all the file streams are being closed…
Irfan Zulfiqar
  • 2,029
  • 5
  • 16
  • 21
1
vote
1 answer

How to use drools 6.1 final version on JBoss 7.1.1

We have been using Drools guvnor 5.5.0 on JBoss 7.0. Now we want to use drools 6.1 final version. We have deployed all the jar files but unable to access UI as could not find war file. We got war file for 5.5.0 version from…
Tiya
  • 215
  • 1
  • 4
  • 16
1
vote
0 answers

Is it possible to include a log statement in Drools rule or function

Let's say I have a function to check if a certain object is invalid in Drools. I call this function from a rule when a certain set of conditions are satisfied. If the function returns true, then I retract the message from drools. Can we add log…
Zephyr
  • 21
  • 3
1
vote
2 answers

Very basic running of drools 5, basic setup and quickstart

Is there a more comprehensive quick start for drools 5. I was attempting to run the simple Hello World .drl rule but I wanted to do it through an ant script, possibly with just javac/java: I get the following error: Note: I don't am running…
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
1
vote
1 answer

How scaleable is drools in applying rules over millions of transactions?

I would like to know the processing time and scaleability of drools engine, when I've a situation to apply 50+ rules over millions of transactions. Any suggestions would throw light on this aspect.
1
vote
0 answers

jBPM 6.1 Hello World

I get the following error : SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Nov 09,…
FaNaJ
  • 1,329
  • 1
  • 16
  • 39
1
vote
1 answer

Count number of facts in working memory

I need to count the number of facts satisfying a certain constraint in working memory and then fire the rule if the number of facts breaches a certain threshold. I tried the following but it is complaining about "mismatched input '$cnt' in rule…
user3248346
1
vote
0 answers

Using JBoss BRMS to Create My Own Decision Table Application

I am using the open-source JBoss BRMS application from jboss.org. Hopefully, if you clicked on this post you are familiar with this web application that can be used to develop applications that use Drools rules. I am following along with the…
user3808269
  • 1,321
  • 3
  • 21
  • 40
1
vote
1 answer

How can I trigger multiple rules in a spreadsheet based drools decision table?

I have been using a spreadsheet decision table based on drools. My requirement is such that, I need to trigger multiple rules specified in a single execution. I have the decision table image attached here. To explain my question, If the conditions…
nprak
  • 197
  • 4
  • 14
1
vote
1 answer

Drools Workbench accessing Repository via SSH

We installed KIE WB 6.1.0 on a Tomcat 7 server on Windows 2012 and created some users. Those users can log in to the Workbench and work on and in the repository. If I try to clone that repository from another computer, I only get authentication…
Dominik Sandjaja
  • 6,326
  • 6
  • 52
  • 77