`
rappy
  • 浏览: 42743 次
  • 性别: Icon_minigender_1
  • 来自: 天涯海角
文章分类
社区版块
存档分类
最新评论

quartz配置的注意事项

阅读更多

 ERROR [myScheduler_QuartzSchedulerThread] ErrorLogger.schedulerError(2156) | An error occured

while scanning for the next trigger to fire.
org.quartz.JobPersistenceException: Couldn't acquire next trigger: Couldn't retrieve trigger: null [See

nested exception: org.quartz.JobPersistenceException: Couldn't retrieve trigger: null [See nested

exception: java.io.EOFException]]

这个错是因为jobdataMap的数据转化成blob字段时出错,

在quartz的文档中有推荐说jobdatamap都用string,可以避免此类错误

要做到限制全是string必须在quartz.properties中把org.quartz.jobStore.useProperties设成true

同时别忘了加对应数据库的org.quartz.jobStore.driverDelegateClass

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics