Unable to commit: transaction marked for rollback

Поиск
Список
Период
Сортировка
От David Kerr
Тема Unable to commit: transaction marked for rollback
Дата
Msg-id 20100701181528.GA97516@mr-paradox.net
обсуждение исходный текст
Ответы Re: Unable to commit: transaction marked for rollback  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Unable to commit: transaction marked for rollback  (Oliver Jowett <oliver@opencloud.com>)
Re: Unable to commit: transaction marked for rollback  (David Kerr <dmk@mr-paradox.net>)
Список pgsql-jdbc
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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: 9.0 and pg_stat_activity.application_name
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Unable to commit: transaction marked for rollback