Re: [rules-users] threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory

2013-04-30 Thread Davide Sottara
Drools should lock a KB **internally** when rules are added or removed.. So either there's a bug in the rebuilding process - which should be possible to isolate even in a single threaded environment, by finding the "right" sequence of modifications - or there's a lock issue in Drools, which allows

Re: [rules-users] threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory

2013-04-30 Thread mohdejaz74
There was indeed a leak in locking. I have three operations - add, del, exec rules. add and delete were atomic but exec was not. Before getting reference to KB in exec rules, I made sure add/del were not accessing KB ... but I need lock KB even when rules are executing and release the lock when ru

[rules-users] Drools Guvnor - Testing rules

2013-04-30 Thread Alan
Hi guys, I'm validating some features of Drools Guvnor and I would like to have some directions. We've got a project that has a lot of rules(its not on drools already, but we pretend to migrate it) and we would like to use Drools Guvnor to host those rules and run some analysis on it. I've seen s

Re: [rules-users] Knowledge Agent/Knowledge Base Best Practice

2013-04-30 Thread Davide Sottara
Could you please be a bit more specific about the troubles you are having, or post the code you're using to create the KB and KSessions? The KnowledgeAgent "manages" a Knowledge Base, so any update will be reflected on that KB. The changes will then be automatically reflected on any KSession genera

[rules-users] KnowledgeAgent to update knowledge base built with Guvnor pkg

2013-04-30 Thread riri
Hello everyone, I am trying to take advantage of the automatic uploading that the KnowledgeAgent provides and am using the 5.5.Final Drools version. The Drools Expert documentation states that one can use an existing knowledge base to create an agent, and the agent will subscribe to the resources

Re: [rules-users] Problem migrating from newClassPathResource to newUrlResource

2013-04-30 Thread abhinay_agarwal
Taking the question to Top of the list Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Problem-migrating-from-newClassPathResource-to-newUrlResource-tp4023490p4023590.html Sent from the Drools: User forum mailing list archive at Nabble.com. __