Is withTransaction timing out

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Is withTransaction timing out



We have multiple Oracle databases in our environment, recently on one of the databases we are getting the following error.

ORA-02050: transaction 30.46.333472 rolled back, some remote DBs may be in-doubt ORA-02051: another session or branch in same transaction failed or finalized


It happens that database is slowest of all and transaction takes more than 2 minutes to finish. Is it that my transaction is timing out? How can I print the transaction timeout or set the timeout to 10 minutes.


I tried the following,

DomainClass.withTransaction([timeout:1200]) { dbt->


But I got the same error with above transaction as well.


I am using grails 2.4.4 with Oracle 11g.



Arvind Sachdeva.



You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit
For more options, visit