Re: [rules-users] Drools 5.1M2

2010-05-23 Thread Geoffrey De Smet
Planner's examples in environmentMode DEBUG are not spotting any more bugs in the statefull working memory. I ran examination on 32 configs last night which did over 10 million fireAllRules without a single deviation. Trunk (5.1.M2-SNAPSHOT) is looking very good now :) and fast! With kind

Re: [rules-users] Drools 5.1M2

2010-05-23 Thread David Conde
Sounds Great, Looking forward to the release. Cheers, David On 23 May 2010 08:16, Geoffrey De Smet ge0ffrey.s...@gmail.com wrote: Planner's examples in environmentMode DEBUG are not spotting any more bugs in the statefull working memory. I ran examination on 32 configs last night which did

[rules-users] ArrayIndexOutOfBounds when calling addKnowledgePackage?

2010-05-23 Thread malkhafaji
Hello, I am trying to create a bunch of KnowledgeBase objects, this is what I am doing: 1. create one List of KnowledgePackage objects (pre-compile them). 2. Create X number of KnowledgeBases, and for each knowledge base do this: for (KnowledgePackage kp : this.knowledgePackages) {

Re: [rules-users] ArrayIndexOutOfBounds when calling addKnowledgePackage?

2010-05-23 Thread malkhafaji
And for the same isolated test, but in a different run, I also get this (exactly at the same line): P.S. I was just trying to create 7 KnowledgeBase instances. I am also running with a huge perm memory setting: -XX:PermSize=128m -XX:MaxPermSize=672 Exception in thread main

Re: [rules-users] ArrayIndexOutOfBounds when calling addKnowledgePackage?

2010-05-23 Thread malkhafaji
Additional information. When I removed the threads (everything executing sequentially), I got rid of the first problem above which is the index out of bounds exception. However, I am consistently getting the perm gen out of memory exception although I have plenty of it. So, I decided to create

[rules-users] Drools flow VS jBPM4

2010-05-23 Thread HONG DENG
Has anyone seriously compared the functional difference between the two flow engine? Which one is more flexible and expansible? ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools flow VS jBPM4

2010-05-23 Thread Mark Proctor
On 23/05/2010 16:02, HONG DENG wrote: Which one is more flexible and expansible? drools flow Mark ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] ArrayIndexOutOfBounds when calling addKnowledgePackage?

2010-05-23 Thread malkhafaji
For those that are interested. I solved the problem. Basically I got over the following inherent problems in Drools (not that they are bugs, but they did not suit my application requirements): 1. A new class loader for each KnowledgeBase. This caused about 20-30K classes loaded per KnowledgeBase

Re: [rules-users] Drools Flow Persistence with Spring Hibernate

2010-05-23 Thread Pablo Nussembaum
If you don't want to change your app to use JPA. You still can switch to start using JTA as a transaction manager. Doing that would allow you use the same transaction in your code and in drools flow. I've never done that by myself but I'm 97% sure it is doable. On Saturday 22,May,2010 12:45 AM,

Re: [rules-users] Drools Flow Persistence with Spring Hibernate

2010-05-23 Thread xdirewolfx
Thanks for your response. I can do transaction within drools flow. However, I did not find anywhere in document in how to persist the flow and human task node to safe point. There should be some database tables to be created within my current datasource I believe? -- View this message in

Re: [rules-users] Drools 5.1M2

2010-05-23 Thread Mark Proctor
On 23/05/2010 08:16, Geoffrey De Smet wrote: Planner's examples in environmentMode DEBUG are not spotting any more bugs in the statefull working memory. I ran examination on 32 configs last night which did over 10 million fireAllRules without a single deviation. Trunk (5.1.M2-SNAPSHOT) is

Re: [rules-users] Call for Vote: Drools support in IntelliJ IDEA

2010-05-23 Thread Mark Proctor
On 22/05/2010 02:17, Ansgar Konermann wrote: On 22.05.2010 03:09, Mark Proctor wrote: We'd love to see it, but no one seems willing to do the work, and we don't have the resources to do this within the core team. So unless someone such as yourself picks this up, hint hint ;), it's not

Re: [rules-users] Drools 5.1M2

2010-05-23 Thread Lucas Amador
Mark, drools-server is compiling fine in my enviroment (OSX JVM 1.5). I'm sure that Rikkola is compiling drools with JVM 1.6, because he asked me about these failed tests before and switching to 1.5 solved this. Remember that java 1.6 has is own JAXB implementation... Regards, Lucas El

Re: [rules-users] ArrayIndexOutOfBounds when calling addKnowledgePackage?

2010-05-23 Thread Wolfgang Laun
On 23 May 2010 15:31, malkhafaji moe.alkhaf...@medcpu.com wrote: Hello, I am trying to create a bunch of KnowledgeBase objects, this is what I am doing: 1. create one List of KnowledgePackage objects (pre-compile them). 2. Create X number of KnowledgeBases, and for each knowledge base do