Even when you get the exception?
In other words, do you only have a single thread manipulating the
Knowledgebase
in your production environment?
I would implement Before/AfterKnowledgeBaseUnlocked and
Before/AfterKnowledgePackageAdded
to be 100% sure.
If the race condition can be excluded, I'll focus on the rebuild process
Thanks!



On 05/08/2013 01:11 PM, mohdejaz74 wrote:
> This is the order
>
> - beforeKnowledgeBaseLocked
> - afterKnowledgeBaseLocked
> - beforeRuleAdded or beforeRuleRemoved
> - afterRuleAdded or afterRuleRemoved
>
> It is same thread which does all four operations
>
>
>
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/threw-error-java-lang-ClassCastException-org-drools-reteoo-FromNode-FromMemory-cannot-be-cast-to-orgy-tp4023497p4023735.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