-
1. Re: jboss 6 CR1 TimerService.createIntervalTimer
jaikiran Dec 16, 2010 7:47 AM (in response to brackxm)Can you please post some relevant code and the logs which show this behaviour?
-
2. Re: jboss 6 CR1 TimerService.createIntervalTimer
brackxm Dec 16, 2010 7:54 AM (in response to jaikiran)starting the timer:
final long period = 60000;
final TimerConfig timerConfig = new TimerConfig();
timerConfig.setPersistent(false);
timerService.createIntervalTimer(period, period, timerConfig);
log.info("timer started");
timer:
@Timeout
public void onTimeout(final Timer timer) {
log.info("onTimeout()");
// ...
}log:
13:51:23,523 INFO [com.unifiedpost.alexandria.replication.server.ReplicationTimerBean] timer started13:51:23,895 INFO [com.unifiedpost.alexandria.replication.server.ReplicationTimerBean] onTimeout()13:51:23,523 INFO [ReplicationTimerBean] timer started
13:51:23,895 INFO [.ReplicationTimerBean] onTimeout()
-
3. Re: jboss 6 CR1 TimerService.createIntervalTimer
brackxm Dec 16, 2010 7:57 AM (in response to brackxm)log with threads:
2010-12-16 13:51:23,523 INFO [ReplicationTimerBean] (http-127.0.0.1-8080-1:) timer started
2010-12-16 13:51:23,895 INFO [ReplicationTimerBean] (pool-22-thread-1:) onTimeout()
2010-12-16 13:51:23,523 INFO [com.unifiedpost.alexandria.replication.server.ReplicationTimerBean] (http-127.0.0.1-8080-1:) timer started2010-12-16 13:51:23,895 INFO [com.unifiedpost.alexandria.replication.server.ReplicationTimerBean] (pool-22-thread-1:) onTimeout() -
4. Re: jboss 6 CR1 TimerService.createIntervalTimer
jaikiran Dec 16, 2010 8:08 AM (in response to brackxm)Thanks for reporting. I've created a JIRA https://issues.jboss.org/browse/EJBTHREE-2220
-
5. Re: jboss 6 CR1 TimerService.createIntervalTimer
jaikiran Dec 16, 2010 9:26 AM (in response to jaikiran)Fixed and will be available in AS trunk by tomorrow.
-
6. Re: jboss 6 CR1 TimerService.createIntervalTimer
jaikiran Dec 18, 2010 1:28 AM (in response to jaikiran)AS 6.0 Final will be released some time very soon in the coming week. This fix is already available in the JBoss AS nightly build which is here http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x/lastSuccessfulBuild/artifact/JBossAS_6_0/build/target/jboss-6.0.x.zip
If you are willing, then please give it a try against that nightly build and see if the issue is fixed.