[rules-users] Drools documentation on 'from' with Hibernate queries

2008-01-22 Thread Gattiker, Alexandre
A section of the Drools documentation ends abruptly with the sentence: The next example shows how we can reason over the results of a hibernate query. The Restaurant pattern will reason over and bind with each result in turn: The rest could be found here:

[rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-01-22 Thread Ingomar Otter
Folks, I am currently trying to scale our implementation by farming out request into mutliple threads. I am on a 4 CPU Mac. A few things I am wondering about: 1. Although I see an increase in CPU load when going from single to multi-threaded processing the throughput increased marginally. I am

Re: [rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-01-22 Thread Fernando Meyer
Hi Ingomar, Which drools version are you using? We made improvements on 4.0.4, that fixes concurrency issues on mvel core, so if you aren't using it please do an update and try test against your environment. Please let me know if your problems go away when you upgrade. Thanks On Jan 22, 2008

[rules-users] BRMS locks jackrabbit

2008-01-22 Thread safi
Hi, we are trying to use Drools as a business rules engine and we have encountered some difficulties. First of all when we log into BRMS, the jackrabbit session is created and JCR is locked. This seems to be natural and of course it is correct but we need to communicate with repository from

Re: [rules-users] Drools low concurrency/high synchronization? !NOSIG!

2008-01-22 Thread Mark Proctor
This looks different to what was fixed in 4.0.4. I'm cc'ing brockm to get his feedback as it looks like an MVEL bug on accessors. Mark Fernando Meyer wrote: Hi Ingomar, Which drools version are you using? We made improvements on 4.0.4, that fixes concurrency issues on mvel core, so if you

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-22 Thread sophie . ramel
Hello michael, Is the rule agent running on a separate server to the brms? The initial configuration was: - BRMS in tomcat 5.5 - server with RuleAgent in Jboss AS 3.2.8 But now I moved to this configuration: - server with RuleAgent in Jboss AS 3.2.8 (unchanged) - BRMS is also in the same

Re: [rules-users] BRMS locks jackrabbit

2008-01-22 Thread Mark Proctor
safi wrote: Hi, we are trying to use Drools as a business rules engine and we have encountered some difficulties. First of all when we log into BRMS, the jackrabbit session is created and JCR is locked. This seems to be natural and of course it is correct but we need to communicate with

[rules-users] How to fire just one rule in a .drl.

2008-01-22 Thread Christie, Blair
I am trying to set up a set of unit tests for the set of rules in a .drl file. How can you fire just one rule in a .drl packaqe. Cheers, Blair ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] How to fire just one rule in a .drl.

2008-01-22 Thread Edson Tirelli
For unit tests, you can use agenda filters. []s Edson 2008/1/22, Christie, Blair [EMAIL PROTECTED]: I am trying to set up a set of unit tests for the set of rules in a .drl file. How can you fire just one rule in a .drl packaqe. Cheers, Blair

[rules-users] Drools and Spring Integration

2008-01-22 Thread Mark Proctor
I've had no feedback on the dev mailing list about this, so thought I'd mention it here. If you want strong spring/guice integration with Drools please do get involved in this project and if they mature well enough we'll include them as part of the standard distro.

Re: [rules-users] can i reuse rulebase

2008-01-22 Thread Mark Proctor
jack wu wrote: my profiler shows that it takes the same amount of time to do: final RuleBase ruleBase = RuleBaseFactory.newRuleBase( RuleBase.RETEOO, conf ); as to do: session.executeWithResults(); i am wondering if i can cache the ruleBase and do addPackage() and removePackage() for each

Re: [rules-users] package deserialize improvements

2008-01-22 Thread Mark Proctor
jack wu wrote: i remember seeing some one mentioning org.drools.rule.Package serialization is slow and there are some improvement code coming in. is that code already in the code base? thanks. No that is not there. Simon Harris, an old school drools hacker, has looked into it and believes he