aconf.setProperty("drools.agent.newInstance", "true"); -> This is telling the kagent to rebuild its internal kbase when a change in the resources is detected. Long story short, the kbase you are using in your tests is not changing because the kagent creates a new one internally. Try to use aconf.setProperty("drools.agent.newInstance", "false"); instead.

Best Regards, 


On Mon, Jan 14, 2013 at 9:04 PM, js203 <john.somers@sunlife.com> wrote:
aconf.setProperty("drools.agent.newInstance", "true");




XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com