pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Kerr <dmk@mr-paradox.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Unable to commit: transaction marked for rollback
Date: Tue, 6 Jul 2010 09:16:30 -0700
Message-ID: <20100706161630.GC42694@mr-paradox.net> (raw)
In-Reply-To: <20100701181528.GA97516@mr-paradox.net>
References: <20100701181528.GA97516@mr-paradox.net>

I wanted to follow up on this with what we think is the solution.

we increased the value in this Geronimo config.xml

<module name="org.apache.geronimo.configs/transaction/2.1.4/car">
  <gbean name="TransactionManager">
               <attribute name="defaultTransactionTimeoutSeconds">3600</attribute>
  </gbean>
</module>


If we decrease that to like 15 seconds, we can reproduce the problem every time. 

So, as a fix, we've increased it to a high enough value. Now, of course, the key 
is to remember this so that if it happens again we'll know that we hit the new
max timeout.

Thanks!

Dave



view thread (13+ messages)

Message-ID: <20100706161630.GC42694@mr-paradox.net>
Permalink:  ../20100706161630.GC42694@mr-paradox.net/
Also on:    postgresql.org/message-id/20100706161630.GC42694@mr-paradox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: dmk@mr-paradox.net
  Subject: Re: Unable to commit: transaction marked for rollback
  In-Reply-To: <20100706161630.GC42694@mr-paradox.net>
  References: <20100701181528.GA97516@mr-paradox.net> <20100706161630.GC42694@mr-paradox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox