hi Darko.<br><br>No that is optimistic locking. When they are opened there is no lock or anything. The second one failed cause it was stale data. <br><br>To do more aggressive locking would be trickier (as they you have to have a means to unlock things). There could be a more active type thing that warns people someone has something open (but of course its stateless, so its only &quot;best guess&quot;). This is like 
99.9% of other apps out there, you have to make a decision on how to treat this locking scenario. Would be interested to discuss more about it though, as it is something that you are interested in.<br><br>This is all talking about a single BRMS server, with muliple clients. 
<br><br>If you mean multiple BRMS instances, then more work needs to be done to configure jackrabbit to share indexes etc. Is that what you mean? <br><br>Michael.<br><br><div class="gmail_quote">On Nov 22, 2007 10:15 PM, Darko IVANCAN &lt;
<a href="mailto:ivancan@gmx.de">ivancan@gmx.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">JBoss AS 4.0.5<br>JBoss Drools 
4.0.3<br>JDK 1.5.13<br><br>Hi,<br><br>I&#39;m evaluating JBoss Drools and wanted to check the locking capabilities<br>in the BRMS, to see it the BRMS can be used on a cluster, i.e. multiple<br>BRMSs one DB-Server.<br><br>
So I started first on one single machine, just to check the locking<br>capabilities:<br>Started BRMS, logged in using FireFox and Logged in using Safari.<br>1) Open one (and the same) rule in both session<br>2) edit and save rule in one session
<br>3) edit and save rule in another session<br>=&gt; error<br><br>So, from what I see there is no locking mechanism in the BRMS.<br>As from what I see in JackRabbit, it does support transactions, but<br>locking seems to be needed in the BRMS itself, 
i.e. one layer above<br>JackRabbit.<br><br>My question, and maybe someone can answer/confirm these spending some of<br>his valuable minutes:<br>1) Is locking included or on the roadmap ?<br>2) Did I miss a configuration parameter to enable locking ?
<br>3) How can stale-locks be cleaned ? Admin-only?<br><br>Thanks a lot for your valuable input and thanks for this great product,<br><font color="#888888">Darko Ivancan<br>_______________________________________________<br>
rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev
</a><br></font></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com
</a>