java quartz为什么抛出Handling 4 trigger(s) that missed their scheduled fire-time异常?
at com.bhm.webservice.practical.ctrl.PracticalProductionCtrl.ProductionYesterday(PracticalProductionCtrl.java:132)
at com.bhm.webservice.practical.thread.PracticalYesterdayThread.run(PracticalYesterdayThread.java:30)
2015-03-27 05:57:27,080 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 05:59:27,016 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:01:26,952 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 10 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:02:26,921 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 1 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:03:26,888 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:05:26,824 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:06:26,793 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 5 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:07:26,760 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 06:09:26,696 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
[15-3-27 6:11:20] [com.bhm.biz.alarm.processor.AlarmFileDealProcessor.process()42] [INFO] 告警失败文件读取重发定时任务开始!
[15-3-27 6:11:20] [com.bhm.biz.alarm.processor.AlarmFileDealProcessor.excute()72] [INFO] -------file_path--------e:/gzcss_alarm/comm/
[15-3-27 6:11:20] [com.bhm.biz.alarm.processor.AlarmFileDealProcessor.process()49] [INFO] 告警失败文件读取重发定时任务结束!
----------------------------------------------------------------------------------------------
2015-03-27 07:43:40,242 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:44:18,949 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 1 trigger(s) that missed their scheduled fire-time.
2015-03-27 07:44:40,239 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:44:40,239 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:44:40,491 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:45:18,917 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 07:45:40,488 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:45:40,488 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:45:40,728 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:46:18,885 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 6 trigger(s) that missed their scheduled fire-time.
2015-03-27 07:46:40,726 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:46:40,726 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:46:40,976 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:47:18,853 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 4 trigger(s) that missed their scheduled fire-time.
2015-03-27 07:47:40,973 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:47:40,973 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:47:41,219 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:48:41,216 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:48:41,216 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:48:41,475 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:49:18,789 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 5 trigger(s) that missed their scheduled fire-time.
2015-03-27 07:49:41,472 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:49:41,472 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:49:41,736 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:50:41,733 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:50:41,733 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:50:42,004 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
2015-03-27 07:51:18,725 INFO [org.quartz.impl.jdbcjobstore.JobStoreTX] - Handling 9 trigger(s) that missed their scheduled fire-time.
2015-03-27 07:51:42,001 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列开始#######
2015-03-27 07:51:42,001 INFO [com.bhm.listener.MessageEngineScriptThread] - 更新告警规则脚本....
2015-03-27 07:51:42,233 INFO [com.bhm.listener.MessageEngineScriptThread] - #######处理告警规则脚本消息队列结束#######
----------------------------------------------------------------------------------------------
上面这段日志 就是一直卡这里了!卡了10多分钟!代码如下:
----------------------------------------------------------------------------------------------
public class MessageEngineScriptThread extends Thread {
private static Logger log = Logger.getLogger(MessageEngineScriptThread.class);
long i = 0;
long time=0;
public void run() {
while (true) {
try {
// 第一次不进行处理.只启动线程
if (i > 0) {
log.info("#######处理告警规则脚本消息队列开始#######");
if(time>=60*1000){
log.info("更新告警规则脚本....");
ScriptRepo sr = ScriptRepo.getInstance();
sr.reload();
time=0;
}
log.info("#######处理告警规则脚本消息队列结束#######");
} else {
i++;
log.info("启动处理告警规则脚本消息队列线程");
}
time+=60 * 1000;
Thread.sleep(60 * 1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}
- 等 最代码怎么获取牛币啊?
- 完 谁来告诉我最代码上线的时间,答对者给5牛币,先来先得
- 等 牛友们,大家好,你们做程序员多久了?现在还好吗?
- 完 在微信打开的页面里进行app下载
- 等 最代码2014年欢乐聚声会
- 完 mysql如何查询表数据并且对3个字段降序的SQL?
- 完 最代码牛币机制改革
- 完 成功的在bae上使用了自定义运行环境 jetty+nginx的组合,大家对jetty+nginx优化有哪些心得?
- 完 进来分享一下各位牛牛是如何加入最代码大家庭的?
- 等 为什么java BufferedImage类处理大图直接抛出内存溢出的异常?
- 等 最代码是否开发手机app客户端?
- 完 java程序员学习哪些java的技术?java有哪些框架?都能做哪方面的开发?
- 等 php格式网页文件怎么运行?
- 等 Java volatile值获取的问题
- 等 前端vue,拦截了登录后台后,返回的token,requests拦截token,但是发送请求的时候,就出现跨越异常
- 等 大专本科计算机科班怎么找到Java工作?
- 等 eclipse怎么把三个java swing游戏项目合成一个项目?
- 完 伙伴们,大家都有什么好的解压方式么,分享一下~
- 完 三四线城市,6、7k,运维工作,索然无味,想去辞职上培训,各位牛牛有什么建议嘛
- 等 jsp页面输入中文变成问号
- 等 JPA在线上运行一段时间后报错Caused by: java.lang.IncompatibleClassChangeError: null
- 等 PHP 这个规则用preg_match_all怎么写
- 等 大佬们,有没有知道Alfresco如何配置LDAP登录呢?
- 等 php的install目录是框架带的吗?
- 等 java quartz持久化基础上, 怎么做到动态配置调度任务而不需要重启系统?
- 完 spring整合Quartz项目访问报错:java.lang.Exception: 系统消息通知触发异常: 无法获取ApplicationContext:null,如何解决?
- 等 spring如何通过quartz实现任务调度
- 等 如何对java quartz任务调度数据源加密?
- 完 如何监控java quartz定时器中的所有定时任务
- 等 spring quartz定时任务为什么重复执行?
- 等 java Quartz任务missfired能否出错后就不执行?
- 完 spring quartz定时任务cron表达式的语法求解。
- 完 springboot整合quartz job为什么不能注入service?
- 等 java quartz如何查看当前执行任务的线程数