| From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
|---|---|
| To: | David Kerr <dmk(at)mr-paradox(dot)net> |
| Cc: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Unable to commit: transaction marked for rollback |
| Date: | 2010-07-02 05:43:51 |
| Message-ID: | 4C2D7C97.8010908@opencloud.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Kellerer | 2010-07-02 06:36:20 | Re: 9.0 and pg_stat_activity.application_name |
| Previous Message | S K | 2010-07-02 02:42:21 | Re: Transient runtime error: java.lang.NegativeArraySizeException from org.postgresql.core.PGStream.ReceiveTupleV3(PGStream.java:349) ... |