[rules-users] Resource scanning happens mpre than configured interval

san_hegde santhosh.hegde at hp.com
Mon Mar 31 11:19:17 EDT 2014


Hi,

I have configured Resource Scanner to scan at the interval of 3600 seconds(1 hr). But it actually scans 3 times in the duration of one hour.

My configuration  is as below.

<drools:resource-change-scanner id="s1" interval="3600" />


When I checked the log file it actually scans 4 times in a hour.

Log is as below.

[2014-03-23 17:30:09,338:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 17:30:09,434:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 17:30:09,435:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 17:30:09,442:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 17:52:37,647:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 17:52:37,694:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 17:52:37,694:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 17:52:37,713:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 18:30:09,872:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 18:30:09,988:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 18:30:09,989:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 18:30:10,011:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 18:52:38,132:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 18:52:38,240:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 18:52:38,240:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 18:52:38,247:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 19:30:10,425:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 19:30:10,454:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 19:30:10,454:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 19:30:10,464:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 19:52:38,676:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 19:52:38,771:debug] ResourceChangeScanner thread is waiting for 3600 seconds.
[2014-03-23 19:52:38,771:debug] ResourceChangeScanner attempt to scan 1 resources
[2014-03-23 19:52:38,796:debug] ResourceChangeScanner thread is waiting for 3600 seconds.

Any idea on why its not scanning only once in a hour..

Thank you
Santosh Hegde A





--
View this message in context: http://drools.46999.n3.nabble.com/Resource-scanning-happens-mpre-than-configured-interval-tp4029038.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140331/214edaa1/attachment.html 


More information about the rules-users mailing list