[rules-users] No errors thrown from KnowledgeAgent

Davide Sottara dsotty at gmail.com
Wed Jul 31 03:42:53 EDT 2013


The KA logs to a SystemEventListener, and supports a dedicated event
listener for
additions/updates/etc...

You can do:

kagent.setSystemEventListener( new PrintStreamSystemEventListener() );
kagent.addEventListener( new DebugKnowledgeAgentEventListener(  ) );



On 07/30/2013 01:55 AM, De Rooms Brecht wrote:
> Dear Drools users,
>
> I have been testing with the KnowledgeAgent from version 5.4 and 5.5. It 
> monitors a changeset and is set to incrementally build the 
> knowledgebase. I noticed that it sometimes crashes but never throws out 
> errors. This happens for example when I define a type two times and when 
> I remove a file. Does anyone experience similar behaviour and has an 
> idea of how I could see the errors? I already tried to check the errors 
> by building it myself using a knowledgebuilder before I update the file 
> that the knowledgeAgent monitors but that's quite a dirty solution.
>
> Kind Regards,
> De Rooms Brecht
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list