Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 77796 invoked from network); 24 May 2006 08:48:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2006 08:48:28 -0000 Received: (qmail 77279 invoked by uid 500); 24 May 2006 08:48:28 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 77191 invoked by uid 500); 24 May 2006 08:48:28 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 77182 invoked by uid 99); 24 May 2006 08:48:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 01:48:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 May 2006 01:48:27 -0700 Received: (qmail invoked by alias); 24 May 2006 08:48:05 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.76]) [212.249.34.130] by mail.gmx.net (mp001) with SMTP; 24 May 2006 10:48:05 +0200 X-Authenticated: #894343 Message-ID: <44741DBD.1000801@gmx.net> Date: Wed, 24 May 2006 10:47:57 +0200 From: Marcel Reutegger User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: XA Transaction issue References: <4472EF8F.4040108@gmx.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm sorry but I have no idea what causes this. Is it because your datasource is already enlisted with a tx monitor? It's really just a wild guess... regards marcel Ramesh Anand wrote: > Hi Marcel, > Thanks ! > I am trying to make use of an existing datasource inside the > jackrabbit. So, I modified the SimpleDBPersistenceManager to access > the existing datasource. Now I am getting the following error : > > > An illegal attempt to use multiple resources that have only one-phase > capability has occurred within a global transaction. > Method enlist caught > com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException: > Illegal attempt to enlist multiple 1PC XAResources > > FYI: I am using Type 2 db2 drive on Websphere. > > Is there anyway I can rectify this issue. > > Regards > Ramesh > > > On 5/23/06, Marcel Reutegger wrote: >> Ramesh Anand wrote: >> > Hi All, >> > Is there any way I can get the SimpleDBPersistenceManager to run >> > non-XA transaction database queries ? >> >> afaik, all database access in the >> SimpleDBPersistenceManager is non-XA. It's jackrabbit that exposes the >> JCR >> Session as XA resource. >> >> regards >> marcel >> > >