[rules-users] KnowledgeAgent Changeset problems

albertorugnone arugnonechemical at gmail.com
Wed Feb 29 08:35:51 EST 2012


here again,
I tried to change url in a directory in this way


kagent.applyChangeSet(ResourceFactory.newUrlResource("file://Z:/WSP/drools-test/src/main/java/com/sample"));
		kagent.setSystemEventListener(new PrintStreamSystemEventListener());
		StatefulKnowledgeSession ksession = kagent.getKnowledgeBase()
													.newStatefulKnowledgeSession();

		ksession.setGlobal("service", new Service());

rule1.drl file is in the directory sample.
The KnowledgeAgenda seems wait few seconds then the exception is raised
again.
There is a new anyway, the application do not stop. Why?

Thank you for any help

--
View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3787278.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list