Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 80F92633361 for ; Fri, 2 Jul 2010 02:44:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 46968-07 for ; Fri, 2 Jul 2010 05:43:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 33D6A632374 for ; Fri, 2 Jul 2010 02:43:57 -0300 (ADT) Received: from deluge.opencloud.co.nz ([192.168.0.16]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OUZ2V-0003cu-Qs; Fri, 02 Jul 2010 17:43:52 +1200 Message-ID: <4C2D7C97.8010908@opencloud.com> Date: Fri, 02 Jul 2010 17:43:51 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: David Kerr CC: pgsql-jdbc@postgresql.org Subject: Re: Unable to commit: transaction marked for rollback References: <20100701181528.GA97516@mr-paradox.net> In-Reply-To: <20100701181528.GA97516@mr-paradox.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_20=-0.001 X-Spam-Level: X-Archive-Number: 201007/12 X-Sequence-Number: 20677 David Kerr wrote: > Hello! > > I'm intermittantly getting this error message in a java app. > using Geronimo / Hibernate / Postgres 8.3.9 > > javax.transaction.RollbackException: Unable to commit: transaction marked for > rollback This looks like a JTA exception not a JDBC exception. i.e. something has marked the TM-managed transaction for rollback via Transaction.setRollbackOnly() This can happen for all sorts of reasons, from an explicit request from your application, through to container handling of an unexpected exception from an EJB, etc. -O