Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E58D8632BF3 for ; Thu, 1 Jul 2010 15:15:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 85948-07 for ; Thu, 1 Jul 2010 18:15:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from vexbert.mr-paradox.net (vexbert.mr-paradox.net [198.145.180.174]) by mail.postgresql.org (Postfix) with ESMTP id 02F75632D8E for ; Thu, 1 Jul 2010 15:15:29 -0300 (ADT) Received: by vexbert.mr-paradox.net (Postfix, from userid 18391) id 34FE7845E9; Thu, 1 Jul 2010 14:15:28 -0400 (EDT) Date: Thu, 1 Jul 2010 11:15:28 -0700 From: David Kerr To: pgsql-jdbc@postgresql.org Subject: Unable to commit: transaction marked for rollback Message-ID: <20100701181528.GA97516@mr-paradox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_20=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/1 X-Sequence-Number: 20666 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 Can someone give me a scenario where this would happen? "unable to commit" makes everyone immediatly go to database issue. But it seems like an app issue to me. I was thinking that maybe it's a 2 phase commit / XA or something like that. (TX open, phase 1 commit fails, phase 2 commit throws this error?) I can't imagine how this would happen within a single transaction setup. Thanks! Dave