<p>A ServletContextListener might be preferable to using a JSP.</p>
<p>sent on the move</p>
<p>On 18 Jan 2013 19:17, &quot;rtanikella&quot; &lt;<a href="mailto:rtanikella@gmail.com">rtanikella@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The scanner does start, but it is not logged automatically. I started a<br>
listener via a jsp<br>
<br>
&lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=utf-8&quot; %&gt;<br>
&lt;%<br>
org.drools.SystemEventListenerFactory.setSystemEventListener(new<br>
org.drools.agent.impl.PrintStreamSystemEventListener(System.out));<br>
%&gt;<br>
<br>
and then I could see the logs.<br>
<br>
As Antonio pointed out, a) make sure that your changset resources include<br>
only POJOs, and NOT declared facts, and b) knowledge-services.xml has this<br>
entry - the attribute &quot;enabled&quot; set to true being the key here, to start the<br>
scanner.<br>
<br>
&lt;drools:resource-change-scanner id=&quot;scanner&quot; interval=&quot;60&quot; enabled=&quot;true&quot;/&gt;<br>
<br>
This also means that you don&#39;t need Antonio&#39;s JSP to start the scanner. It<br>
may however come in handy if you need to change the scan interval.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Change-Scanner-does-not-start-tp4018607p4021651.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Change-Scanner-does-not-start-tp4018607p4021651.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></p>