[rules-users] Drools scalability

2010-08-19 Thread james corrigan
Hi All, Can one session be shared amongst multiple threads? In the book Drools JBoss Rules 5.0 Developer's Guide it says that sessions cannot be shared as they contain state which i understand but in chapter 12 they say that "Drools supports parallel execution mode. One session can be executed by

[rules-users] Is Drools rule engine thread safe

2010-08-05 Thread james corrigan
Hi All, I am trying to implement a mutli-threaded application using Drools Guvnor, my question is whether or not i can share a reference of say a StatefulKnowledgeSession or Knowledge between multiple threads? Any help is much appreciated. Kind regards, James.

Re: [rules-users] Implement timer in rule

2010-07-31 Thread james corrigan
running with the latest code or > an older version of Drools? > > 2010/7/29 james corrigan > >> Hi All, >> >> I am trying to implement a timer in a rule so that it executes every 15min >> i have the following code: >> >> rule " When average tempe

[rules-users] ArrayList in Guvnor 5.1 M2

2010-07-30 Thread james corrigan
Hi All I have built the following rule in version 5.0 with no errors: rule "When average temperature is greater than 19" lock-on-active true when $t : ArrayList() from collect(Temperature()) //store all temperature objects in an arraylist

[rules-users] Implement timer in rule

2010-07-29 Thread james corrigan
Hi All, I am trying to implement a timer in a rule so that it executes every 15min i have the following code: rule " When average temperature is greater than 19 turn on fans" timer(int:0 15m) when $t : Temperature($room : room) $fan : Fan( room == $r

Re: [rules-users] Uploading models to Guvnor

2010-07-25 Thread james corrigan
ban.wordpress.com > > > 2010/7/25 james corrigan > > Hi Mark, Esteban, >> >> I recreated the jar and it does contain class files with no manifest file. >> It has four classes: Temperature, Room, ServerGUI and Fan - i have included >> it. The four appear in Import

Re: [rules-users] Uploading models to Guvnor

2010-07-25 Thread james corrigan
jar here? > > El jul 24, 2010 4:24 p.m., "james corrigan" > escribió: > > Hi All, > I am having severe amount of trouble trying to get started in Guvnor, i > cannot load any jar files at all - i can upload them but not use them when i > try write a guided rule it

[rules-users] Uploading models to Guvnor

2010-07-24 Thread james corrigan
Hi All, I am having severe amount of trouble trying to get started in Guvnor, i cannot load any jar files at all - i can upload them but not use them when i try write a guided rule it tells me that no models are loaded even though Guvnor is telling me its there. I create a new package, then upload

Re: [rules-users] Configure Guvnor to use MySQL

2010-07-05 Thread james corrigan
The configuration changes you need to make should be similar to > > http://docs.sun.com/app/docs/doc/820-7054/gifgn?a=view > > > > Hope this helps. > > > > Cheers. > > > > > > Han Ming > > > ------ > > *From:* rules

[rules-users] Configure Guvnor to use MySQL

2010-07-05 Thread james corrigan
Hi All, I am trying to configure Guvnor to use MySQL instead of the Derby DB Guvnor comes with, i have searched google but there are no clear solutions can anyone help me do this? Thank you. Kind Regards, James. ___ rules-users mailing list rules-users@