Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C7C1A9E3C for ; Mon, 25 Jun 2012 06:13:03 +0000 (UTC) Received: (qmail 10457 invoked by uid 500); 25 Jun 2012 06:13:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 10418 invoked by uid 500); 25 Jun 2012 06:13:03 -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 10410 invoked by uid 99); 25 Jun 2012 06:13:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 06:13:03 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.8.61.8] (HELO spamslammer2.tirol.gv.at) (194.8.61.8) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 06:12:56 +0000 From: =?iso-8859-1?Q?K=D6LL_Claus?= To: "dev@jackrabbit.apache.org" Date: Mon, 25 Jun 2012 08:12:15 +0200 Subject: XA help needed ... Thread-Topic: XA help needed ... Thread-Index: Ac1SmCOAJ44xTuvzTquzmNcgbRYK9w== Message-ID: <89934884426A01458CBE55947B042D7223B6234A60@EXCHMCA.tirol.local> Accept-Language: de-DE, de-AT Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, de-AT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi ... I found a "problem" within a xa environment and i don't know how to solve i= t or=20 if it is possible to solve. We have two J2EE Applications runnig on different AppServers and both have = a Jackrabbit=20 Cluster Member instance running via JCA (as XAResource). The Jackrabbit Cluster is configured to use a DB Journal. So the problem is now if App1 adds a Node, then calls App2 and this also ad= d a Node inside a global Transaction. While preparing the global Transaction, JCR on App1 creates a global Lock o= n DB (Global Revision Table). App2 tries also to prepare the transaction but it can't add a DB Lock because App1 holds it now. App1 would free the L= ock on commit ... so we have a global Deadlock. Is it possible to create the Lock on the Global Revison Table only in one p= hase (commit phase) and not spanned over prepare and commit ? thanks for any help claus