怕秃头的萌新 2023-08-31 09:16 采纳率: 0%
浏览 310

“Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.”怎么解决啊

项目很久没运行了,今天运行突然用不了了

09:04:07.268 [restartedMain] INFO  o.q.c.QuartzScheduler - [initialize,294] - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'cbiteduScheduler' with instanceId 'DESKTOP-TC2J1IS1693443847249'
  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 20 threads.
  Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.

09:04:07.269 [restartedMain] INFO  o.q.i.StdSchedulerFactory - [instantiate,1374] - Quartz scheduler 'cbiteduScheduler' initialized from an externally provided properties instance.
09:04:07.269 [restartedMain] INFO  o.q.i.StdSchedulerFactory - [instantiate,1378] - Quartz scheduler version: 2.3.2
09:04:07.269 [restartedMain] INFO  o.q.c.QuartzScheduler - [setJobFactory,2293] - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@2447d6b0
09:04:07.324 [restartedMain] DEBUG c.c.q.m.S.selectJobAll - [debug,137] - ==>  Preparing: select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark from sys_job
09:04:07.324 [restartedMain] DEBUG c.c.q.m.S.selectJobAll - [debug,137] - ==> Parameters: 
09:04:07.326 [restartedMain] DEBUG c.c.q.m.S.selectJobAll - [debug,137] - <==      Total: 3
09:04:08.449 [restartedMain] INFO  s.d.s.w.PropertySourcedRequestMappingHandlerMapping - [initHandlerMethods,69] - Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
09:04:09.709 [restartedMain] INFO  s.d.s.w.p.DocumentationPluginsBootstrapper - [start,160] - Context refreshed
09:04:09.727 [restartedMain] INFO  s.d.s.w.p.DocumentationPluginsBootstrapper - [start,163] - Found 1 custom documentation plugin(s)
09:04:09.785 [restartedMain] INFO  s.d.s.w.s.ApiListingReferenceScanner - [scan,41] - Scanning for api listing references
09:04:09.932 [restartedMain] INFO  o.a.c.h.Http11NioProtocol - [log,173] - Starting ProtocolHandler ["http-nio-8085"]
09:04:09.957 [restartedMain] INFO  c.c.CbiteduApplication - [logStarted,61] - Started CbiteduApplication in 10.825 seconds (JVM running for 12.873)
09:04:10.382 [RMI TCP Connection(1)-192.168.163.1] INFO  o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
09:04:10.948 [Quartz Scheduler [cbiteduScheduler]] INFO  o.q.c.QuartzScheduler - [start,547] - Scheduler cbiteduScheduler_$_DESKTOP-TC2J1IS1693443847249 started.
09:06:10.967 [QuartzScheduler_cbiteduScheduler-DESKTOP-TC2J1IS1693443847249_ClusterManager] WARN  c.a.d.p.DruidAbstractDataSource - [testConnectionInternal,1489] - discard long time none received connection. , jdbcUrl : jdbc:mysql://localhost:3306/shopping?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8, version : 1.2.4, lastPacketReceivedIdleMillis : 60005


  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2023-08-31 15:41
    关注

    【相关推荐】



    • 这篇博客也许可以解决你的问题👉 :quartz调度问题 没报错也没停止运行 Scheduler class: ‘org.quartz.core.QuartzScheduler‘ - running locally
    • 除此之外, 这篇博客: Quartz框架介绍中的 Scheduler 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:

      scheduler 是quartz的核心所在,所有的任务都是通过scheduler开始。
      scheduler是一个接口类,所有的具体实现类都是通过SchedulerFactory工厂类实现,但是SchedulerFactory有两个具体的实现类,如图:
      这里写图片描述

      1. StdSchedulerFactory:默认值加载是当前工作目录下的”quartz.properties”属性文件。如果加载失败,会去加载org/quartz包下的”quartz.properties”属性文件。一般使用这个实现类就能满足我们的要求。
      2. DirectSchedulerFactory:这个我也没用过QAQ,听说是为那些想绝对控制 Scheduler 实例是如何生产出的人所
        设计的。

    如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^
    评论

报告相同问题?

问题事件

  • 创建了问题 8月31日

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?