博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
elastic job will never fire
阅读量:6832 次
发布时间:2019-06-26

本文共 2665 字,大约阅读时间需要 8 分钟。

1. 描述

2018-08-20 18:11:01.912 [Thread-8] INFO  org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor

2018-08-20 18:11:01.912 [Thread-8] INFO  o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2018-08-20 18:11:01.913 [Thread-8] INFO  org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.1 created.
2018-08-20 18:11:01.913 [Thread-8] INFO  c.d.d.j.l.i.s.JobShutdownHookPlugin - Registering Quartz shutdown hook.
2018-08-20 18:11:01.913 [Thread-8] INFO  org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
2018-08-20 18:11:01.913 [Thread-8] INFO  org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.1) '914f80a5-33f4-4298-82de-bc84ebeba1d1-2145' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2018-08-20 18:11:01.913 [Thread-8] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler '914f80a5-33f4-4298-82de-bc84ebeba1d1-2145' initialized from an externally provided properties instance.
2018-08-20 18:11:01.913 [Thread-8] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.1
Exception in thread "Thread-8" com.dangdang.ddframe.job.exception.JobSystemException: org.quartz.SchedulerException: Based on configured schedule, the given trigger 'DEFAULT.914f80a5-33f4-4298-82de-bc84ebeba1d1-2145' will never fire.
    at com.dangdang.ddframe.job.lite.internal.schedule.JobScheduleController.scheduleJob(JobScheduleController.java:57)
    at com.dangdang.ddframe.job.lite.api.JobScheduler.init(JobScheduler.java:111)
    at com.zhuanche.countOrderService.impl.CountOrderServiceImpl.createElasticJob(CountOrderServiceImpl.java:303)
    at com.zhuanche.countOrderService.impl.CountOrderServiceImpl$1.run(CountOrderServiceImpl.java:279)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.quartz.SchedulerException: Based on configured schedule, the given trigger 'DEFAULT.914f80a5-33f4-4298-82de-bc84ebeba1d1-2145' will never fire.
    at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:882)
    at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:249)
    at com.dangdang.ddframe.job.lite.internal.schedule.JobScheduleController.scheduleJob(JobScheduleController.java:53)
    ... 4 more

 

2. 解决

创建的时间小于当前时间 永远不会被执行 故不会执行。

实际应该不允许生成这种job,给出友好提示;

或者配完了这个再控制台改 有点乱!

转载于:https://www.cnblogs.com/rocky-fang/p/9507240.html

你可能感兴趣的文章
安全卫士分析--号码归属地
查看>>
常用计数器的verilog实现(binary、gray、one-hot、LFSR、环形、扭环形)
查看>>
CCS学习资料汇总
查看>>
WCF 中 TCP 与 HTTP 性能简单比较
查看>>
04 企业的结构
查看>>
FlipViewDemo
查看>>
* 与 ** 在调用函数时的作用
查看>>
大数据团队必须设置的五种职位
查看>>
POJ 3345 Bribing FIPA 树形DP
查看>>
在COM组件中调用JavaScript函数
查看>>
archlinux使用sudo
查看>>
Hibernate 一对一映射(惟一外键)
查看>>
Spring + iBatis 的多库横向切分简易解决思路
查看>>
PS拾色器(前景色背景色)快捷键
查看>>
Composer帮你轻松管理PHP包 autoload
查看>>
poj 2914(stoer_wanger算法求全局最小割)
查看>>
搭建交叉编译环境
查看>>
linux下tar压缩/解压的使用(tar) 压缩/解压
查看>>
菜单each+hover
查看>>
乐观锁和悲观锁【转】
查看>>