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 90EFD9DD79B for ; Mon, 28 Nov 2005 17:20:26 -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 46895-02-5 for ; Mon, 28 Nov 2005 17:20:21 -0400 (AST) X-Greylist: delayed 02:01:32.206729 by SQLgrey- Received: from mail.digitalfairway.ca (ns.digitalfairway.ca [207.164.133.170]) by postgresql.org (Postfix) with ESMTP id 657D99DCD0F for ; Mon, 28 Nov 2005 15:19:18 -0400 (AST) Received: from toronto.toronto.digitalfairway.ca (unknown [192.168.100.10]) by mail.digitalfairway.ca (Postfix) with ESMTP id 3A8C49511A for ; Mon, 28 Nov 2005 14:19:19 -0500 (EST) Received: from localhost (toronto.toronto.digitalfairway.ca [127.0.0.1]) by toronto.toronto.digitalfairway.ca (Postfix) with ESMTP id E7E32B69C5 for ; Mon, 28 Nov 2005 14:19:18 -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 11846-04 for ; Mon, 28 Nov 2005 14:19:18 -0500 (EST) Received: from [192.168.100.50] (unknown [192.168.100.50]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by toronto.toronto.digitalfairway.ca (Postfix) with ESMTP id C73A4B65FB for ; Mon, 28 Nov 2005 14:19:18 -0500 (EST) From: Jan de Visser To: pgsql-jdbc@postgresql.org Subject: Re: pgsql XA with weblogic 8.1? Date: Mon, 28 Nov 2005 14:19:15 -0500 User-Agent: KMail/1.8.3 References: <200511281217.39287.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: <200511281419.15721.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/217 X-Sequence-Number: 14315 On Monday 28 November 2005 12:39, Kris Jurka wrote: > On Mon, 28 Nov 2005, Jan de Visser wrote: > > Any of you have experience yet using Heikki's newfangled XA > > implementation with weblogic 8.1? I'm getting the exception below. > > > > ERROR: Could not establish connection with database core > > Nested exception: <> > > Unexpected exception while enlisting XAConnection java.sql.SQLException: > > XA error: XAER_RMERR : A resource manager error has occured in the > > transaction branch start() failed on resource 'dfc.core': XAER_RMERR : A > > resource manager error has occured in the transaction branch > > org.postgresql.xa.PGXAException: suspend/resume and join not implemented > > at org.postgresql.xa.PGXAConnection.start(PGXAConnection.java:10= 3) > > I don't use weblogic, but you might try addding either or both of these > parameters: > > http://e-docs.bea.com/wls/docs90/wlsmbeanref/core/index.html > JDBCXAParamsBean.XaEndOnlyOnce > JDBCXAParamsBean.KeepXaConnTillTxComplete Thanks, but that didn't work. It seems that wl calls a start( xid, TMRESUME ) (or TMJOIN, but I guess=20 TMRESUME would make more sense) even though it never called end( xid,=20 TMSUSPEND ) before (this is from browsing the driver code).=20 Would it make sense to silently ignore a TMRESUME if the same xid is still= =20 active? I can cook up a patch... > > Kris Jurka JdV!! =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-------------------------------------------------------------