Spring Quartz提示:This scheduler instance is still active but was recovered by another in the cluster
2017-09-18 00:00
2336 查看
项目启动提示:org.springframework.scheduling.quartz.LocalDataSourceJobStore 2017-09-18 11:06:48,260-- WARN -- This scheduler instance (xxx) is still active but was recovered by another instance in the cluster. This may cause inconsistent behavior.
控制台重复输出以上内容,不执行定时器。
原因:在相同的数据库(集群)下,存在另外一个相同的应用(可能是测试或其他开发环境)已经在执行该定时任务,Quartz为保证数据一致性,后启动的定时任务不会执行。
解决:关掉另外一个地方的定时任务,重启当前应用。
控制台重复输出以上内容,不执行定时器。
原因:在相同的数据库(集群)下,存在另外一个相同的应用(可能是测试或其他开发环境)已经在执行该定时任务,Quartz为保证数据一致性,后启动的定时任务不会执行。
解决:关掉另外一个地方的定时任务,重启当前应用。
相关文章推荐
- spring 定时器警告 This scheduler instance is still active but was recovered by
- This generally means that another instance of this process was already running or is hung in the deb
- This generally means that another instance of this process was already running or is hung in the deb
- This generally means that another instance of this process was already running or is hung in the deb
- This generally means that another instance of this process was already running or is hung in the debugger
- [nQSError: 76015] The active Oracle BI Scheduler instance in the cluster could not be determined.
- A file with the correct name was found in this directory, but it is not the correct one.
- The domain edit lock is owned by another session in exclusive mode – hence this deployment operation cannot proceed
- 解决方案: the selected file is a solution file but was created by a newer version of this application and cannot be opened
- 解决方案: the selected file is a solution file but was created by a newer version of this application an
- 解决方案: the selected file is a solution file but was created by a newer version of this application an
- TFS: The working folder E:\Local is already in use by another workspace on this computer.
- 奇怪的错误:This generally means that another instance of this process was already running or is hung in t
- There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance
- A class file was not written. The project may be inconsistent, if so try refreshing this project and building it. eclipse提示错误
- Agile PLM --- JAX-WS 2.2 API is required, but an older version was found in the JDK
- The goal you specified requires a project to execute but there is no POM in this directory
- 报表工具FineReport报错:java.sql.SQLException: The database is already in use by another process: lockFile
- 一般用户下执行sudo命令提示sunxi is not in the sudoers file. This incident will be reported
- The goal you specified requires a project to execute but there is no POM in this directory 错误