This content has been marked as final.
Show 6 replies
-
1. Re: Annotation @TransactionTimeout not honoured for asynchronous method using ejb timer service
pmuir Jul 13, 2008 11:59 PM (in response to pdhaigh)Ugh, might be a Seam/EJB3 interaction problem or just a EJB3 problem.
Can you chase up with the EJB3 guys whether it should work on a EJB3 timeout method if Seam isn't in the picture (post on their forum, check their JIRA). If it's not a known problem for them, put an issue in the Seam JIRA.
-
2. Re: Annotation @TransactionTimeout not honoured for asynchronous method using ejb timer service
admin.admin.email.tld Jul 14, 2008 4:28 AM (in response to pdhaigh)have you tried using Quartz instead? EJB timer is not clusterable.
-
4. Re: Annotation @TransactionTimeout not honoured for asynchronous method using ejb timer service
blabno Sep 11, 2008 11:34 AM (in response to pdhaigh)Having the same problem. My thread : http://www.seamframework.org/Community/TransactionTimeoutGenericJDBCExceptionCannotOpenConnection
Have you solved the problem ?
-
5. Re: Annotation @TransactionTimeout not honoured for asynchronous method using ejb timer service
blabno Sep 11, 2008 2:07 PM (in response to pdhaigh)Using Quartz helps.
-
6. Re: Annotation @TransactionTimeout not honoured for asynchronous method using ejb timer service
pdhaigh Sep 11, 2008 5:56 PM (in response to pdhaigh)Yes, as my original question said - it works fine *except* when using the EJB Timer Service.
Actually I've found a number of issues with the EJB timer service, and have as a result just started using quartz by default.. not for any functional enhancements, but simply because it appears to work properly whereas the ejb one... doesn't..!
A list of a few problems I have experienced with the EJB timer service:
1. Ignores @TransactionTimeout annotation
2. Incorrectly sets next run time pf persisted timers after Application server restart (takes restart time + interval rather than working out interval from initial schedule time). This was accepted by the ejb3 team as a bug. http://www.seamframework.org/Community/EJBTimersIgnoringStartDate
3. Sometimes just doesn't run scheduled events
All in all, quartz seems a better bet :)