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

Esteban Aliverti esteban.aliverti at gmail.com
Tue Nov 15 12:21:25 EST 2011


.- What happens if you access the package's source URL using your browser?
Do you see all your rules there?
.- Did you actually build your package in Guvnor?

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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


2011/11/15 Michael Anstis <michael.anstis at gmail.com>

> 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
>>
>
>
> _______________________________________________
> 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/5dafd27c/attachment.html 


More information about the rules-users mailing list