[jboss-user] [EJB3] - EJB3.1 in JBoss AS 6.0.0.M4

Lars Bohl do-not-reply at jboss.com
Thu Sep 29 07:58:05 EDT 2011


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


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110929/a677ff61/attachment.html 


More information about the jboss-user mailing list