now i found out, that my problems are in relation to my serialized KnowledgePackages.
When i use the following code and load the drl files everything is fine ! KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(ResourceFactory.newClassPathResource(rules[i] + ".drl")), ResourceType.DRL); But this takes too long, when i used it the first time - so i want to use serialized KnowledgePackages again. So my question is: What is the right way to serialize/deserialize KnowledgePackages ? As you have seen in my posts i used standard readObject/writeObject methods. Is this the right approach ? Thanks. -- View this message in context: http://www.nabble.com/Problem-when-using-multiple-rule-files-%28Drools-5%29-tp24623347p24698087.html Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
