[jboss-user] [JBoss Seam] - Re: Transaction TimeOut and Stateful Session Bean

2008-01-16 Thread dreuzel
JTA delegate | ses=(Session) em.getDelegate() | txn=ses.beginTransaction(); | txn.setTimeout(50);<< | .. | ses.flush(); | txn.commit(); | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120438#4120438 Rep

[jboss-user] [JBoss Seam] - Re: Transaction TimeOut and Stateful Session Bean

2008-01-16 Thread rodrigotico
Hi Dreuzel, I tried to set the transaction timeout for this function separately, but I didn't got success. I used the annotation below at the import function and the timeout still keeping the default of 300 seconds: | @TransactionTimeout(value=1000) | public String importFromFile() {

[jboss-user] [JBoss Seam] - Re: Transaction TimeOut and Stateful Session Bean

2008-01-16 Thread dreuzel
Nice to change the transaction timeout for every application. I guess your server does other functions as well Would you not prefer to set the transaction timeout for those long updates separately. as your system will get more load, your new timeout will ellapse as well. View the origina

[jboss-user] [JBoss Seam] - Re: Transaction Timeout

2007-07-16 Thread straubp
Unfortunately I can't switch to Seam 2 yet (But I'm really looking forward to). The other approach doesn't have any effect. Here is what I do: | @Stateless | @TransactionManagement(TransactionManagementType.BEAN) | @Name("fillDatabase") | public class FillDatabaseAction implements FillDa

[jboss-user] [JBoss Seam] - Re: Transaction Timeout

2007-07-16 Thread [EMAIL PROTECTED]
In Seam2 you can use Transaction.instance().setTransactionTimeout(...). Otherwise, in Seam 1.2.1, use the EE5 standard approach to get the UserTransaction object. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064608#4064608 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: Transaction Timeout Exception

2007-05-04 Thread petemuir
Post your code, and please use [ code ] tags. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043205#4043205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043205 ___ jboss-use

[jboss-user] [JBoss Seam] - Re: Transaction Timeout Exception

2007-05-03 Thread nsunil76
this is happening only when i try to insert exceptions into the database. Thank you sunil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043000#4043000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043000

[jboss-user] [JBoss Seam] - Re: Transaction Timeout / Batch Insert

2007-04-26 Thread petemuir
I asked this a while back http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101719 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041186#4041186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041186