Uncable to commit: transaction marked for rollback

From: David Kerr <dmk(at)mr-paradox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Uncable to commit: transaction marked for rollback
Date: 2010-07-01 18:06:19
Message-ID: 20100701180619.GA96857@mr-paradox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Kerr 2010-07-01 18:08:58 Re: Uncable to commit: transaction marked for rollback
Previous Message Justin Graf 2010-07-01 17:22:23 Re: Easy way to convert a database from WIN1252 to UTF8?