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

2014-03-31 Thread san_hegde
Thank you laune,  
Yes, there are multiple scanners running. Actually problem is out spring
context xml file is being loaded multiple times and that's why multiple
scanners are getting instantiated.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Resource-scanning-happens-mpre-than-configured-interval-tp4029038p4029044.html
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


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

2014-03-31 Thread san_hegde
Thank you laune,  
Yes, there are multiple scanners running. Actually problem is out spring
context xml file is being loaded multiple times and that's why multiple
scanners are getting instantiated.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Resource-scanning-happens-mpre-than-configured-interval-tp4029038p4029043.html
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


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

2014-03-31 Thread Wolfgang Laun
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  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.
>
>
>
> 
>
>
>
>
>
> 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 
> archiveat 
> Nabble.com.
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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

2014-03-31 Thread san_hegde
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.




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.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users