All,
Just wanted to mention, I'm using version 5.0.1 of Drools.
Thanks,
Norman
From: Norman C
To: rules-users@lists.jboss.org
Sent: Sat, July 31, 2010 9:50:19 PM
Subject: Possible concurrency issue in Drools
Hi All,
I recently ran into an issue which I
Hi All,
I recently ran into an issue which I believe might point to a concurrency
issue. My server stopped processing new requests, so I did a thread dump. In
examining the dump, I found that all of the processing threads, save two, were
blocking while trying to acquire the lock in NamedEnt
Thanks for the response
Since I dont actually need to keep a count of the number of strings that
match the pattern in the list, I have changed your solution to the code
below to make it simpler.
rule "Matcher"
when
TestClass( $list : listOfStrings )
String( this matches "^a.b.*$
Try:
when
TestClass( $list : listOfStrings )
Number( $count : intValue ) from accumulate(
String( this matches "^a.b.*$" ) from $list,
count(1) )
then
// $count has number of matching strings
end
[]s
Edson
2010/7/31 ceemh3
>
>
> does anybody know
does anybody know if there is a way to do for loops in drools ?.
I am trying to loop through a list of string to see if one of the strings
matches a pattern e.g.
def listOfStrings = ['a','a.b','a.b.c']
for(String s:listOfStrings){
if(s matches "^a.b.*$"){
return true
}
}
I have written th
Thanks for the feedback!
Edson
2010/7/29 dmiller44
>
> Edson,
>
> Sorry - we just solved this. The leak isn't in Drools (which I suspected
> it
> might not be) but was in fact with java.util.concurrent.
> LinkedBlockingQueue. We were running JDK 6 Update 16 - which apparently
> suffers
Hi David,
I got it working, that was indeed the problem, i have two versions on my pc
- 5.0 & 5.1. I stupidly thought that the document was referring to all 5.x
versions.
Thanks for your reply.
Kind Regards,
James.
2010/7/30 David Sinclair
> This may be a stupid question, but are you running wit
We haven't put it up on the official download site yet, just working
on that at the moment. But here are the 5.1.0 artifacts:
https://hudson.jboss.org/hudson/job/drools/4250/artifact/trunk/target/
Mark
___
rules-users mailing list
rules-users@lists.j
On 30/07/2010 19:25, OptimusPrime wrote:
> Hi,
>
> indeed I have an error message in Eclipse since the xsd file is not
> available online (therefore no auto-completion).
>
> But it is not a blocking issue: the
> http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/exte