Just submitted a documentation update to include this.

On 2 May 2013 12:16, Romain Manni-Bucau <rmannibu...@gmail.com> wrote:

> Hi
>
> default duration is 10 minutes
>
> you can configure it in tomee.xml:
>
> <TransactionManager type="javax.transaction.TransactionManager">
> defaultTransactionTimeoutSeconds = 10 minutes
> </TransactionManager>
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/5/2 James Green <james.mk.gr...@gmail.com>
>
> > Caused by: javax.transaction.RollbackException: Unable to commit:
> > transaction marked for rollback
> >         at
> >
> >
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:272)
> >         at
> >
> >
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)
> >         at
> >
> >
> org.apache.openejb.core.transaction.JtaTransactionPolicy.completeTransaction(JtaTransactionPolicy.java:328)
> >         at
> > org.apache.openejb.core.transaction.TxRequired.commit(TxRequired.java:75)
> >         at
> >
> >
> org.apache.openejb.core.transaction.EjbTransactionUtil.afterInvoke(EjbTransactionUtil.java:76)
> >         at
> >
> >
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:253)
> >         at
> >
> >
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:185)
> >         at
> >
> >
> org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:256)
> >         at
> >
> >
> org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:251)
> >         at
> >
> >
> org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:85)
> >         at
> >
> >
> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:279)
> >         ... 42 more
> > Caused by: java.lang.Exception: Transaction has timed out
> >         at
> >
> >
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:266)
> >         ... 52 more
> >
> >
> > This is coming from a CXF JAX-RS web service invocation where the backend
> > services in the container are genuinely going to take several minutes to
> > complete.
> >
> > I'm trying to find documentation in order to see the current timeout
> value
> > and increase it but I've not found anything yet.
> >
> > Any clues appreciated!
> >
> > James
> >
>

Reply via email to