I think I see the problem - though I haven't been able to test it with
guvnor.

Property Reactivity is resolved at compile time, when the package is built.

When you load the DRL, you set PropertyReactive.ALWAYS in the (local)
KnowledgeBuilder, so it will consider all classes as PR.

However, afaik there is no way to do the same in Guvnor, so its (remote)
builder will create the Packages as if the classes were NOT
PropertyReactive.

Could you try to annotate the model classes with @PropertyReactive before
you load the jar in guvnor?

Davide


On 02/25/2014 11:53 PM, gboro54 wrote:
> test-drools.zip
> <http://drools.46999.n3.nabble.com/file/n4028329/test-drools.zip>  
>
> Here is a sample project which shows the issue. You can build the project as
> the fact model and upload the drl into guvnor
>
>
>
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Drools-5-6-0-Final-PKG-vs-DRL-infinite-loop-tp4028318p4028329.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to