Re: [rules-users] Typecasting problem

2011-10-12 Thread hsherlock
My Drools version is 5.1.1 I will check and report back. Thank you Victor -- View this message in context: http://drools.46999.n3.nabble.com/Typecasting-problem-tp3412518p3414973.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Regession in 5.3.0-CR1: .drl file ending in a single line comment w/o EOL not accepted

2011-10-12 Thread Swindells, Thomas
While in the process of upgrading to the latest version of drools I've just been hit by a regression where .drl file ending in a single line comment w/o EOL not accepted (https://issues.jboss.org/browse/JBRULES-2041) This was fixed and works in 5.1.1 but appears to be broken again :( The

[rules-users] Need comprehensible drools examples

2011-10-12 Thread Martin A
Hello, guys, I've been looking for nice and clear drools examples for the whole day so far, but can't find any. The several examples projects I found are full of improper project configuration. Would you please refer me to a reliable drools examples source projects? Thanks in advance!

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Mauricio Salatino
Hi Martin, what kind of examples are you looking for? Here I'm writing with a couple of friends a set of examples that will be improved over the time. All the examples are using maven, that really helps in the configuration side and most of them are very introductory, but as I mention we are

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Martin A
Hi Mauricio, These examples look good enough for this kind of framework introduction I need! Thanks for the prompt response and for the good reference! However, if you know other examples that may help me get into Drools quicker, I'd be glad if you give me some links :) Best regards, Martin

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Mauricio Salatino
The examples that I've provided are very basic.. if you want to see more advanced stuff you can go to github and get the official set of examples from there: https://github.com/droolsjbpm/drools/tree/master/drools-examples 2011/10/12 Martin A wml...@gmail.com Hi Mauricio, These examples look

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Mark Proctor
On 12/10/2011 13:14, Martin A wrote: Hello, guys, I've been looking for nice and clear drools examples for the whole day so far, but can't find any. The several examples projects I found are full of improper project configuration. Would you please refer me to a reliable drools examples

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Geoffrey De Smet
Martin, The several examples projects I found are full of improper project configuration. Which examples are you referring to in this statement? Are you referring to the examples directory found in the download zip?

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Martin A
Hi Geoffrey, Yes, I think I experienced problems with these ones... @Mauricio: Thanks for the other link! Regards, Martin 2011/10/12 Geoffrey De Smet ge0ffrey.s...@gmail.com ** Martin, The several examples projects I found are full of improper project configuration. Which examples are

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Geoffrey De Smet
Hi Martin, full of improper project configuration Could you explain what you mean by this? What did you try and didn't work? We 'd like to improve it for the next release. Op 12-10-11 16:06, Martin A schreef: Hi Geoffrey, Yes, I think I experienced problems with these ones... @Mauricio:

Re: [rules-users] Need comprehensible drools examples

2011-10-12 Thread Martin A
What I did was to extract the folder examples/sources and import it as an existing maven project. When I did, the rules were full of messages, such as : cannot resolve type, mismatched token, etc. Besides of that, when tried to run any of the samples by running runExamples.bat and clicking on an

[rules-users] How to improve drools performance?

2011-10-12 Thread arrehman
Is there a way to log / monitor the time taken for rule in a Drools rule set? Is there a way to make sure that one rule is not executed more than once(It seems to be happening in my case) What are the general guidelines on improving Drools performance? Currently I am using a one single DRL file

Re: [rules-users] Guvnor - Loading enums programatically using rule metadata

2011-10-12 Thread GPatel
I suppose I can use the standaloneEditor, add my data loader arguments to the URL, have a filter on the serverside set up a thread-local context that contains the arguments and have the data loaders use that context. How do I disable enum caching so that the above approach works? From:

Re: [rules-users] Guvnor - Loading enums programatically using rule metadata

2011-10-12 Thread Michael Anstis
I thought I had already replied, but.. anyway, why not have one rule create new facts containing the necessary rule attributes in their RHS that are inserted into WM. Your other rules could then use these facts' fields for the Enum loader... sent on the move On 12 Oct 2011 18:22,

Re: [rules-users] NPE in SlidingTimeWindow$SlidingTimeWindowComparator

2011-10-12 Thread Rob Crawford
I've tried to create an example, but when I try to isolate the problem, it goes away. It's apparently an interaction between multiple rules, and I can't seem to come up with minimal set. Are there any guidelines for writing rules in STREAM mode? I'm banging my head against the wall, getting

Re: [rules-users] How to improve drools performance?

2011-10-12 Thread Dean Whisnant
You could create a listener and combine it with a log. There is org.drools.event.rule.DefaultAgendaEventListener that has two methods I use to log which rule started firing and when the rule completes firing with: @Override public void

Re: [rules-users] How to improve drools performance?

2011-10-12 Thread Edson Tirelli
That works. Just FYI, the same data is available through the Drools MBeans... you can use jconsole to monitor it or any other JMX console. Edson 2011/10/12 Dean Whisnant d...@basys.com You could create a listener and combine it with a log. There is