Resource scanning happens mpre than configured interval
by 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.
<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-con...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 9 months
duplicate class in drools
by Ricardo
Hello guys, thanks in advance for your attention...
I found 3 DebugWorkingMemoryEventListener (ther are lot like this but this
is one among them) class in 3 various drools jars *drools-core-6.0.1,
knowledge-api-6.0.1 and kie-api-6.0.1 * jars, which one to be use?
two from event.rule package and one from core.event package?
I am bit confusing of these duplicates names, when knowledge-api introduced
this happen now again it happens becouse of kie-api,
my questions is as follows...
*1 - what is your recommendation for this problem?
2 - Is this going to be continue for future release too? *
thanks,
-----
with kind regards,
--
View this message in context: http://drools.46999.n3.nabble.com/duplicate-class-in-drools-tp4029001.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 9 months
uploading jar into drools-repo : ERROR
by sravan k
Hi All ,
Can any one of you guys please help me ..
I am getting below exception while I'm uploading JAR into repository ,please let me know how to resolve this .
Sorry, a technical error occurred. Please contact a system administrator
---Regards,Sravan.
11 years, 9 months
Error Creating New project
by Joe White
I received this error in the drools workbench when creating a new project:
Unable to complete your request. The following exception occurred: java.lang.NoSuchMethodError:org.guvnor.common.services.project.events.NewProjectEvent.(Lorg/guvnor/common/services/project/model/Project;Lorg/uberfire/rpc/SessionInfo;)V.
The project was not created but once I refreshed the browser it showed up. Should I assume my project is corrupt or is it valid?
This is on 6.0.1 final (with the merged deployment changes).
Thanks
Joe
11 years, 9 months
how to deploy rules
by sravan k
Hi I am new to drools ,in current company we are using drools 5.0 .When ever we are creating a new rule or enabling or disabling a rule we are restarting the tomcat .is there any way for dynamic deployment ??
Kindly please suggest
---Regards,Sravan.
11 years, 9 months
named query TasksAssignedAsPotentialOwner doesn't work with MySql db
by Frank Knoll
Hi,
When I add a task (having two potential owners) by calling the method
addTask followed by calling the method getTasksAssignedAsPotentialOwner of
org.jbpm.task.service.TaskClient I expect to receive a list of TaskSummaries
containing at least the previously added task. But I actually get an empty
list!
Here is my setup and possible solution:
I am using the trunk version of
./jbpm-human-task/src/main/resources/META-INF/orm.xml and a MYSQL database.
When calling addTask the Task table will be populated with a NULL
actualOwner_id.
The named query TasksAssignedAsPotentialOwner
"select new org.jbpm.task.query.TaskSummary(...t.taskData.actualOwner...)
from ... left join t.taskData.actualOwner ..." of orm.xml generates SQL
consisting of an inner join "inner join OrganizationalEntity user7_ on
task0_.actualOwner_id=user7_.id" which doesn't take the NULL actualOwner_id
correctly into account.
When I replace the named query TasksAssignedAsPotentialOwner with
"select new org.jbpm.task.query.TaskSummary(...actualOwner...) from ...left
join t.taskData.actualOwner as actualOwner ...", then the generated SQL
consists of an "left outer join OrganizationalEntity user2_ on
task0_.actualOwner_id=user2_.id" which takes the NULL actualOwner_id
correctly into account. So I get a List of TaskSummaries containing the
added task.
Is this a correct fix?
Cheers, Frank
--
View this message in context: http://drools.46999.n3.nabble.com/named-query-TasksAssignedAsPotentialOwn...
Sent from the Drools: User forum mailing list archive at Nabble.com.
11 years, 9 months
How to do word match in drools?
by Yuan, Stacy [DBA]
For example, word sushi
I do not want sushie show up and shsushi show up when we do drools match.
Thanks
Stacy
11 years, 9 months