[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-06-12 Thread rlj
Hi There I'm so glad to hear someone got this working. Can anyone of you please see my thread here: http://www.jboss.com/index.html?module=bbop=viewtopicp=4050135#4050135 .. and tell my what I'm doing wrong. I'm using Struts and I'm not calling any other methods on that specific bean or any

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-06-11 Thread hbarca
Hi Toni, Oh, my mistake, I put the annotation in the wrong place (at one level deeper in the call chain). Now it works to me, with a SLSB. You have to make sure you put the annotation in the bean implementation code, at the method starting the transaction. By default, a transaction starts when

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-06-08 Thread toni
Hi hbaraca, if I place the @TransactionTiemout annotation on one of my action methods of my SFSB's, which get called, when user clicks on an action link, then the timeout is being ignored. So it does not work for me. View the original post :

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-06-07 Thread hbarca
Toni, did the annotation work for you? It doesn't work for me... I'm using JBoss 4.0.4, can be this a reason why TransactionTimeout does not work on EJB bussines methods? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052155#4052155 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-05-04 Thread wolfc
Transaction timeout only works on the method where the transaction is actually started. Either make sure you put the annotation there or add transaction attribute REQUIRES_NEW on your method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043094#4043094 Reply

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-05-03 Thread toni
I have tried this on my session bean, but I still run into a TransactionTimeout exception. I used the following my stateful session bean: | @org.jboss.annotation.ejb.TransactionTimeout(1000) | Changing the timeout in jta-service.xml on the other hand works. I'm using seam 1.1 - could

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-02-24 Thread petemuir
Thanks for the reply James and sorry for the delay in replying - my forum subscriptions went wrong for a bit ;) I'll try this out on Monday. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4021586#4021586 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-02-16 Thread JamesWoodward
Yes, in your session bean, you need to annotate your long running method as follows: @org.jboss.annotation.ejb.TransactionTimeout(3000) public void doSomethingThatTakesAges() { ... } James View the original post :