3.8. Quartz Scheduler configuration

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

eXo Platform uses Quartz Scheduler, the Java Framework for scheduling jobs, in a wide range of features. When eXo Platform runs in cluster mode, it is important to prevent jobs to execute concurrently. Quartz has its own cluster mode, with each instance of eXo Platform server as a node of Quartz load balancing and failover group.

Since the version 4.4 of eXo Platform, Quatrz is used in persisted mode. So it is automatically configured in eXo Platform. As an administrator, you can change default Quartz settings in eXo Platform through exo.properties file.

By default, here are Quartz properties:

#Configure Main Scheduler Properties
#exo.quartz.scheduler.instanceName=ExoScheduler
#exo.quartz.scheduler.instanceId=AUTO

#Configure ThreadPool
#exo.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
#exo.quartz.threadPool.threadPriority=5
#exo.quartz.threadPool.threadCount=25

#Configure JobStore
#exo.quartz.jobStore.misfireThreshold=6000
#exo.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
#For SQL server set exo.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.MSSQLDelegate
#For postgres set exo.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
#exo.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
#exo.quartz.jobStore.useProperties=false
#exo.quartz.jobStore.dataSource=quartzDS
#exo.quartz.jobStore.tablePrefix=QRTZ_
#exo.quartz.jobStore.isClustered=false
#exo.quartz.jobStore.clusterCheckinInterval=20000
#exo.quartz.jobStore.maxMisfiresToHandleAtATime=20
#exo.quartz.jobStore.dontSetAutoCommitFalse=false
#exo.quartz.jobStore.acquireTriggersWithinLock=false
#exo.quartz.jobStore.lockHandler.class=
#exo.quartz.jobStore.driverDelegateInitString=
#exo.quartz.jobStore.txIsolationLevelSerializable=false
#exo.quartz.jobStore.selectWithLockSQL=SELECT * FROM {0}LOCKS WHERE SCHED_NAME = {1} AND LOCK_NAME = ? FOR UPDATE
#exo.quartz.dataSource.quartzDS.jndiURL=java:/comp/env/exo-jpa_portal	
	

More details about the definition and default values of the above properties could be found in the table Properties reference. You can also refer to Quartz Configuration Reference documentation for more details about quartz parameters.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus