RE: [rules-users] BRMS

2007-10-18 Thread Heyns, Juan
Hello guys, I am getting some pretty erratic behavior with 4.0.1 at times. I have couple of some simple rules, sometimes when I insert objects from the my code. I get a ClassCastException with all the exception properties such as description, cause, etc. set to NULL. This problem only

Re: [rules-users] BRMS

2007-10-18 Thread Mark Proctor
most classcastexceptions come from having the wrong dependencies on the parth, particulalry MVEL. We are putting out 4.0.3 on monday, I would recommend you upgrade to this and make sure you are using all the correct dependencies. If you continue to have problems you will need to be more

Re: [rules-users] BRMS on 1.4 using Retroweaver

2007-10-18 Thread Paul Browne
Markus, Can you give me details of what you've tried to get and the errors that you're getting? I'd imagine at lot of the issues are JSF / GWT / Seam related , on top of the 1.5 v 1.4 problems. I may be able to make some suggestions when I get time - day jobs pemitting :-) On a unrelated

RE: [rules-users] firing specific rule

2007-10-18 Thread Manukyan, Sergey
Manukyan, Sergey's message received 10/17/2007 5:13 PM: Folks, I have to restate the question as didn't find the answer anywhere and have not get response to it in my previous email. Using 4.0.2. So I have a set of rules, _each_ with a specific *ruleflow-group *defined.

Re: [rules-users] firing specific rule

2007-10-18 Thread Kris Verlaenen
Sergey, In theory you can use AgendaFilters in combination with ruleflow. Note however that the agenda filter will prevent certain other activations from firing. As a result, your ruleflow could be blocked somewhere by not being able to execute certain activations: * An ruleflow group will

[rules-users] Error when deploying rules using RuleAgent

2007-10-18 Thread igor_b
I'm serializing Package object of my rules so i could deploy it, but i am having following error: org.drools.RuntimeDroolsException: org.drools.RuntimeDroolsException: ClassFieldExtractorFactory cannot have a null parent ClassLoader at

RE: [rules-users] firing specific rule

2007-10-18 Thread Manukyan, Sergey
Manukyan, Sergey wrote: Folks, I have to restate the question as didn't find the answer anywhere and have not get response to it in my previous email. Using 4.0.2. So I have a set of rules, each with a specific ruleflow-group defined. And I have a rule flow file defined. Altogether

Re: [rules-users] firing specific rule

2007-10-18 Thread Mark Proctor
Kris Verlaenen wrote: Sergey, In theory you can use AgendaFilters in combination with ruleflow. Note however that the agenda filter will prevent certain other activations from firing. As a result, your ruleflow could be blocked somewhere by not being able to execute certain activations:

RE: [rules-users] firing specific rule

2007-10-18 Thread Manukyan, Sergey
Manukyan, Sergey wrote: Manukyan, Sergey's message received 10/17/2007 5:13 PM: Folks, I have to restate the question as didn't find the answer anywhere and have not get response to it in my previous email. Using 4.0.2. So I have a set of rules, _each_ with a specific

RE: [rules-users] firing specific rule

2007-10-18 Thread Manukyan, Sergey
Kris, It looks like whatever name I choose for RuleNameEqualsAgendaFilter - it doesn't fire any rules. It may be the name of my rule I want to fire or some bogus name, just the fact that I am using it - make all rules not fire. By the way the RuleNameEqualsAgendaFilter(rule name) - makes

[rules-users] ClassCastException on session.insert(object)

2007-10-18 Thread Heyns, Juan
We are using all the dependencies that is distributed with the binary release for 4.0.1. The problem also occurs intermittently so I think we can rule out dependency problems? I figured so much... I will probably have to get more information the problem I have is that this problem has only

Re: [rules-users] Binding\synchronization between jboss\jbrms and eclipse\drool...

2007-10-18 Thread Mark Proctor
mmquelo massi wrote: Hi there, I am a computer science student and I am writing my final thesis on Open-source BRMSs. Sorry for cross posting, I did not know which Mailing list was the most appropriate for my questions... I downloaded the Drools *drools-4.0.2-eclipse.zip* file, I

[rules-users] Snapshot version?

2007-10-18 Thread mmquelo massi
Hi again everybody! What's the difference between the SNAPSHOT drools and the non-SNAPSHOT drool??? Is it like a beta version?? I guess It is a really stupid question but I am a novice and I need to ask u this. Thank YOU AGAIN!!! Massi ___

Re: [rules-users] firing specific rule

2007-10-18 Thread Mark Proctor
Manukyan, Sergey wrote: Kris, It looks like whatever name I choose for *RuleNameEqualsAgendaFilter -- *it doesn't fire any rules. It may be the name of my rule I want to fire or some bogus name, just the fact that I am using it -- make all rules not fire. By the way the

Re: [rules-users] firing specific rule

2007-10-18 Thread Mark Proctor
Manukyan, Sergey wrote: Sergey, In theory you can use AgendaFilters in combination with ruleflow. Note however that the agenda filter will prevent certain other activations from firing. As a result, your ruleflow could be blocked somewhere by not being able to execute certain

Re: [rules-users] Snapshot version?

2007-10-18 Thread Mark Proctor
mmquelo massi wrote: Hi again everybody! What's the difference between the SNAPSHOT drools and the non-SNAPSHOT drool??? SNAPSHOTS are released by the build server every time a commit successful builds. So they are released continually as we develop. Is it like a beta version?? I guess

[rules-users] RE: firing specific rule

2007-10-18 Thread Matt Geis
I ran into this unexpected behavior as well. I took a look at the Drools source and found that the rule filters filter out rules that MEET the criteria (unlike the java Filename Filter, which filters out those that do NOT meet the criteria. So, if you want to run a VERY specific rule, you

Re: [rules-users] firing specific rule

2007-10-18 Thread Scott Reed
Mark Proctor's message received 10/18/2007 12:07 PM: Manukyan, Sergey wrote: Kris, It looks like whatever name I choose for *RuleNameEqualsAgendaFilter – *it doesn’t fire any rules. It may be the name of my rule I want to fire or some bogus name, just the fact that I am using it – make

[rules-users] variable instance check?

2007-10-18 Thread Eric Miles
In java, I can check to see if a 2 variables references the same instance as such: Object a = new Object(); Object b = a; a == b Is there a way to do this in Drools? For instance, if there is an object in working memory and it is a specific instance, I do not want to fire the rule

Re: [rules-users] variable instance check?

2007-10-18 Thread Edson Tirelli
Eric, For now, the way to do identity checks is to use an inline eval: when $a : Fact() $b : Fact( eval( $a == $b ) ) then // $a and $b are identical end []s Edson 2007/10/18, Eric Miles [EMAIL PROTECTED]: In java, I can check to see if a 2 variables references the

RE: [rules-users] firing specific rule

2007-10-18 Thread Manukyan, Sergey
By the way, I see value of the AgendaFilter to be eliminated and use instead Predicate interface from apache commons collections: http://commons.apache.org/collections/apidocs/org/apache/commons/collect ions/Predicate.html as the API that supports Predicate logic is pretty rich and afford

Re: [rules-users] firing specific rule

2007-10-18 Thread Mark Proctor
Scott Reed wrote: Mark Proctor's message received 10/18/2007 12:07 PM: Manukyan, Sergey wrote: Kris, It looks like whatever name I choose for *RuleNameEqualsAgendaFilter – *it doesn’t fire any rules. It may be the name of my rule I want to fire or some bogus name, just the fact that I

[rules-users] Initialize a fact

2007-10-18 Thread drools_user
Hi, How do I initialize a global fact in the drl file? I do not want to use the Drools API in order to better use the JSR94 API. # global variable global List objectList ; # Part that does not work objectList = new ArrayList() ; # rule rule list-rule when then