Method with @Schedule is executed repeatedly before daylight-saving time in JBoss EAP 7.1

Solution Verified - Updated -

Issue

A method annotated with @Schedule is executed repeatedly just before entering the day of daylight-saving time. Example:

@Startup
@Singleton
public class TestBean {
  private static final Logger logger = LogManager.getLogManager().getLogger(TestBean.class.getName());

  @Schedule(second = "*/10", minute = "*", hour = "*", persistent = false)
  void scheduledUpdate() {
    logger.info("Time is up!");
  }
}

On the server.log the following log will appear repeatedly:

2018-03-24 23:59:50,014 INFO  [TestBean] (EJB default - 3) Time is up!

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content