diff --git a/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/core/QuartzSchedulerThread.java b/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/core/QuartzSchedulerThread.java index 6f6c053c7..658001956 100644 --- a/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/core/QuartzSchedulerThread.java +++ b/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/core/QuartzSchedulerThread.java @@ -375,6 +375,7 @@ public class QuartzSchedulerThread extends Thread { shell = qsRsrcs.getJobRunShellFactory().createJobRunShell(bndle); shell.initialize(qs); } catch (SchedulerException se) { + org.jboss.logging.Logger.getLogger(getClass()).error("---------error occur in job run shell initialize, jobKey:"+triggers.get(i).getJobKey(), se); qsRsrcs.getJobStore().triggeredJobComplete(triggers.get(i), bndle.getJobDetail(), CompletedExecutionInstruction.SET_ALL_JOB_TRIGGERS_ERROR); continue; } @@ -385,6 +386,7 @@ public class QuartzSchedulerThread extends Thread { // a thread pool being used concurrently - which the docs // say not to do... getLog().error("ThreadPool.runInThread() return false!"); + org.jboss.logging.Logger.getLogger(getClass()).error("---------error occur in job shell run in thread, jobKey:"+triggers.get(i).getJobKey()); qsRsrcs.getJobStore().triggeredJobComplete(triggers.get(i), bndle.getJobDetail(), CompletedExecutionInstruction.SET_ALL_JOB_TRIGGERS_ERROR); } diff --git a/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java b/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java index a140dfe4f..d244f55e7 100644 --- a/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java +++ b/fine-quartz/src/main/java/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java @@ -1417,6 +1417,7 @@ public abstract class JobStoreSupport implements JobStore, Constants { return getDelegate().selectJobDetail(conn, key, getClassLoadHelper()); } catch (ClassNotFoundException e) { + org.jboss.logging.Logger.getLogger(getClass()).error("---------job class not found, jobKey: "+key, e); throw new JobPersistenceException( "Couldn't retrieve job because a required class was not found: " + e.getMessage(), e);