To help isolate the problem, what happens if you try the same but without
Spring?
i.e. You use the KnowledgeAgent to retrieve the package from Guvnor, create
a session, insert facts, fireAllRules etc?
On 15 November 2011 16:41, sgo <simon.goumaz(a)elca.ch> wrote:
Hello all,
I'm a semi-beginner with Drools and am having an issue I haven't found
reported elsewhere.
I have a package defined in Guvnor, with model imported from JAR, one
global, a dozen rules and a couple of test scenarios. The package is loaded
from the binary published by Guvnor via a knowledge agent into my stateless
session (defined in Spring beans), but no rules ever fire. (Note that rules
do fire as expected in my Guvnor test scenarios.) When investigating in
debug mode, I see the package is properly loaded, with imported type
definitions and global, but no rule is in there! The package's rules table
is empty and I really have no clue why (I initially thought my rule
definitions could be the cause and created a minimal test package with just
one simple rule but with no success.)
Could anyone point to possible causes for this?
Many thanks in advance.
Simon
--
View this message in context:
http://drools.46999.n3.nabble.com/No-rules-loaded-when-reading-package-fr...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users