anonymous wrote : UserTransaction aUT = ctx.getUserTransaction();
  |        aUT.begin();
  |        aUT.setTransactionTimeout(360);

Change the above to:

UserTransaction aUT = ctx.getUserTransaction();
  |        aUT.setTransactionTimeout(360);
  | 
  |        aUT.begin();

i.e. set the transaction timeout before  beginning the transaction.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951832#3951832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951832


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to