From 5717264b7b9a5067dd558528b14ffff1ed695fd3 Mon Sep 17 00:00:00 2001 From: charile_Lu Date: Wed, 19 Aug 2020 16:05:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?DEC-14434=20=E6=B7=BB=E5=8A=A0=E4=BE=9D?= =?UTF-8?q?=E8=B3=B4=EF=BC=8C=E6=94=B9=E5=8F=98=E6=97=A5=E5=BF=97=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=EF=BC=8C=E8=A7=A3=E5=86=B3not=20found=E9=97=AE?= =?UTF-8?q?=E9=A2=98,=E4=BF=AE=E6=94=B9=E6=8A=A5=E9=94=99=E7=9A=84JavaDoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fine-quartz/pom.xml | 6 ++++++ .../fr/third/v2/org/quartz/core/QuartzSchedulerThread.java | 4 ++-- .../v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/fine-quartz/pom.xml b/fine-quartz/pom.xml index 8aae0bf55..b6289d2e6 100644 --- a/fine-quartz/pom.xml +++ b/fine-quartz/pom.xml @@ -104,5 +104,11 @@ system ${basedir}/lib/quartz-stubs-2.1.7.jar + + com.fr.third + fine-jboss-logging + 10.0-FEATURE-SNAPSHOT + compile + \ No newline at end of file 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 658001956..57e1b9619 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,7 +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); + com.fr.third.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; } @@ -386,7 +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()); + com.fr.third.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 d244f55e7..02809f73a 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,7 +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); + com.fr.third.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); @@ -3746,7 +3746,7 @@ public abstract class JobStoreSupport implements JobStore, Constants { * the a transaction template. If no return value is required, execute * should just return null. * - * @see JobStoreSupport#executeInNonManagedTXLock(String, TransactionCallback) + * @see JobStoreSupport#executeInNonManagedTXLock(String, TransactionCallback, TransactionValidator) * @see JobStoreSupport#executeInLock(String, TransactionCallback) * @see JobStoreSupport#executeWithoutLock(TransactionCallback) */ @@ -3762,7 +3762,7 @@ public abstract class JobStoreSupport implements JobStore, Constants { * Implement this interface to provide the code to execute within * the a transaction template that has no return value. * - * @see JobStoreSupport#executeInNonManagedTXLock(String, TransactionCallback) + * @see JobStoreSupport#executeInNonManagedTXLock(String, TransactionCallback, TransactionValidator) */ protected abstract class VoidTransactionCallback implements TransactionCallback { public final Void execute(Connection conn) throws JobPersistenceException { From 84ce62fe9757a61a01d2d898f7145e61a112d82e Mon Sep 17 00:00:00 2001 From: charile_Lu Date: Wed, 19 Aug 2020 16:09:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?DEC-14434=20=E4=BF=AE=E6=94=B9pom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fine-quartz/pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fine-quartz/pom.xml b/fine-quartz/pom.xml index b6289d2e6..7719dec29 100644 --- a/fine-quartz/pom.xml +++ b/fine-quartz/pom.xml @@ -107,8 +107,7 @@ com.fr.third fine-jboss-logging - 10.0-FEATURE-SNAPSHOT - compile + ${revision} \ No newline at end of file