<p>Yay, at long last a Java Stack Trace :)</p>
<p>This is a known problem, but one I believe has been fixed for 5.4.0.beta1 - correct me if I am wrong esteban.</p>
<p>sent on the move</p>
<p>On 17 Jan 2012 07:22, &quot;Senthil K&quot; &lt;<a href="mailto:kris.senthilkumar@gmail.com">kris.senthilkumar@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">
Thank you Manstis..I&#39;m able to retrieve the packages and rulenames through<br>
ChangeSet.I verified that example(Mortgages).But,When I delete a rule in<br>
guvnor,the change is not getting reflecting in my Java code..I think the<br>
ResourceScanner is unable to start the service.Here is the following<br>
exception I&#39;m getting when i add the below lines<br>
ResourceChangeScannerConfiguration sconf=<br>
<br>
ResourceFactory.getResourceChangeScannerService().newResourceChangeScannerConfiguration();<br>
<br>
sconf.setProperty(&quot;drools.resource.scanner.interval&quot;, &quot;30&quot;);<br>
<br>
ResourceFactory.getResourceChangeScannerService().configure(sconf);<br>
<br>
<br>
ResourceFactory.getResourceChangeNotifierService().start();<br>
<br>
ResourceFactory.getResourceChangeScannerService().start();<br>
*This is exception I&#39;m getting*<br>
Exception in thread &quot;Thread-3&quot; java.lang.IllegalStateException: reader does<br>
have a modified date<br>
        at<br>
org.drools.io.impl.ReaderResource.getLastModified(ReaderResource.java:64)<br>
        at<br>
org.drools.io.impl.ResourceChangeScannerImpl.scan(ResourceChangeScannerImpl.java:166)<br>
        at<br>
org.drools.io.impl.ResourceChangeScannerImpl$ProcessChangeSet.run(ResourceChangeScannerImpl.java:311)<br>
        at java.lang.Thread.run(Thread.java:662)<br>
After starting Notification service<br>
After rule engine start<br>
no of packages1<br>
This is : pricing Packages and  RuleName is ageprice<br>
This is : pricing Packages and  RuleName is incomeprice<br>
This is : pricing Packages and  RuleName is cpvprice<br>
<br>
<br>
How to scan changes in that ChangeSet.Did my Java code went wrong??Can you<br>
please help me out this..Please<br>
Thanks<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Application-Guvnor-integration-tp3655924p3665380.html" target="_blank">http://drools.46999.n3.nabble.com/Application-Guvnor-integration-tp3655924p3665380.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>