Edson,
I am using 4.0.3 version.
In my code,
* For each thread new rule base and StatefulSession is created.
* Then why i am getting the previously mentioned exceptions(which i
posted
in the first message) for few threads only while other works fine.
* Your suggestions please,
" 1 . Am i getting this error bcoz of the global list? or any other
reason?
2 . How to solve this problem?"
~Barath.
Edson Tirelli-3 wrote:
Barath,
What version of drools are you using?
The drools rulebase is designed to be shared among multiple threads.
The
working memory (session) is not.
Having said that, we had a couple bugs in the past regarding
multi-thread
environments, and so you must use 4.0.7 version that is about to be
released. For you test, while you wait for the official release, you can
checkout the code and built it from here:
http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/
[]s
Edson
2008/5/5 Barath <barathguna@gmail.com>: