Hi all,
I have an action (a button on my page) that starts a long database transaction. The action
create entities. After an entity is created I always flush and clear the EntityManager.
Everything works great for a little more than 3 minutes. Then everything gets really slow
and then I get this warning:
| [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257,
GlobalId=null:1184597546875/5, BranchQual=null:1184597546875, localId=0:5] timed out.
status=STATUS_ACTIVE
|
I've tried a few thing:
- change timeouts of session/conversation
- made my bean containing the action into a stateless bean, made it bean-managed and set
the transaction timeout to a high value
...
Nothing had any effect.
Does anyone know how to change the transaction timout setting. Best would be a possibity
to change it just for one method.
I'm using Seam 1.2.1 on Tomcat 5.5 with embedded EJB and Seam managed transactions
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064602#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...