Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 2088 invoked from network); 14 Mar 2007 12:31:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 12:31:40 -0000 Received: (qmail 64072 invoked by uid 500); 14 Mar 2007 12:31:47 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 64039 invoked by uid 500); 14 Mar 2007 12:31:47 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 64030 invoked by uid 99); 14 Mar 2007 12:31:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 05:31:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.183.235.197] (HELO mailer.denali.be) (194.183.235.197) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 05:31:36 -0700 Received: from localhost (localhost [127.0.0.1]) by mailer.denali.be (Postfix) with ESMTP id 6F37614E104C for ; Wed, 14 Mar 2007 13:31:12 +0100 (CET) Received: from mailer.denali.be ([127.0.0.1]) by localhost (mailer.internal.denali.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09605-08 for ; Wed, 14 Mar 2007 13:30:52 +0100 (CET) Received: from [192.168.169.136] (unknown [192.168.169.136]) by mailer.denali.be (Postfix) with ESMTP id 65FBD14E101D for ; Wed, 14 Mar 2007 13:30:50 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <510143ac0703140155r54caaf58h7cfc17500bdd36e4@mail.gmail.com> References: <45F7B6AD.70101@gmx.net> <510143ac0703140155r54caaf58h7cfc17500bdd36e4@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Olivier Dony Subject: Re: Possible deadlock of jcr-server 1.2.1 (rmi) Date: Wed, 14 Mar 2007 13:30:59 +0100 To: dev@jackrabbit.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: by amavisd-new at denali.be X-Virus-Checked: Checked by ClamAV on apache.org Hi, For the record I've created JCR-790 and attached the thread dump and Marcel's lock explanation. Miro's workaround of putting an additional level of synchronization on all write operations on the repository is not quite suitable in our case. Not only because of the performance hit, but we will soon need to load-balance the backoffice application too, and implementing an additional cross-application synchronization mechanism does not really make sense. As for this specific deadlock, it seems that it comes from the fact that a new versionable node is being initialized while another one is being saved. I suppose it may not be a good idea to fix this with a hack if a bigger redesign is needed. However if that redesign is only coming in several months, a little hack might be ok for a while ;-) It really depends on the frequency of occurrence, so we'll see how it goes for us and if we can gather more info. Thanks for the quick answers! -- Olivier Dony Denali s.a., "Bridging the gap between Business and IT" Rue de Clairvaux 8, B-1348 Louvain-la-Neuve, Belgium Office: +32 10 43 99 51 Fax: +32 10 43 99 52 www.denali.be Legal Notice: This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message by mistake, please advise the sender immediately by return e-mail and delete this message from your system. Thank you for your cooperation.