Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 27655 invoked from network); 29 Feb 2008 05:59:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 05:59:26 -0000 Received: (qmail 3414 invoked by uid 500); 29 Feb 2008 05:59:21 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 3396 invoked by uid 500); 29 Feb 2008 05:59:20 -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 3387 invoked by uid 99); 29 Feb 2008 05:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 21:59:20 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sahlolbey@gmail.com designates 72.14.214.224 as permitted sender) Received: from [72.14.214.224] (HELO hu-out-0506.google.com) (72.14.214.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 05:58:44 +0000 Received: by hu-out-0506.google.com with SMTP id 34so4293681hud.16 for ; Thu, 28 Feb 2008 21:58:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; bh=9aDl2444GGf45TC8wLa5VjBEkY0ch7qvBZHTXGea6dw=; b=PFj176HVNm/uoF2p5kyYyc6qDL0+fUvmXYaHD2yolDuzZhjWEce2PN4zH79cVDrSka6OF963FdcNrC79hn+aRFzoFoFQKfhIi8eJgiUBvHq+mjNxUdgjYyKpCfwq/5yWsMEJijwVRwPsBEA6324kS6kxVw9coBNoSag8Ui5rwec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; b=MYMBBlqngtlsW4umArDbI2LiQQzZDeAKsw1xb7XXXWy8oFzJ3zQ79POR8miD8Zyy3xH5SwcqGezq9ZaQdZScbppcS0pSJ+pq2D2gcj0LTWtWFmyaeMLCtiYGSY5AAefTIKRXbPyLAQsbUeexpOR69E2EErFPQn8LU+wepG36dB0= Received: by 10.86.26.11 with SMTP id 11mr9761667fgz.74.1204264733190; Thu, 28 Feb 2008 21:58:53 -0800 (PST) Received: from hamidreza ( [85.133.195.20]) by mx.google.com with ESMTPS id e11sm8903717fga.5.2008.02.28.21.58.49 (version=SSLv3 cipher=RC4-MD5); Thu, 28 Feb 2008 21:58:52 -0800 (PST) From: "Hamid Reza Sahlolbey" To: References: <15739597.post@talk.nabble.com> Subject: RE: Jackrabbit+Hibernate_Jencks xa transactions in Spring Date: Fri, 29 Feb 2008 09:25:50 +0330 Message-ID: <000d01c87a97$bf793060$5001a8c0@hamidreza> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <15739597.post@talk.nabble.com> Thread-Index: Ach6IzMcjsu2OO7YSICdhVmLEkY3HwAdGQww X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Checked: Checked by ClamAV on apache.org Hi,=20 Can you please send us your Spring config for XA transactions? Cheers, Hamid -----Original Message----- From: jorge08 [mailto:jorcardozo@gmail.com]=20 Sent: 2008/02/28 07:31 =C8.=D9 To: users@jackrabbit.apache.org Subject: Jackrabbit+Hibernate_Jencks xa transactions in Spring I am trying to setup XA transactions in Spring to wrap up Hibernate and Jackrabbit transactions. My hibernate transactions are working, but it = seems that Jackrabbit is not joining the transaction. The following test will = not rollback when the exception is thrown. public String addFile(FileNodeType fileNode, InputStream in) throws myException { =85 getJcrDAO().save(); throw new RepositoryException("Exception thrown"); } And here is part of my Spring configuration file: =20 =20 =20 =20 =20 @driverClassName@ @driverUrl@ 5 100 0 3 5 @username@ @password@ =20 =09 =09 /org/ABC/myProj/model/UserInfo.hbm.xml ... org.hibernate.dialect.Oracle9Dialect true true 3 5 20 true org.hibernate.cache.NoCacheProvider false false =20 =20 =20 =20 =20 =20 /WEB-INF/myNodeTypes.cnd =09 true PROPAGATION_REQUIRED =09 =09 =20 =09 =09 =09 =09 ... =09 =09 =09 ... Versions: Tomcat 6.0 Hibernate 3.2 Jackrabbit 1.3.3 Jencks 1.3 Spring 2.0.1 Please help! --=20 View this message in context: http://www.nabble.com/Jackrabbit%2BHibernate_Jencks-xa-transactions-in-Sp= rin g-tp15739597p15739597.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.