[rules-users] lock() on a RulesBase object

2009-05-05 Thread Mike Merrill
As I understand the lock() method, the rules base and all stateful sessions are 'locked' while the application does what it needs to do to update/remove/add packages to the rules base. Yet, I find that I need to additionally synchronize on the RuleBase object to achieve this behavior. Am I mi

[rules-users] refreshing rules in 4.0.7, Janino

2009-05-02 Thread Mike Merrill
Hi all, I'm seeing consistency issues when trying to refresh rules manually. I am seeing issues with sessions getting different results while I call this function in a loop. Is there a more proper way of migrating the sessions over to a rules base that has updated rules? /** * Funct