We are going to need some test to replicate this, if we are to fix it, unless someone else can track down the issue.

Mark
toddp2 wrote:
I ran into the same issue running JMeter recently.  I am getting the same
stack trace.  I checked my version and I am using 4.0.7 of Drools.  Was this
resolved by going to 4.0.7 for you?  Is there anything else to check? 

Todd


   



   You must update to 4.0.7. You are probably facing the issues we had in
4.0.3.

   []s
   Edson

2008/5/7 Barath <barathguna@gmail.com>:

  
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>: