Announcement Announcement Module
Collapse
No announcement yet.
spring + quartz + DB initialize error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring + quartz + DB initialize error

    Hi

    When initialize spring+quartz with db outage.
    I get an inconsistent state in spring application, and not initialize context because SchedulerFactoryBean.afterPropertiesSet(), registerJobsAndTriggers().

    Is it possible check first if connection db is ok and then registerJobsandtriggers?
    Is it possible if connection db ko wait(seconds) and check again?

    thanks
Working...
X