Some of my transactions came from a batch information (csv or xml). This can easily go more than hundreds of records. In any case, I wanted to understand how ofbiz sets the transaction-timeout.
Ian On Mon, Sep 29, 2008 at 10:45 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: > I guess my first question is what is the need to do this? > why not allow the transaction enough time to complete. > my reason for this is under heavy usage the 300 may not be enough, so > you would have to go back and change all your hard coded timeouts. > > > ian tabangay sent the following on 9/29/2008 2:51 AM: > > Hi. I would like to ask how transaction timeouts are set for the whole > form. > > > > For example: > > If I have the following: > > - Screen A has a transaction-timeout of 600 > > - Screen A has a form which calls on Service B which has a > > transaction-timeout of 0 > > - Service B calls Service C which has a transaction-timeout of 300 > > How long before I would get the error > > org.ofbiz.entity.transaction.GenericTransactionException: Roll back error > > (with no rollbackOnly cause found), could not commit transaction, was > rolled > > back instead: javax.transaction.RollbackException: Transaction timout > > (Transaction timout)? > > > > Thanks! > > Ian > > > >
