Re: [rules-users] User interaction while ruleflow is running

2009-09-24 Thread Olaf Raether
to do that.. in the middle. > For that you will need to run the WSHT service. Take a look at the Drools > Flow documentation. > > > On Tue, Sep 22, 2009 at 6:20 AM, Olaf Raether wrote: > >> >> Hey, >> >> i have a simple ruleflow with some split and r

[rules-users] User interaction while ruleflow is running

2009-09-22 Thread Olaf Raether
Hey, i have a simple ruleflow with some split and ruleflowgroup components. Now i want some user interaction while the ruleflow is runing. For example : a ruleflowgroup is executed, than check a global or what ever and fire an event, so i can interact with the user. After the answer modify a g

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-28 Thread Olaf Raether
Now i found my fault ! What i did wrong was writting every single drl -file into seperate pkg - file instead of writing them in one single pkg - file. I find my error in reasoning with the follow code (modified hello world example from drools project wizzard). Adding the two drl - files result

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-28 Thread Olaf Raether
now i found out, that my problems are in relation to my serialized KnowledgePackages. When i use the following code and load the drl files everything is fine ! KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(ResourceFactory.newClassPathResource(rules[i] +

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-28 Thread Olaf Raether
now i found out, that my problems are in relation to my serialized KnowledgePackages. When i use the following code and load the drl files everything is fine ! KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(ResourceFactory.newClassPathResource(rules[i] +

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-27 Thread Olaf Raether
The rules and the facts are the same. So i add the source to the project and (try to) debug into the code. The NPE occurs in the "getIndex" method (see source fragment below) and the reader member is NULL. And the only point where "reader" is set is in the "setReadAccessor" method, but the meth

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-25 Thread Olaf Raether
Mmmh, i still get an NPE but from a different function within ClassFieldReader.java with the 4.07 Api calls it was at org.drools.base.ClassFieldReader.isNullValue(ClassFieldReader.java:183) now its java.lang.NullPointerException at org.drools.base.ClassFieldReader.getIndex(ClassFiel

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-23 Thread Olaf Raether
Thanks so far - i will change the api calls and post my results. -- View this message in context: http://www.nabble.com/Problem-when-using-multiple-rule-files-%28Drools-5%29-tp24623347p24626080.html Sent from the drools - user mailing list archive at Nabble.com. ___

Re: [rules-users] Problem when using multiple rule files (Drools 5)

2009-07-23 Thread Olaf Raether
System.out.println("NPE bei Fact:"+fact); npe.printStackTrace(); } } workingMemory.fireAllRules(); log.debug("END: runRules()"); } --- Hope this helps - to help me ! Wolfgang Laun-2 wrote: > &

[rules-users] Problem when using multiple rule files (Drools 5)

2009-07-23 Thread Olaf Raether
Hey, i have a drl file with round about 100 rules. when i run this single file everything fine ! When i splip the file into two files and add them seperate into the ruleBase i get the following Exception during the inserting of the facts: java.lang.NullPointerException at org.drools.base.Clas

Re: [rules-users] update fact problem

2009-07-14 Thread Olaf Raether
After upgrading to drools 5 everythink works as expected Olaf Raether -- View this message in context: http://www.nabble.com/update-fact-problem-tp24476277p24481596.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules

[rules-users] update fact problem

2009-07-14 Thread Olaf Raether
i think i ran into this bug with drools 4.07 http://jira.jboss.com/jira/browse/JBRULES-966 Ans - as mentioned in jira the jira entry, this bug still exists ! Does anyone know if this is solved with Drools 5.0 Thanks Olaf Raether -- View this message in context: http://www.nabble.com

Re: [rules-users] drools solver for 2d knapsack problem

2009-05-08 Thread Olaf Raether
particular problem more efficiently. > > -W > > > On Fri, May 8, 2009 at 9:59 AM, Olaf Raether wrote: > >> >> Rectangles within a Rectangle >> >> OR >> >> >> Wolfgang Laun-2 wrote: >> > >> > Rectangles or simple poly

Re: [rules-users] drools solver for 2d knapsack problem

2009-05-08 Thread Olaf Raether
Rectangles within a Rectangle OR Wolfgang Laun-2 wrote: > > Rectangles or simple polygons or worse? > -W > > On Fri, May 8, 2009 at 9:02 AM, Olaf Raether wrote: > >> Hey , i would like to use drools solver for a 2d knapsack problem. >> Has anyone expirience w

[rules-users] drools solver for 2d knapsack problem

2009-05-08 Thread Olaf Raether
Hey , i would like to use drools solver for a 2d knapsack problem. Has anyone expirience with that ? Is drools solver made for such a task ? Thank for hints Olaf Raether ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org