Quartz Scheduler is not working in BPMS 6 with Oracle persistence

Solution Verified - Updated -

Issue

We are getting the below error in our JBPM instances.

22:09:58,803 ERROR [org.quartz.impl.jdbcjobstore.JobStoreCMT] (QuartzScheduler_jBPMClusteredScheduler-dvmcde291424267878564_ClusterManager) ClusterManager: Error managing cluster: Failure identifying failed instances when checking-in: Couldn't load delegate class: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate from [Module "deployment.business-central.war:main" from Service Module Loader]: org.quartz.JobPersistenceException: Failure identifying failed instances when checking-in: Couldn't load delegate class: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate from [Module "deployment.business-central.war:main" from Service Module Loader] [See nested exception: org.quartz.impl.jdbcjobstore.NoSuchDelegateException: Couldn't load delegate class: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate from [Module "deployment.business-central.war:main" from Service Module Loader]]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport.findFailedInstances(JobStoreSupport.java:3287) [quartz-1.8.5.jar:]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport.clusterCheckIn(JobStoreSupport.java:3340) [quartz-1.8.5.jar:]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3206) [quartz-1.8.5.jar:]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3825) [quartz-1.8.5.jar:]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:3861) [quartz-1.8.5.jar:]
Caused by: org.quartz.impl.jdbcjobstore.NoSuchDelegateException: Couldn't load delegate class: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate from [Module "deployment.business-central.war:main" from Service Module Loader]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport.getDelegate(JobStoreSupport.java:3090) [quartz-1.8.5.jar:]
        at org.quartz.impl.jdbcjobstore.JobStoreSupport.findFailedInstances(JobStoreSupport.java:3250) [quartz-1.8.5.jar:]
        ... 4 more

Quartz is configured to work with Oracle:

#===============================================================
# Configure JobStore
#===============================================================
org.quartz.jobStore.misfireThreshold = 60000
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreCMT
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
#...
#===============================================================
# Configure Datasources
#===============================================================
org.quartz.dataSource.managedDS.jndiURL=jboss/datasources/quartzDS

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.3
    • 6.1.X

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