X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4A6E59DCADF for ; Tue, 29 Nov 2005 10:55:45 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33070-04 for ; Tue, 29 Nov 2005 10:55:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.digitalfairway.ca (ns.digitalfairway.ca [207.164.133.170]) by postgresql.org (Postfix) with ESMTP id D854F9DCA9F for ; Tue, 29 Nov 2005 10:55:41 -0400 (AST) Received: from toronto.toronto.digitalfairway.ca (unknown [192.168.100.10]) by mail.digitalfairway.ca (Postfix) with ESMTP id D7E08A0603 for ; Tue, 29 Nov 2005 09:55:43 -0500 (EST) Received: from localhost (toronto.toronto.digitalfairway.ca [127.0.0.1]) by toronto.toronto.digitalfairway.ca (Postfix) with ESMTP id 9A7A4B6A01 for ; Tue, 29 Nov 2005 09:55:43 -0500 (EST) Received: from toronto.toronto.digitalfairway.ca ([127.0.0.1]) by localhost (toronto.toronto.digitalfairway.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12302-01 for ; Tue, 29 Nov 2005 09:55:43 -0500 (EST) Received: from [192.168.0.101] (CPE00119557f5ec-CM000f9faa78f6.cpe.net.cable.rogers.com [70.24.152.86]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by toronto.toronto.digitalfairway.ca (Postfix) with ESMTP id 7082BB69D9 for ; Tue, 29 Nov 2005 09:55:43 -0500 (EST) From: Jan de Visser To: pgsql-jdbc@postgresql.org Subject: Re: pgsql XA with weblogic 8.1? Date: Tue, 29 Nov 2005 09:55:42 -0500 User-Agent: KMail/1.8.3 References: <200511281217.39287.jdevisser@digitalfairway.com> <200511281506.39492.jdevisser@digitalfairway.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511290955.42921.jdevisser@digitalfairway.com> X-Virus-Scanned: amavisd-new at digitalfairway.ca X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/226 X-Sequence-Number: 14324 On Tuesday 29 November 2005 00:50, Kris Jurka wrote: > On Mon, 28 Nov 2005, Jan de Visser wrote: > > Well, that wasn't it. I debugged a bit, and it turns out that WL sends a > > start(xid,TMJOIN) when committing entity EJBs. Don't ask me why (I'm not > > an XA expert by any stretch of the imagination). What I did is took the > > pragmatic approach, and allow a TMJOIN if the connection is in > > STATE_ENDED and if the xid is the same as the current xid. This seems to > > work. > > What's the order of calls made? > > start(xid, TMNOFLAGS) > end(xid, TMSUCCESS) > start(xid, TMJOIN) > prepare(xid) > commit(xid, false) I believe that this is the case. > > or does the start call only happen once, with TMJOIN instead of TMNOFLAGS. > It's tough to get an idea of what calls are actually being made and on > which connections. Any chance you could send us a log trace using > Oliver's new logging code in 8.2dev with loglevel=3D2? Will attempt to do this later this week. Am out of the office today and=20 tomorrow. > > Kris Jurka =2D-=20 =2D------------------------------------------------------------- Jan de Visser =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 jdevisser@digitalfair= way.com =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Baruk Khazad! Khazad ai-menu! =2D-------------------------------------------------------------