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=bb&op=viewtopic&p=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 ot
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
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 :
http://www.jboss.com/index.html?module=bb&op=viewtop
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=bb&op=viewtopic&p=4052155#4052155
Reply to the post :
http:
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=bb&op=viewtopic&p=4043094#4043094
Repl
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
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=bb&op=viewtopic&p=4021586#4021586
Reply to the post :
http://www.jboss.com/index.html?mo
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&