<div>I meant that I called the rule agent in such a way that I call it only once.</div>
<div> </div>
<div>I put it in a singleton.</div>
<div> </div>
<div>As far as I know the "update in place" works fine.</div>
<div> </div>
<div>Bye,</div>
<div> </div>
<div>Massi<br><br></div>
<div class="gmail_quote">On Fri, Feb 22, 2008 at 7:17 PM, Zoltan Farkas <<a href="mailto:zoly@daxtechnologies.com">zoly@daxtechnologies.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I use the url to get the rulebase, I supply a localCacheDir=. with a local folder only to cache the rulebase.<br>
The url is from a deployed package via the drools JBRMS.<br><br>I am not sure I understand what you mean by "how do u implement the ruleagent"<br><br>I use: org.drools.agent.RuleAgent and I did not implement that class...<br>
<br>I suspect there is something wrong with the "update in place" implementation, or I am doing something really wrong :-)<br><br><br>--zoly<br><br>________________________________________<br>From: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>] On Behalf Of mmquelo massi<br>
Sent: Friday, February 22, 2008 12:31 PM<br>To: Rules Users List<br>Subject: [rules-users] Re: deadlock when rules get updated?<br>
<div>
<div></div>
<div class="Wj3C7c"><br> <br>Hi,<br> <br>Sorry to reply with another question but I need it to ask u...<br> <br>Ho do u define the localDir???<br> <br>I need to use it as well and I do not know how to use it.<br> <br>Should I put the .pkg file somewhere in Jboss dir?<br>
<br>As far as concerned your issue.... how do u implement<br>the ruleagent???<br> <br>I do the same steps in order to get the rulebase but I encapsulated<br>everything within a singleton "getSession()" method.... just<br>
like the "drools insurance example".<br> <br>Did u do the same??<br> <br>Let me know.<br> <br>Massi<br><br><br></div></div>_______________________________________________<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></blockquote></div><br>