To help isolate the problem, what happens if you try the same but without Spring?<br><br>i.e. You use the KnowledgeAgent to retrieve the package from Guvnor, create a session, insert facts, fireAllRules etc?<br><br><div class="gmail_quote">
On 15 November 2011 16:41, sgo <span dir="ltr">&lt;<a href="mailto:simon.goumaz@elca.ch">simon.goumaz@elca.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello all,<br>
<br>
I&#39;m a semi-beginner with Drools and am having an issue I haven&#39;t found<br>
reported elsewhere.<br>
I have a package defined in Guvnor, with model imported from JAR, one<br>
global, a dozen rules and a couple of test scenarios. The package is loaded<br>
from the binary published by Guvnor via a knowledge agent into my stateless<br>
session (defined in Spring beans), but no rules ever fire. (Note that rules<br>
do fire as expected in my Guvnor test scenarios.) When investigating in<br>
debug mode, I see the package is properly loaded, with imported type<br>
definitions and global, but no rule is in there! The package&#39;s rules table<br>
is empty and I really have no clue why (I initially thought my rule<br>
definitions could be the cause and created a minimal test package with just<br>
one simple rule but with no success.)<br>
<br>
Could anyone point to possible causes for this?<br>
<br>
Many thanks in advance.<br>
<br>
Simon<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/No-rules-loaded-when-reading-package-from-Guvnor-tp3510245p3510245.html" target="_blank">http://drools.46999.n3.nabble.com/No-rules-loaded-when-reading-package-from-Guvnor-tp3510245p3510245.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></span></blockquote></div><br>