java.lang.RuntimeException: No scheduler found for XXX-timerServiceId on BPMS start up with Quartz scheduler

Solution Unverified - Updated -

Issue

  • We have implemented quartz for timer based processes which runs every one min, when we restart the container the timer based processes are not running which are deployed as kjar in the business-central.
17:35:29,588 ERROR [stderr] (jBPMClusteredScheduler_Worker-1) java.lang.RuntimeException: No scheduler found for org.kie.example:project1:1.0.0-SNAPSHOT-timerServiceId
17:35:29,589 ERROR [stderr] (jBPMClusteredScheduler_Worker-1)   at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:71)
17:35:29,589 ERROR [stderr] (jBPMClusteredScheduler_Worker-1)   at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:47)
17:35:29,589 ERROR [stderr] (jBPMClusteredScheduler_Worker-1)   at org.jbpm.process.core.timer.impl.QuartzSchedulerService$QuartzJob.execute(QuartzSchedulerService.java:323)
17:35:29,589 ERROR [stderr] (jBPMClusteredScheduler_Worker-1)   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
17:35:29,589 ERROR [stderr] (jBPMClusteredScheduler_Worker-1)   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
17:35:30,590 INFO  [org.quartz.core.JobRunShell] (jBPMClusteredScheduler_Worker-1) Job jbpm.StartProcess-project1.bp1-1 threw a JobExecutionException: : org.quartz.JobExecutionException: Exception when executing scheduled job [See nested exception: java.lang.RuntimeException: No scheduler found for org.kie.example:project1:1.0.0-SNAPSHOT-timerServiceId]
    at org.jbpm.process.core.timer.impl.QuartzSchedulerService$QuartzJob.execute(QuartzSchedulerService.java:342) [jbpm-flow-6.2.0.Final-redhat-4.jar:6.2.0.Final-redhat-4]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:216) [quartz-1.8.5.jar:]
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) [quartz-1.8.5.jar:]
Caused by: java.lang.RuntimeException: No scheduler found for org.kie.example:project1:1.0.0-SNAPSHOT-timerServiceId
    at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:71) [jbpm-persistence-jpa-6.2.0.Final-redhat-4.jar:6.2.0.Final-redhat-4]
    at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:47) [jbpm-persistence-jpa-6.2.0.Final-redhat-4.jar:6.2.0.Final-redhat-4]
    at org.jbpm.process.core.timer.impl.QuartzSchedulerService$QuartzJob.execute(QuartzSchedulerService.java:323) [jbpm-flow-6.2.0.Final-redhat-4.jar:6.2.0.Final-redhat-4]
    ... 2 more

Environment

  • Red Hat JBoss BPM Suite
    • 6.1.0

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.