[rules-users] Drools Execution Server Executing Twice

jgautier julian.gautier at clearcapital.com
Mon Apr 19 11:48:14 EDT 2010


Hi All, 

I have created a rule in guvnor that acts on one model.  When the rule is
executed there is a value added to a global ArrayList object.  I can verify
that this rule is executing once when running a test scenario in guvnor.  I
have also created a java application to test the execution which also
verifies it is running once.  However when running the package through the
drools execution server VIA xml the response I get shows two values in my
global arraylist even though there is only one object and one rule.  I have
also added a println to the rule and when executing via the test scenario in
guvnor i see one line printed to the console.  when executing it as  the
webservice i see 2 lines printed to the console.  Does anyone else have a
similar issue to this?  I have found this issue on the issue tracker
https://jira.jboss.org/jira/browse/GUVNOR-354 but it looks like this person
resovled the issue by ignoring duplicates in their return response which
seems like an unacceptable solution.  Thanks for your response! 

jgautier
-- 
View this message in context: http://n3.nabble.com/Drools-Execution-Server-Executing-Twice-tp729952p729952.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list