quartz 2.2无法设置instanceName

时间:2015-03-27 09:11:11

标签: quartz-scheduler

我的应用程序需要使用群集模式。这是我的财产

org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.maxMisfiresToHandleAtATime=1 
org.quartz.jobStore.misfireThreshold=60000
org.quartz.jobStore.tablePrefix=QRTZ_
org.quartz.jobStore.isClustered=true
org.quartz.jobStore.clusterCheckinInterval = 15000
org.quartz.scheduler.instanceName=testSchedule
org.quartz.scheduler.instanceId=AUTO
org.quartz.scheduler.rmi.export=false
org.quartz.scheduler.rmi.proxy=false
org.quartz.scheduler.wrapJobExecutionInUserTransaction=false
org.quartz.scheduler.interruptJobsOnShutdown=true
org.quartz.scheduler.interruptJobsOnShutdownWithWait=true 
org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount=10
org.quartz.threadPool.threadPriority=5
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true

但在表格中qrtz_fired_triggers.INSTANCE_NAME = US2047839W11427446115791。我认为它不是正确的instanceName(----> testSchedule)

org.quartz.scheduler.instanceName=testSchedule

我们的设置是否有任何问题(spring3.2.4 + quartz2.2)??

0 个答案:

没有答案