Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 96255 invoked from network); 8 Dec 2006 22:35:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 22:35:30 -0000 Received: (qmail 68236 invoked by uid 500); 8 Dec 2006 22:35:37 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 68213 invoked by uid 500); 8 Dec 2006 22:35:37 -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 68204 invoked by uid 99); 8 Dec 2006 22:35:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 14:35:37 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of savvas.triantafillou@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 14:35:26 -0800 Received: by ug-out-1314.google.com with SMTP id m3so8205252uge for ; Fri, 08 Dec 2006 14:34:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OKGkmWp2rA9IStdh7PjkE2k0l46Sbo6Y1CMS6no9yt+fBuLmfyMhg0M2AQdsLsv8Z8bJTx9EiHnYkl9KTNiIm6Bx9HiI74pplSxB1oXwYwPYyOVJfhWYE3K0DsEE8Qk6TQ07q0D+WuImhtQCBeaHB2mWCqu6yrbeLhOvOULrPko= Received: by 10.78.158.11 with SMTP id g11mr1789630hue.1165617296905; Fri, 08 Dec 2006 14:34:56 -0800 (PST) Received: by 10.78.47.3 with HTTP; Fri, 8 Dec 2006 14:34:56 -0800 (PST) Message-ID: Date: Sat, 9 Dec 2006 00:34:56 +0200 From: "Savas Triantafillou" To: dev@jackrabbit.apache.org Subject: Missing (?) code in XAEnvironment class MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_43118_18303397.1165617296648" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_43118_18303397.1165617296648 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm using version 1.1.1 and I was trying to add a lockToken of an open-scoped lock to an XASession but it seems to be ignored. While debugging, I found out that XALockManager.lockTokenAdded redirects to XAEnvironment.addLockToken which is ... empty! I've notice that XAEnvironment.removeLockToken is empty too... I have updated these methods as follows /** * Add lock token to this environment. * @param lt lock token */ public void addLockToken(String lt) { lockMgr.lockTokenAdded(session, lt); } /** * Remove lock token from this environment. * @param lt lock token */ public void removeLockToken(String lt) { lockMgr.lockTokenRemoved(session, lt); } but I would like to know if there is more than one should do. For the moment this seems to fix the problem of adding and removing lock tokens but I have the sense that there is more to do... Thank you for your time, Savvas ------=_Part_43118_18303397.1165617296648--