<div dir="ltr"><br> If you are running 4.0.7 and using the proper MVEL dependecy lib, you should not be facing any concurrency problem, assuming you are sharing the rulebase but not the session.<br><br> []s<br> Edson<br>
<br><div class="gmail_quote">2008/9/4 toddp2 <span dir="ltr"><<a href="mailto:tpatch@loftware.com">tpatch@loftware.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I ran into the same issue running JMeter recently. I am getting the same<br>
stack trace. I checked my version and I am using 4.0.7 of Drools. Was this<br>
resolved by going to 4.0.7 for you? Is there anything else to check?<br>
<br>
Todd<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
<br>
<br>
You must update to <a href="http://4.0.7." target="_blank">4.0.7.</a> You are probably facing the issues we had in<br>
<a href="http://4.0.3." target="_blank">4.0.3.</a><br>
<br>
[]s<br>
Edson<br>
<br>
2008/5/7 Barath <<a href="mailto:barathguna@gmail.com">barathguna@gmail.com</a>>:<br>
<br>
><br>
> Edson,<br>
> I am using 4.0.3 version.<br>
><br>
> In my code,<br>
> * For each thread new rule base and StatefulSession is created.<br>
> * Then why i am getting the previously mentioned exceptions(which i<br>
> posted<br>
> in the first message) for few threads only while other works fine.<br>
> * Your suggestions please,<br>
> " 1 . Am i getting this error bcoz of the global list? or any other<br>
> reason?<br>
> 2 . How to solve this problem?"<br>
><br>
> ~Barath.<br>
><br>
><br>
> Edson Tirelli-3 wrote:<br>
> ><br>
> > Barath,<br>
> ><br>
> > What version of drools are you using?<br>
> ><br>
> > The drools rulebase is designed to be shared among multiple threads.<br>
> > The<br>
> > working memory (session) is not.<br>
> > Having said that, we had a couple bugs in the past regarding<br>
> > multi-thread<br>
> > environments, and so you must use 4.0.7 version that is about to be<br>
> > released. For you test, while you wait for the official release, you can<br>
> > checkout the code and built it from here:<br>
> ><br>
> > <a href="http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/" target="_blank">http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/</a><br>
> ><br>
> > []s<br>
> > Edson<br>
> ><br>
> > 2008/5/5 Barath <<a href="mailto:barathguna@gmail.com">barathguna@gmail.com</a>>:<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Can-i-use-drools-in-multithreaded-environment--tp17053936p19310976.html" target="_blank">http://www.nabble.com/Can-i-use-drools-in-multithreaded-environment--tp17053936p19310976.html</a><br>
</font><div><div></div><div class="Wj3C7c">Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>