Here the situtation in my application (small sample application works,
i checked that, so up to 99% there's a fault in my implementation but
currently i'm stuck, maybe someone has an idea what can be wrong):
-> startProcess results in 2 Activations
-> first: Fact 1 and Fact 2 on rulenode1
-> second: Fact1 and Fact 2 on rulenode2
-> firing
-> first activation retracts fact 2, so clearly second activation has
to be canceled
so i debugged my application and i clearly see that the activation on
rulenode2 is not canceled, the ReteTuple on rulenode2 is never fetched
from the nodememory to set to cancel ...
I checked my hashCode and equality methods but they seem to be ok.
The rules resolve to a very big rete network because of complicated
conditions. The conditions of rule1 and rule2 are nearly the same.
Anyone has an idea whatelse i can check to fix this issue,
any help is appreciated,
Cheers
Markus
BTW: the only thing i can't do is show my application, i'm also sure
no one wants to see a WebSphere EAR with lots of classes ...
On Wed, Jun 18, 2008 at 2:13 PM, Kris Verlaenen
<kris.verlaenen(a)cs.kuleuven.be> wrote:
> it seems the activation for the second node is not cancelled also
i
> do a retract in the rule
The activation should have been removed from the ruleflow group. I just
tested this with a small example and I do not seem to be able to reproduce
this error, the retracted object seems to have resulted in a removal of the
activation from the ruleflow group in my example.
If you could provide me with a simple, self-contained example showing the
error (you could email it to me directly if you would like to keep it
private) I'll take a look.
Kris
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users