i have
@Stateless
public class TimerMonitoraggioDatabase {
@Schedule(hour="5", minute="10", dayOfWeek="Mon-Fri",
dayOfMonth="*", month="*", year="*", info="MyTimer", persistent=false)
private void scheduledTimeout(final Timer t) {
but if the activity exceeds 10 minutes, i have this error (first problem):
2017-03-20 05:20:51,097 WARN [com.arjuna.ats.arjuna] (EJB default - 1) ARJUNA012077: Abort called on already aborted atomic action 0:ffff0a93a0e9:-c2465a:58cbcab4:37e3 2017-03-20 05:20:51,099 ERROR [org.jboss.as.ejb3.timer] (EJB default - 1) WFLYEJB0020: Error invoking timeout for timer: [id=e2ecbbbf-f339-431d-a031-4f02ea8f67fb timedObjectId=Utopia-ear.Utopia-ejb.TimerMonitoraggioDatabase auto-timer?:true persistent?:false timerService=org.jboss.as.ejb3.timerservice.TimerServiceImpl@188c2824 initialExpiration=null intervalDuration(in milli sec)=0 nextExpiration=Tue Mar 21 05:10:00 CET 2017 timerState=IN_TIMEOUT info=MyTimer]: javax.ejb.EJBTransactionRolledbackException: Transaction rolled back at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleEndTransactionException(CMTTxInterceptor.java:137) at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:117)
and then starts the timer again (second problem ?) without throw the excption at the end of 10 minutes