[rules-users] No rules loaded when reading package from Guvnor

Michael Anstis michael.anstis at gmail.com
Tue Nov 15 12:08:24 EST 2011


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 at 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-from-Guvnor-tp3510245p3510245.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111115/2dfa9aa3/attachment.html 


More information about the rules-users mailing list