Browse Source

Merge pull request #214 in CORE/base-third from ~HARRISON/base-third:feature/10.0 to feature/10.0

* commit '7b4ac3728a20d60304e0b07aa084d84b45dc4b12':
  DEC-7569 定时调度模块启动异常
  无JIRA任务 打包失败,job未初始化
  DEC-7376 定时调度任务表中存在脏数据的时候,不能影响整个scheduler
  .
  .
  无JIRA任务,build failed
  ct
  上传math3资源文件
  更改math3的gradle
  上传commons-math3
  DEC-7376 定时调度任务表中存在脏数据的时候,不能影响整个scheduler
  SocketIOServer.java edited online with Bitbucket
  KERNEL-478 升级socketio
  无任务,构建失败
  无任务,构建失败
  无任务,构建失败
  资源文件
  增加j2v8
  引入J2V8
  资源文件
research/11.0
Harrison 6 years ago
parent
commit
aedf4a8891
  1. 1
      .gitignore
  2. 4
      build.third_step0.gradle
  3. 2
      build.third_step1.gradle
  4. 2
      build.third_step2.gradle
  5. 2
      build.third_step3.gradle
  6. 2
      build.third_step4.gradle
  7. 2
      build.third_step5.gradle
  8. 3
      build.third_step6.gradle
  9. 10
      fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

1
.gitignore vendored

@ -1,2 +1,3 @@
*.iml *.iml
.idea/ .idea/
.gradle/

4
build.third_step0.gradle

@ -41,7 +41,7 @@ def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf (java.io.File.s
def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1) def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+1)
def srcDir="." def srcDir="."
def maven_version="${version}-FEATURE-SNAPSHOT" def maven_version="${version}-RELEASE-SNAPSHOT"
def jar_version = version def jar_version = version
configurations { configurations {
@ -50,7 +50,7 @@ configurations {
} }
dependencies { dependencies {
thirdjar "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" thirdjar "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
sigar "com.fr.third:sigar:1.6.0" sigar "com.fr.third:sigar:1.6.0"
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

2
build.third_step1.gradle

@ -59,7 +59,7 @@ dependencies{
compile fileTree(dir:"${srcDir}/fine-poi/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-poi/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/fine-quartz/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-quartz/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar')
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" compile "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

2
build.third_step2.gradle

@ -48,7 +48,7 @@ dependencies{
compile fileTree(dir:"${srcDir}/fine-spring/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-spring/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/fine-sense4/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-sense4/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar')
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" compile "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

2
build.third_step3.gradle

@ -46,7 +46,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+
dependencies{ dependencies{
compile fileTree(dir:"${srcDir}/fine-jboss-logging/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-jboss-logging/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar')
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" compile "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

2
build.third_step4.gradle

@ -45,7 +45,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf (java.io.File.separator)+
dependencies{ dependencies{
compile fileTree(dir:"${srcDir}/fine-hibernate/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-hibernate/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar')
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" compile "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

2
build.third_step5.gradle

@ -44,7 +44,7 @@ dependencies{
compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'ojdbc7-12.1.0.jar') compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'ojdbc7-12.1.0.jar')
compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar')
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" compile "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

3
build.third_step6.gradle

@ -46,7 +46,6 @@ sourceSets{
"${srcDir}/fine-lz4/src", "${srcDir}/fine-lz4/src",
"${srcDir}/fine-log4j/src", "${srcDir}/fine-log4j/src",
"${srcDir}/fine-jgit/src" "${srcDir}/fine-jgit/src"
] ]
} }
} }
@ -76,7 +75,7 @@ dependencies{
compile fileTree(dir:"${srcDir}/fine-socketio/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-socketio/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/fine-jgit/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-jgit/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar') compile fileTree(dir:"${srcDir}/build/libs/",include:'**/*.jar')
compile "com.fr.third:fine-third:10.0-FEATURE-SNAPSHOT" compile "com.fr.third:fine-third-base:10.0-BASE-SNAPSHOT"
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
} }

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

@ -1199,19 +1199,15 @@ public abstract class JobStoreSupport implements JobStore, Constants {
} }
} }
if (job == null) {
try { try {
if (job == null) {
job = retrieveJob(conn, newTrigger.getJobKey()); job = retrieveJob(conn, newTrigger.getJobKey());
} catch (JobPersistenceException e) {
getLog().error(e.getMessage());
}
} }
if (job == null) { if (job == null) {
throw new JobPersistenceException("The job (" throw new JobPersistenceException("The job ("
+ newTrigger.getJobKey() + newTrigger.getJobKey()
+ ") referenced by the trigger does not exist."); + ") referenced by the trigger does not exist.");
} }
if (job.isConcurrentExectionDisallowed() && !recovering) { if (job.isConcurrentExectionDisallowed() && !recovering) {
state = checkBlockedState(conn, job.getKey(), state); state = checkBlockedState(conn, job.getKey(), state);
} }
@ -1221,6 +1217,9 @@ public abstract class JobStoreSupport implements JobStore, Constants {
} else { } else {
getDelegate().insertTrigger(conn, newTrigger, state, job); getDelegate().insertTrigger(conn, newTrigger, state, job);
} }
} catch (JobPersistenceException e) {
getLog().error(e.getMessage());
}
} catch (Exception e) { } catch (Exception e) {
throw new JobPersistenceException("Couldn't store trigger '" + newTrigger.getKey() + "' for '" throw new JobPersistenceException("Couldn't store trigger '" + newTrigger.getKey() + "' for '"
+ newTrigger.getJobKey() + "' job:" + e.getMessage(), e); + newTrigger.getJobKey() + "' job:" + e.getMessage(), e);
@ -2987,6 +2986,7 @@ public abstract class JobStoreSupport implements JobStore, Constants {
} catch (SQLException sqle) { } catch (SQLException sqle) {
getLog().error("Unable to set trigger state to ERROR.", sqle); getLog().error("Unable to set trigger state to ERROR.", sqle);
} }
return null;
} }
if (trigger.getCalendarName() != null) { if (trigger.getCalendarName() != null) {

Loading…
Cancel
Save