1
클러스터 환경에서 작업을 관리하기 때문에 석영과 함께 JDBC 작업 저장소를 사용하고 있습니다. 되어 다음 내 JDBC를 구성하여 MySQL의 :Quartz Scheduler : java.lang.IllegalStateException : JobStore is shutdown - 재 시도 취소
내가 위의 속성을 가진 쿼트를 실행하고 때마다#============================================================================
# Configure Main Scheduler Properties
#============================================================================
org.quartz.scheduler.instanceName: MyScheduler
org.quartz.scheduler.instanceId: instance_one
org.quartz.scheduler.skipUpdateCheck: true
#============================================================================
# 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.JobStoreTX
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.useProperties = false
org.quartz.jobStore.dataSource = quartz_cluster
org.quartz.jobStore.tablePrefix = QRTZ_
org.quartz.jobStore.isClustered = true
#============================================================================
# Configure Datasources
#============================================================================
org.quartz.dataSource.quartz_cluster.driver = com.mysql.cj.jdbc.Driver
org.quartz.dataSource.quartz_cluster.URL = jdbc:mysql://localhost:3306/quartz_cluster
org.quartz.dataSource.quartz_cluster.user = root
org.quartz.dataSource.quartz_cluster.password = root
org.quartz.dataSource.quartz_cluster.maxConnections = 5
, 내 작업 시작의 실행 이후, 나는 다음과 같은 예외가 무엇입니까 4 회 실행 :
[ERROR] - [2016-09-15 13:55:03,150] - [org.quartz.core.QuartzSchedulerThread] Runtime error occurred in main trigger firing loop.
java.lang.IllegalStateException: JobStore is shutdown - aborting retry
at org.quartz.impl.jdbcjobstore.JobStoreSupport.retryExecuteInNonManagedTXLock(JobStoreSupport.java:3772)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.releaseAcquiredTrigger(JobStoreSupport.java:2881)
at org.quartz.core.QuartzSchedulerThread.releaseIfScheduleChangedSignificantly(QuartzSchedulerThread.java:432)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:316)
다음은을 내 직업 세부 :
:newJob(MyJob.class)
.withDescription("The myjob job")
.withIdentity("job-one", "group-one")
.usingJobData(jobDataMap)
.requestRecovery(true)
.build();
다음은 내 트리거 세부입니다
newTrigger()
.withIdentity("trigger-one", "group-one")
.withSchedule(cronSchedule("0/15 * * * * ?")
.withMisfireHandlingInstructionFireAndProceed())
.build();
예외적으로 실제 문제가 발생하지 않습니까?