The time stamps have an interesting property: alternate groups of 4 lines are exactly one hour apart.

Is it quite inconceivable that you have two scanners running concurrently?

-W


On 31 March 2014 17:19, san_hegde <santhosh.hegde@hp.com> wrote:

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: Resource scanning happens mpre than configured interval
Sent from the Drools: User forum mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users