Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Joe Ammann
On 08/05/2013 06:29 AM, Wolfgang Laun wrote: Guete Morge Joe, :-) Guete Morge Wolfgang from that other thread I can recall that you are using from expression, which (not knowing the rest) would be high up on my suspect list. That's one thing I already learnt :-) I'm not using any from clauses

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Wolfgang Laun
Grüezi Joe, On 05/08/2013, Joe Ammann j...@pyx.ch wrote: On 08/05/2013 06:29 AM, Wolfgang Laun wrote: That's one thing I already learnt :-) I'm not using any from clauses in my rule sets which are used against the big fact sets. Fine. Although occasionally useful, from expression is often

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Joe Ammann
On 08/05/2013 09:04 AM, Wolfgang Laun wrote: Fine. Although occasionally useful, from expression is often used as a cover-up for inadequate design of fact types. (from collect/accumulate is a different matter.) That was exactly the case before we found out how to make fact types more rule

[rules-users] Integrating custom UI with drools rule engine

2013-08-05 Thread ashish6276
I need to integrate the Custom Ui with Drools engine(Guvnor).we need to create rules input from UI (jsp) and integrate into Guvnor so that click of event rules defined in UI will add to guvnor? -- View this message in context:

[rules-users] How to execute specific rule-flow group ?

2013-08-05 Thread virajn
Hi all, In my project i want Drools ( version 5.5.0.final) to execute specific rule flow group. Is there a way to do this ? Thanks in advance ! -- View this message in context: http://drools.46999.n3.nabble.com/How-to-execute-specific-rule-flow-group-tp4025317.html Sent from the Drools: User

Re: [rules-users] Integrating custom UI with drools rule engine

2013-08-05 Thread Mauricio Salatino
Ok, so you will need to elaborate a little bit more, so we can help you. The Drools Engine is not Guvnor. The Drools Engine is Drools Expert and Guvnor is a Rules/Knowledge Assets Repository. I'm guessing that you have your own rules authoring environment and you want to deploy the rule to the

[rules-users] Jbpm-standalone-designer with postgres

2013-08-05 Thread Naman Shah
Hi, I need to use the standalone jbpm-desginer-standalone with postgresql. I check the code and read some where that i need to use the Repository for further modification. Is there any documentation out there or some example on this, so that i can use it for reference. Thanks Naman Shah

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Wolfgang Laun
On 05/08/2013, Joe Ammann j...@pyx.ch wrote: But what would be a good example where I would use clear() on the Agenda ? Can't really think of one, but maybe I still did not understand the concept fully... It is some sort of cut. You might use it when you have found one solution and aren't

Re: [rules-users] Integrating custom UI with drools rule engine

2013-08-05 Thread ashish6276
Hi, I am creating UI which will take input for condition and Action. That input shoule be indesatndable by guvnor so that we can add one rule in it. My question is which format the inputof Ui should be converted so that Guvnor can understand and rules can be added -- View this message in

Re: [rules-users] java.lang.NullPointerException when using a custom operator

2013-08-05 Thread Wolfgang Laun
This seems to be a bug in Drools, a regression introduced into 5.5.0; it compiles in 5.[34].0 The rule uses the custom operator supersetOf, both operands are java.util.Collection. //Results in a null pointer exception: Error: java.lang.NullPointerException $test2:ArrayList()

[rules-users] How to improve performance with large number of rules and facts ?

2013-08-05 Thread virajn
Hi alll, In my project i'm loading 18,000 rules ( 3mb file ) to reason with 11,000 facts. I recorded following time durations. - Rule loading time - 3 min 6 seconds - Time duration to create stateful knowledge session - 5 min 52 seconds - Fact inserting time - 5 min 31 seonds - Time duration

Re: [rules-users] How to improve performance with large number of rules and facts ?

2013-08-05 Thread rjr201
It's very hard to give advice without seeing the rules that you are using. Could you give us a sample of your rules? -- View this message in context: http://drools.46999.n3.nabble.com/How-to-improve-performance-with-large-number-of-rules-and-facts-tp4025324p4025325.html Sent from the Drools:

Re: [rules-users] How to improve performance with large number of rules and facts ?

2013-08-05 Thread virajn
I'm using this project as a experiment. Therefore condition of the all rules are same and they will fire once for all the objects. Following is a sample. when UserProfile( profile == UserProfile.STUDENT ) $book : Book( student == true ) then $book.setEligible(true); end

Re: [rules-users] Integrating custom UI with drools rule engine

2013-08-05 Thread Mauricio Salatino
if you are using Guvnor 5.5 the rules are being stored in both: DRL and BRL format. I would recommend you to go with a simple DRL format, which is plain text with valid rules in it. HTH On Mon, Aug 5, 2013 at 10:20 AM, ashish6276 ashishkumarec...@gmail.comwrote: Hi, I am creating UI which

Re: [rules-users] How to improve performance with large number of rules and facts ?

2013-08-05 Thread rjr201
Are you sure they'll only fire once for all the objects? What are the facts you are inserting? -- View this message in context: http://drools.46999.n3.nabble.com/How-to-improve-performance-with-large-number-of-rules-and-facts-tp4025324p4025328.html Sent from the Drools: User forum mailing list

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread ashish6276
Hi laune. Thanks for your reply. I tried the approach of using template. But my UI has around 20 parametres which need to be used in when and then Part of rule. Taking various combination of these parametres we need to define around 20 templates. If i define all template. Then is there

Re: [rules-users] How to improve performance with large number of rules and facts ?

2013-08-05 Thread laune
virajn wrote I'm using this project as a experiment. Therefore condition of the all rules are same and they will fire once for all the objects. Following is a sample. when UserProfile( profile == UserProfile.STUDENT ) $book : Book( student == true ) then

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread Wolfgang Laun
On 05/08/2013, ashish6276 ashishkumarec...@gmail.com wrote: Hi laune. Thanks for your reply. I tried the approach of using template. But my UI has around 20 parametres which need to be used in when and then Part of rule. Taking various combination of these parametres we need to define

[rules-users] Agenda Groups in Stateless Knowledge Session

2013-08-05 Thread alfaoasis
Is it possible to use agenda groups with stateless knowledge session? if not whats the alternative? -- View this message in context: http://drools.46999.n3.nabble.com/Agenda-Groups-in-Stateless-Knowledge-Session-tp4025332.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Agenda Groups in Stateless Knowledge Session

2013-08-05 Thread Wolfgang Laun
Why don't you just try it? -W On 05/08/2013, alfaoasis meenakshi.ap...@gmail.com wrote: Is it possible to use agenda groups with stateless knowledge session? if not whats the alternative? -- View this message in context:

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread ashish6276
I am trying those things. Apart from this is there any way so that i can let guvnor communicate with my UI. Some way by which if user save the parameter in ui. It should be able to create drl in guvnor. -- View this message in context:

Re: [rules-users] java.lang.NullPointerException when using a custom operator

2013-08-05 Thread Mario Fusco
I tried to reproduce this issue on both the 6.x and on the 5.6.x branches and it works for me https://github.com/droolsjbpm/drools/blob/ba41255fecb48614e6ef6b67843548777a8a6193/drools-compiler/src/test/java/org/drools/compiler/integrationtests/CustomOperatorTest.java#L177 Let me know if I am

Re: [rules-users] java.lang.NullPointerException when using a custom operator

2013-08-05 Thread Wolfgang Laun
Looks good. 5.6 is long overdue... -W On 05/08/2013, Mario Fusco mario.fu...@gmail.com wrote: I tried to reproduce this issue on both the 6.x and on the 5.6.x branches and it works for me

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread Stephen Masters
There is a REST API to enable an application such as yours to integrate with Guvnor: http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html/ch09.html Steve On 5 Aug 2013, at 12:58, ashish6276 ashishkumarec...@gmail.com wrote: I am trying those things. Apart

Re: [rules-users] Agenda Groups in Stateless Knowledge Session

2013-08-05 Thread alfaoasis
I have tried it. But I am getting the results of other agenda groups as well which is present in the drl file. -- View this message in context: http://drools.46999.n3.nabble.com/Agenda-Groups-in-Stateless-Knowledge-Session-tp4025332p4025338.html Sent from the Drools: User forum mailing list

Re: [rules-users] Agenda Groups in Stateless Knowledge Session

2013-08-05 Thread alfaoasis
I have tried it. But I am getting the results of other agenda groups as well which is present in the drl file. -- View this message in context: http://drools.46999.n3.nabble.com/Agenda-Groups-in-Stateless-Knowledge-Session-tp4025332p4025339.html Sent from the Drools: User forum mailing list

Re: [rules-users] What's new in Drools 6.0

2013-08-05 Thread Mark Proctor
People had problems with the uploaded slide before, which was an html export from keynote. I've since exported to PDF and uploaded to slideshare. http://blog.athico.com/2013/08/whats-new-in-drools-60-london-jbug-2013.html Mark On 30 Jul 2013, at 21:42, Mark Proctor mproc...@codehaus.org wrote:

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread Mark Proctor
The 6.x codebase has rewritten the web UI from scratch, with end user extensibility in mind. Each editor is separate maven module, with defined life cycles and hooks. You can simply copy one of those editors as a starting point, and recompile for your custom 6.x web UI. 6.x has lot of other

[rules-users] Drools time to insert facts

2013-08-05 Thread Bojan Janisch
Hey guys, is it normal to wait hours or to get out of memory error, for a rule which checks for 5 or 6 objects? No constraints, just simple checking for objects in working memory. Greetings Bojan ___ rules-users mailing list

Re: [rules-users] Drools time to insert facts

2013-08-05 Thread rjr201
That doesn't sound normal. Could you post your rules and code? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-time-to-insert-facts-tp4025343p4025344.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Agenda Groups in Stateless Knowledge Session

2013-08-05 Thread Wolfgang Laun
On 05/08/2013, alfaoasis meenakshi.ap...@gmail.com wrote: I have tried it. But I am getting the results of other agenda groups as well which is present in the drl file. This is rather unlikely. You should post code to reproduce this behaviour. StatelessRuleSession does not have an API to set

Re: [rules-users] Drools time to insert facts

2013-08-05 Thread Bojan Janisch
Hi Riley, I've uploaded some test cases at http://www.file-upload.net/download-7927360/TestCase.zip.html There are 6 test cases in Main.class which checks for 1 - 6 objects. Greetings Bojan - Ursprüngliche Mail - Von: rjr201 rich.j.ri...@gmail.com An: rules-users@lists.jboss.org

[rules-users] Drools 5.5 Decision Tables - Add check without requiring user input

2013-08-05 Thread gboro54
Hi!, For a decision table is there a way to have a condition column for which the user just specifies weather the condition is active or deactivate(i.e specify true or false) but which they only specify active or not. Thanks, Mike -- View this message in context:

[rules-users] ruleflow-group and jBPMN

2013-08-05 Thread droolster
Hello, Please can the community help me. I have setup a Drools JBPMN process and am using it to determine which set of rules to fire under different scenarios. However, when I add the ruleflow-group attribute to the rules in the DRL file, the rules fail to execute. Here is my setup: foo.bpmn2

Re: [rules-users] Agenda Groups in Stateless Knowledge Session

2013-08-05 Thread alfaoasis
Thanks for your reply. Will explain what I am trying to do. I have a separate drools rule invocation file for stateless and stateful knowledge sessions respectively. But I have a single drl file for the rules to be fired accordingly. When I execute my stateless session file, I am getting the

Re: [rules-users] ruleflow-group and jBPMN

2013-08-05 Thread Mauricio Salatino
Are you calling fireAllRules after the process returns the execution to the application? Are you 100% sure that at least a rule is being activated? On Mon, Aug 5, 2013 at 4:54 PM, droolster quant.co...@gmail.com wrote: Hello, Please can the community help me. I have setup a Drools JBPMN

Re: [rules-users] Drools 5.5 Decision Tables - Add check without requiring user input

2013-08-05 Thread Stephen Masters
I'm not aware of an 'out of the box' mechanism for this. However, my own preference for doing this is to get the RHS insert a restriction fact. Essentially, you have no LHS, so that that all rules in the decision table will fire after creating a session, inserting something like: Customer ::

Re: [rules-users] Drools time to insert facts

2013-08-05 Thread Wolfgang Laun
On 05/08/2013, Bojan Janisch bojan.jani...@scai.fraunhofer.de wrote: Hi Riley, I've uploaded some test cases at http://www.file-upload.net/download-7927360/TestCase.zip.html 6 MB just to inspect 100 lines of DRL code? What are you trying to show? That n to the k-th grows fast is well known.

Re: [rules-users] RightTupleIndexHashTable

2013-08-05 Thread Ming Fang
Version 5.6.0-SNAPSHOT fixes the problem. We're experiencing this problem in our Production environment and needs to address it as soon as possible. When is 5.6.0 scheduled to be released? Sent from my iPhone On May 11, 2013, at 4:56 PM, Davide Sottara dso...@gmail.com wrote: Did you try

Re: [rules-users] RightTupleIndexHashTable

2013-08-05 Thread Mark Proctor
On 5 Aug 2013, at 19:48, Ming Fang mingf...@mac.com wrote: Version 5.6.0-SNAPSHOT fixes the problem. We're experiencing this problem in our Production environment and needs to address it as soon as possible. When is 5.6.0 scheduled to be released? We've been trying to schedule a release

Re: [rules-users] Creati custom Ui for Drools

2013-08-05 Thread GPatel
Is there any documentation or examples that show how to build a custom UI using the new 6.0 design? I looked in http://docs.jboss.org/drools/release/6.0.0.Beta5/drools-guvnor-docs/html_single/index.html but could not find any pointers. Thanks G. Patel From: Mark Proctor