I get session only when I need to execute rules and I dispose them off after rules are executed.
So before executing rules, I get session, insert facts, call fireAllRules() and then dispose session in finally block. And while adding/updating rule (ie. working on new KB), there are no sessions at all. Ejaz -- 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-tp4023497p4023854.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
