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-tp378...
Sent from the Drools: User forum mailing list archive at
Nabble.com.