Timer Based Process Flows are Triggering from All the server nodes. Using Quartz(JDBCStore)
sanjay05222 Nov 5, 2015 7:40 PMHi Members ,
Once again clustered based issue.
I have two server nodes , which are configured based on the Maciej's blog Blog My servers are running fine and I am able to deploy the kjar successfully.
The new problem which I am facing is that I have Timer based tasks and they are simultaneously executing from the both the server nodes in the cluster.
My quartz jdbcstore details and the properties file look like as below.
Please share your experince of clustered env. and if you know how to fix please do share.
attached the log file of both the nodes , closer to the times when quartz job is going to trigger. there is 4 second difference.
Both the nodes are running on the same linux box.
Thanks in advance.
Sanjay Gautam
Ps: Maciej thanks for providing guidance earlier on cluster deployment.
# Configure Main Scheduler Properties
#============================================================================
org.quartz.scheduler.instanceName = jBPMClusteredScheduler
org.quartz.scheduler.instanceId = AUTO
#============================================================================
# Configure ThreadPool
#============================================================================
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 5
org.quartz.threadPool.threadPriority = 5
#============================================================================
# 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
org.quartz.jobStore.useProperties=false
org.quartz.jobStore.dataSource=managedDS
org.quartz.jobStore.nonManagedTXDataSource=notManagedDS
org.quartz.jobStore.tablePrefix=QRTZ_
org.quartz.jobStore.isClustered=true
org.quartz.jobStore.clusterCheckinInterval = 20000
#============================================================================
# Configure Datasources
#============================================================================
org.quartz.dataSource.managedDS.jndiURL=jboss/datasources/jbpmDS
org.quartz.dataSource.notManagedDS.jndiURL=jboss/datasources/quartzNotManagedjbpmDS
-
server-two.log.zip 10.3 KB
-
serve-one.log.zip 3.4 KB