Browse Source

Merge pull request #204 in CORE/base-third from ~LANLAN/base-third:release/10.0 to release/10.0

* commit '888fd8ee0b7fbe4d23de17f8ae890e5554ed01a0':
  DEC-7376 定时调度任务表中存在脏数据的时候,不能影响整个scheduler
bugfix/10.0
neil 6 years ago
parent
commit
4e366f8a97
  1. 5
      fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

5
fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

@ -1200,7 +1200,11 @@ public abstract class JobStoreSupport implements JobStore, Constants {
}
if (job == null) {
try {
job = retrieveJob(conn, newTrigger.getJobKey());
} catch (JobPersistenceException e) {
getLog().error(e.getMessage());
}
}
if (job == null) {
throw new JobPersistenceException("The job ("
@ -2983,7 +2987,6 @@ public abstract class JobStoreSupport implements JobStore, Constants {
} catch (SQLException sqle) {
getLog().error("Unable to set trigger state to ERROR.", sqle);
}
throw jpe;
}
if (trigger.getCalendarName() != null) {

Loading…
Cancel
Save