EJB3.1 annotation @Schedule seems not working correct

Solution Verified - Updated -

Issue

  • We create a timer which should be called from time to time with the annotation @Schedule(second="*/10"), but it isn't working
  • A scheduler with annotation @Schedule(minute="*/10") is not invoked every 10 minutes
  • Why the timer fires several times without delay and stop working again if the server is stopped during the night and restarted the next day

Environment

  • Java Enterprise Edition (JEE) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.