Re: How to configure default transaction timeout in TomEE?

2012-09-12 Thread David Blevins
On Sep 12, 2012, at 5:13 AM, Romain Manni-Bucau wrote: > >defaultTransactionTimeoutSeconds = 10 minutes That doesn't work in the released code, but in trunk you can do it: defaultTransactionTimeout = 10 minutes -David

Re: JTA exception handling

2012-09-12 Thread Martin Kjær Jørgensen
On 12-09-2012 17:50, Romain Manni-Bucau wrote: > Hi, > > right, that's because JTA doesn't define a method which let you get the > cause :( > > However OpenJPA logs the error just before the exception so you should see > them > > please see https://issues.apache.org/jira/browse/TOMEE-172 > > *R

Re: JTA exception handling

2012-09-12 Thread Romain Manni-Bucau
Hi, right, that's because JTA doesn't define a method which let you get the cause :( However OpenJPA logs the error just before the exception so you should see them please see https://issues.apache.org/jira/browse/TOMEE-172 *Romain Manni-Bucau* *Twitter: @rmannibucau* *Blog: http://rmannibucau.

JTA exception handling

2012-09-12 Thread Martin Kjær Jørgensen
Hi I'm using embedded OpenEJB 4.0.0 for testing in my project and I'm testing it's JTA features. It seems that if I use a persistenceunit with transaction-type="RESOURCE_LOCAL" I get full stacktraces in the logs if something exceptions gets thrown. But if i use transaction-type="JTA", let the con

Re: How to configure default transaction timeout in TomEE?

2012-09-12 Thread zeddius
Great, thank you guys! -- View this message in context: http://openejb.979440.n4.nabble.com/How-to-configure-default-transaction-timeout-in-TomEE-tp4657383p4657386.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to configure default transaction timeout in TomEE?

2012-09-12 Thread Jean-Louis MONTEIRO
Hi, Didn't check, but I guess there is nothing on the documentation. Regarding the timeout, you need in tomee.xml, redifine the Default Transaction Manager as you just mentionned here after. Something like that should do the trick defaultTransactionTimeoutSeconds 1200 The defaults are her

Re: How to configure default transaction timeout in TomEE?

2012-09-12 Thread Romain Manni-Bucau
try: defaultTransactionTimeoutSeconds = 10 minutes # When set to true, Howl logging is enabled TxRecovery false # Requires TxRecovery bufferSizeKb 32 # Requires TxRecovery checksumEnabled true # Requires TxRecovery adler32Checksum true

How to configure default transaction timeout in TomEE?

2012-09-12 Thread zeddius
Hi all, Please advise how to configure default transaction timeout in TomEE? The only answer I found on this forum was: /By default its value is 600s In your openejb.xml file, redefine the "Default Transaction Manager" and add the parameter defaultTransactionTimeoutSeconds / But is ther