项目突然起不来 报错2023-06-08 15:52:10,562 INFO (SchedulerSignalerImpl.java:61) - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2023-06-08 15:52:10,562 INFO (QuartzScheduler.java:229) - Quartz Scheduler v.2.3.0 created. 2023-06-08 15:52:10,563 INFO (RAMJobStore.java:155) - RAMJobStore initialized. 2023-06-08 15:52:10,564 INFO (QuartzScheduler.java:294) - Scheduler meta-data: Quartz Scheduler (v2.3.0) 'quartzScheduler' 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 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 2023-06-08 15:52:10,564 INFO (StdSchedulerFactory.java:1362) - Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
时间: 2024-04-06 16:31:04 浏览: 274
这是一个 Quartz Scheduler 的初始化日志,其中报错提示 Scheduler 目前处于 standby 模式,即未启动状态。可以检查以下几点:
1. 检查程序是否正确启动,是否有任何错误日志;
2. 检查配置文件是否正确,如 Quartz 的配置文件;
3. 检查代码是否正确,如是否正确调用了 Scheduler 的 start 方法。
如果以上都没有问题,可以尝试重启应用程序或者重新安装 Quartz。如果还不能解决问题,建议查看更详细的日志信息或者寻求专业的技术支持。
相关问题
2023-05-25 21:42:57.935 [main] INFO com.hzsun.easytong.web.mq.LogOutMqListener - ????? LogOutMqListener ???mqAddress?null 2023-05-25 21:42:57.936 [main] WARN com.hzsun.easytong.web.mq.LogOutMqListener - Mq??????????????? 2023-05-25 21:42:57.966 [main] INFO com.hzsun.easytong.web.mq.DataMqListener - ????? DataMqListener ???mqAddress?null 2023-05-25 21:42:57.966 [main] WARN com.hzsun.easytong.web.mq.DataMqListener - Mq??????????? 2023-05-25 21:42:58.035 [main] INFO org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-rsaKeyCache] 2023-05-25 21:42:58.044 [main] INFO org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-dataKeyCache] 2023-05-25 21:42:58.044 [main] INFO org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-dataKeyCache] 2023-05-25 21:42:58.642 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext initialized in 1839 ms 2023-05-25 21:42:58.689 [main] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'spring' 2023-05-25 21:43:00.116 [main] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 1427 ms
这是一个应用程序的启动日志,包含了一些信息和警告。首先,LogOutMqListener 和 DataMqListener 这两个消息监听器被初始化,但是它们的 mqAddress 属性为 null,可能会导致消息队列的问题;其次,使用了名为 [shiro-rsaKeyCache]、[shiro-dataKeyCache] 的 EHCache 缓存,这些缓存已经存在,不需要创建新的缓存;最后,Spring MVC 的 DispatcherServlet 初始化完成,耗时 1427ms。这些日志信息和警告信息可以帮助开发人员了解应用程序的启动过程和可能存在的问题。
2023-06-06 11:10:04.686 INFO 37284 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2023-06-06 11:10:04.686 INFO 37284 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1174 ms Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter. Property 'mapperLocations' was not specified. 2023-06-06 11:10:05.347 INFO 37284 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2023-06-06 11:10:05.673 INFO 37284 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8090 (http) with context path '' 2023-06-06 11:10:05.690 INFO 37284 --- [ main] com.sict.Xboot013Application : Started Xboot013Application in 2.593 seconds (JVM running for 4.028)
这是Spring Boot应用启动时的日志信息。其中,第一行显示正在初始化Spring嵌入式WebApplicationContext,第二行显示根WebApplicationContext已完成初始化,用时1174毫秒。第三行显示MyBatis的日志输出适配器为'org.apache.ibatis.logging.stdout.StdOutImpl',即使用标准输出流作为日志输出。第四行显示未指定'mapperLocations'属性,表示未指定MyBatis映射文件的位置。第五行显示添加了欢迎页处理器映射,即将静态资源中的index.html作为欢迎页。第六行显示Tomcat已启动,监听8090端口,应用上下文路径为空。最后一行显示应用程序已启动,并在2.593秒内完成启动,JVM已运行4.028秒。
阅读全文