Lars Bohl [http://community.jboss.org/people/bohl] commented on the document

"EJB3.1 in JBoss AS 6.0.0.M4"

To view all comments on this document, visit: 
http://community.jboss.org/docs/DOC-15643#comment-7743

--------------------------------------------------
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


--------------------------------------------------

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to