on jboss 6.1.0.Final, the schedule method gets called too often
this is my code:
@Stateless
public class Starter {
@Schedule(minute = "*/1", hour = "*", persistent = false)
public void updateLists() {
System.out.println("schedule");
}
}
This is the server output:
10:53:00,007 INFO [STDOUT] schedule
10:53:00,014 INFO [STDOUT] schedule
10:53:00,021 INFO [STDOUT] schedule
10:53:00,021 INFO [STDOUT] schedule
10:53:00,022 INFO [STDOUT] schedule
10:53:00,024 INFO [STDOUT] schedule
10:53:00,025 INFO [STDOUT] schedule
10:53:00,027 INFO [STDOUT] schedule
10:53:00,028 INFO [STDOUT] schedule
10:53:00,028 INFO [STDOUT] schedule
10:53:00,029 INFO [STDOUT] schedule
10:53:00,035 INFO [STDOUT] schedule
10:53:01,007 INFO [STDOUT] schedule
10:53:01,007 INFO [STDOUT] schedule
10:53:01,013 INFO [STDOUT] schedule
10:53:01,014 INFO [STDOUT] schedule
10:53:01,014 INFO [STDOUT] schedule
and so on