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
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
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
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.
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
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
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
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:
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
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
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
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
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
___
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
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo