Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 3FD2D9FBFEC for ; Tue, 30 Oct 2007 11:39:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 88218-05 for ; Tue, 30 Oct 2007 11:39:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by postgresql.org (Postfix) with ESMTP id 6A3689FBF38 for ; Tue, 30 Oct 2007 11:39:14 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id j3so118691ugf for ; Tue, 30 Oct 2007 07:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=HeXfOzPP12rsCMIJyKcVJuGWgpbAO8URDfATC7xwhkM=; b=XgfQWh4X9WxLWHNtWaiGR1Zm1lr5B5WcdEj0j1YYjXVsv8hJkVtBYd2qFyWHIVeQPpXbRPLN8oThWpPRJuqLdUdWEAwwOmiwn0E3No/U0Mo3eouy5iycLiavczdjB/AOU0klQxj4NjqwdRaYvAylj+8h33taCf6QB4x9gUFomhk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=FJT5PVQKDDRYPwSQQtrQeL0m6/QnyOWRY8C6k2F7+XEMAF8+XZNmseUBmxfn+wAo8upw2f+97jGEQ/isUWBJanl/ZHs5xwVNBUcQJ63At6xy/Fd7g7yuP7VhgV9cLKBn5rVV7h/XfwvqIMuiiTwU2pjX/KxwrrY0EbxbABnfGSo= Received: by 10.66.218.15 with SMTP id q15mr878740ugg.1193755153152; Tue, 30 Oct 2007 07:39:13 -0700 (PDT) Received: from ?172.24.32.184? ( [62.232.55.118]) by mx.google.com with ESMTPS id c24sm9960553ika.2007.10.30.07.39.08 (version=SSLv3 cipher=RC4-MD5); Tue, 30 Oct 2007 07:39:11 -0700 (PDT) Message-ID: <4727420A.4060209@enterprisedb.com> Date: Tue, 30 Oct 2007 14:39:06 +0000 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.12 (X11/20070730) MIME-Version: 1.0 To: =?ISO-8859-1?Q?jo=EBl_Winteregg?= CC: pgsql-jdbc@postgresql.org Subject: Re: XAResource implementation References: <1193736934.5565.40.camel@hatman> In-Reply-To: <1193736934.5565.40.camel@hatman> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/179 X-Sequence-Number: 17751 joël Winteregg wrote: > I'm using Hibernate with a standalone JTA implementation (Atomikos) and > it seems I'm having troubles with pgsql-jdbc XA implementation. As I'm > not a JTA expert at all, I got help from Atomikos R&D (Thanks to Guy) > and it seems that my problem could come from jdbc implementation. Guy > from Atomikos told me to look at this post: > http://archives.postgresql.org/pgsql-jdbc/2006-10/msg00011.php > > I'm wondering if my problem is the same kind of troubles ? The full > description of my problem is available here: > http://www.atomikos.org/forums/viewtopic.php?t=1280 > > Here are advices I had from Atomikos: > It seems pgsql-jdbc don't allow what is perfectly valid XA: > 1. XAResource.start ( TMNOFLAGS) > 2. XAResource.end ( TMSUCCESS ) > 3. XAResource.start (TMJOIN ) > > > Any suggestion, tip, etc. would be appreciated ! It does seem like Atomikos is doing the same thing as WebLogic. However, that patch was committed back then in December 2006. Are you using the most recent version of the JDBC driver? -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com