From 2390eeefe59043f8323089a814a430bea68eeb4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9B=E6=89=8D?= Date: Tue, 18 Feb 2025 16:26:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E4=BB=A3=E7=A0=81=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 6148 -> 6148 bytes logs/error.log | 576 ++---------------- logs/error/error-2022-07-22.log | 535 ++++++++++++++++ logs/error/error-2024-12-11.log | 71 +++ logs/error/error-2024-12-12.log | 41 ++ logs/error/error-2024-12-13.log | 41 ++ logs/error/error-2024-12-14.log | 41 ++ logs/error/error-2024-12-15.log | 41 ++ logs/error/error-2024-12-16.log | 41 ++ logs/error/error-2024-12-17.log | 41 ++ logs/error/error-2024-12-18.log | 41 ++ logs/error/error-2024-12-19.log | 41 ++ logs/error/error-2024-12-20.log | 41 ++ logs/error/error-2024-12-21.log | 41 ++ logs/error/error-2024-12-22.log | 41 ++ logs/error/error-2024-12-23.log | 41 ++ logs/error/error-2024-12-24.log | 41 ++ logs/error/error-2024-12-25.log | 41 ++ logs/error/error-2024-12-26.log | 41 ++ logs/error/error-2024-12-27.log | 41 ++ logs/error/error-2024-12-28.log | 41 ++ logs/error/error-2024-12-29.log | 41 ++ logs/error/error-2024-12-30.log | 41 ++ logs/error/error-2024-12-31.log | 41 ++ logs/error/error-2025-01-01.log | 41 ++ logs/error/error-2025-01-02.log | 41 ++ logs/error/error-2025-01-03.log | 41 ++ logs/error/error-2025-01-04.log | 41 ++ logs/error/error-2025-01-05.log | 41 ++ logs/error/error-2025-01-06.log | 41 ++ logs/error/error-2025-01-07.log | 41 ++ logs/error/error-2025-01-08.log | 41 ++ logs/error/error-2025-01-09.log | 41 ++ logs/error/error-2025-01-10.log | 41 ++ logs/error/error-2025-01-11.log | 41 ++ logs/error/error-2025-01-12.log | 41 ++ logs/error/error-2025-01-13.log | 41 ++ logs/error/error-2025-01-14.log | 41 ++ logs/error/error-2025-01-15.log | 41 ++ logs/error/error-2025-01-16.log | 41 ++ logs/error/error-2025-01-17.log | 41 ++ logs/error/error-2025-01-18.log | 41 ++ logs/error/error-2025-01-19.log | 41 ++ logs/error/error-2025-01-20.log | 41 ++ logs/error/error-2025-01-21.log | 41 ++ logs/error/error-2025-01-22.log | 41 ++ logs/error/error-2025-01-23.log | 41 ++ logs/error/error-2025-01-24.log | 41 ++ logs/error/error-2025-01-25.log | 41 ++ logs/error/error-2025-01-26.log | 41 ++ logs/error/error-2025-01-27.log | 41 ++ logs/error/error-2025-01-28.log | 41 ++ logs/error/error-2025-01-29.log | 41 ++ logs/error/error-2025-01-30.log | 41 ++ logs/error/error-2025-01-31.log | 41 ++ logs/error/error-2025-02-01.log | 41 ++ logs/error/error-2025-02-02.log | 41 ++ logs/error/error-2025-02-03.log | 41 ++ logs/error/error-2025-02-05.log | 41 ++ logs/error/error-2025-02-06.log | 41 ++ logs/info.log | 360 +---------- logs/info/info-2022-07-22.log | 357 +++++++++++ logs/info/info-2024-12-10.log | 32 + .../java/com/ynxbd/push/AppApplication.java | 2 +- .../java/com/ynxbd/push/config/IniConfig.java | 22 +- .../com/ynxbd/push/config/RabbitMQConfig.java | 49 +- .../push/controller/BI/BiController.java | 2 +- .../push/controller/BusinessController.java | 7 +- .../push/controller/RegisteredController.java | 10 +- .../ynxbd/push/entity/enums/HisApiEnum.java | 2 + .../push/entity/type/MessageTypeEnum.java | 2 +- .../push/entity/type/OrganizeTypeEnum.java | 3 + .../com/ynxbd/push/entity/xbd/wx/Order.java | 129 ++++ .../ynxbd/push/entity/xbd/wx/Register.java | 86 +++ .../ynxbd/push/helper/DesEncryptHelper.java | 11 +- .../ynxbd/push/helper/MessageApiHelper.java | 10 +- .../com/ynxbd/push/helper/RequestHelper.java | 12 + .../tencent/WeChatDataRequest.java | 19 + .../httpRequest/xbd/wx/WxCacheRequest.java | 2 +- .../ynxbd/push/quartz/job/TodayRegJob.java | 21 + .../ynxbd/push/quartz/job/WorkLoadJob.java | 18 +- .../listener/AppStartQuartzJobListener.java | 1 + .../push/{ => quartz}/pushJob/BI/BiPush.java | 16 +- .../quartz/pushJob/TodayReg/TodayReg.java | 102 ++++ .../quartz/scheduler/AppQuartzScheduler.java | 31 +- .../push/rabbit/receive/RabbitReceiver.java | 41 +- .../ynxbd/push/rabbit/send/RabbitSender.java | 5 +- .../push/service/HisUniversalService.java | 57 +- .../com/ynxbd/push/test/TodayRegTest.java | 15 + src/main/resources/application.yml | 3 +- src/main/resources/weChat.ini | 113 ++-- 91 files changed, 3949 insertions(+), 1069 deletions(-) create mode 100644 logs/error/error-2022-07-22.log create mode 100644 logs/error/error-2024-12-11.log create mode 100644 logs/error/error-2024-12-12.log create mode 100644 logs/error/error-2024-12-13.log create mode 100644 logs/error/error-2024-12-14.log create mode 100644 logs/error/error-2024-12-15.log create mode 100644 logs/error/error-2024-12-16.log create mode 100644 logs/error/error-2024-12-17.log create mode 100644 logs/error/error-2024-12-18.log create mode 100644 logs/error/error-2024-12-19.log create mode 100644 logs/error/error-2024-12-20.log create mode 100644 logs/error/error-2024-12-21.log create mode 100644 logs/error/error-2024-12-22.log create mode 100644 logs/error/error-2024-12-23.log create mode 100644 logs/error/error-2024-12-24.log create mode 100644 logs/error/error-2024-12-25.log create mode 100644 logs/error/error-2024-12-26.log create mode 100644 logs/error/error-2024-12-27.log create mode 100644 logs/error/error-2024-12-28.log create mode 100644 logs/error/error-2024-12-29.log create mode 100644 logs/error/error-2024-12-30.log create mode 100644 logs/error/error-2024-12-31.log create mode 100644 logs/error/error-2025-01-01.log create mode 100644 logs/error/error-2025-01-02.log create mode 100644 logs/error/error-2025-01-03.log create mode 100644 logs/error/error-2025-01-04.log create mode 100644 logs/error/error-2025-01-05.log create mode 100644 logs/error/error-2025-01-06.log create mode 100644 logs/error/error-2025-01-07.log create mode 100644 logs/error/error-2025-01-08.log create mode 100644 logs/error/error-2025-01-09.log create mode 100644 logs/error/error-2025-01-10.log create mode 100644 logs/error/error-2025-01-11.log create mode 100644 logs/error/error-2025-01-12.log create mode 100644 logs/error/error-2025-01-13.log create mode 100644 logs/error/error-2025-01-14.log create mode 100644 logs/error/error-2025-01-15.log create mode 100644 logs/error/error-2025-01-16.log create mode 100644 logs/error/error-2025-01-17.log create mode 100644 logs/error/error-2025-01-18.log create mode 100644 logs/error/error-2025-01-19.log create mode 100644 logs/error/error-2025-01-20.log create mode 100644 logs/error/error-2025-01-21.log create mode 100644 logs/error/error-2025-01-22.log create mode 100644 logs/error/error-2025-01-23.log create mode 100644 logs/error/error-2025-01-24.log create mode 100644 logs/error/error-2025-01-25.log create mode 100644 logs/error/error-2025-01-26.log create mode 100644 logs/error/error-2025-01-27.log create mode 100644 logs/error/error-2025-01-28.log create mode 100644 logs/error/error-2025-01-29.log create mode 100644 logs/error/error-2025-01-30.log create mode 100644 logs/error/error-2025-01-31.log create mode 100644 logs/error/error-2025-02-01.log create mode 100644 logs/error/error-2025-02-02.log create mode 100644 logs/error/error-2025-02-03.log create mode 100644 logs/error/error-2025-02-05.log create mode 100644 logs/error/error-2025-02-06.log create mode 100644 logs/info/info-2022-07-22.log create mode 100644 logs/info/info-2024-12-10.log create mode 100644 src/main/java/com/ynxbd/push/entity/xbd/wx/Order.java create mode 100644 src/main/java/com/ynxbd/push/entity/xbd/wx/Register.java create mode 100644 src/main/java/com/ynxbd/push/quartz/job/TodayRegJob.java rename src/main/java/com/ynxbd/push/{ => quartz}/pushJob/BI/BiPush.java (83%) create mode 100644 src/main/java/com/ynxbd/push/quartz/pushJob/TodayReg/TodayReg.java create mode 100644 src/main/java/com/ynxbd/push/test/TodayRegTest.java diff --git a/.DS_Store b/.DS_Store index d37074364905080d94afc5b5678f69ce390b7312..e3393ee76c0d3a47c9c88ac984e25613f7440fa6 100644 GIT binary patch delta 20 bcmZoMXffEJ&&F(EhCacheConfig.java:36) - at WxCacheRequest.createAccessTokenCache(WxCacheHelper.java:27) - at WxCacheRequest.(WxCacheHelper.java:16) - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(HttpWeChatDataHelper.java:38) - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:93) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:08:40.062][WxCacheRequest - getWxAccessToken - 64] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:08:40.686][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:93) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:40:37.894][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:40:37.896][WxCacheRequest - getWxAccessToken - 72] 重试请求第1次 -[15:40:38.471][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:44:09.611][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:44:09.611][WxCacheRequest - getWxAccessToken - 72] 重试请求第1次 -[15:44:09.617][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:44:09.617][WxCacheRequest - getWxAccessToken - 72] 重试请求第2次 -[15:44:09.622][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:44:09.623][WxCacheRequest - getWxAccessToken - 72] 重试请求第3次 -[15:44:09.628][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:44:09.628][WxCacheRequest - getWxAccessToken - 69] 多次请求后未获取到正确token,抛出异常 -[15:44:10.214][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:44:35.211][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:44:35.211][WxCacheRequest - getWxAccessToken - 69] 多次请求后未获取到正确token,抛出异常 -[15:44:35.293][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:45:26.287][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:45:26.289][WxCacheRequest - getWxAccessToken - 73] 重试请求第1次 -[15:45:26.294][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:45:26.294][WxCacheRequest - getWxAccessToken - 73] 重试请求第2次 -[15:45:26.297][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:45:26.297][WxCacheRequest - getWxAccessToken - 73] 重试请求第3次 -[15:45:26.301][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:45:26.301][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 -[15:45:26.911][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:45:40.269][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:45:40.271][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 -[15:45:40.520][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:47:11.309][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:11.310][WxCacheRequest - getWxAccessToken - 73] 重试请求第1次 -[15:47:11.314][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:11.314][WxCacheRequest - getWxAccessToken - 73] 重试请求第2次 -[15:47:11.316][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:11.316][WxCacheRequest - getWxAccessToken - 73] 重试请求第3次 -[15:47:11.319][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:11.319][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 -[15:47:11.916][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) -[15:47:21.788][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:21.788][WxCacheRequest - getWxAccessToken - 73] 重试请求第1次 -[15:47:21.799][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:21.799][WxCacheRequest - getWxAccessToken - 73] 重试请求第2次 -[15:47:21.810][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:21.811][WxCacheRequest - getWxAccessToken - 73] 重试请求第3次 -[15:47:21.817][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) -[15:47:21.818][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 -[15:47:21.890][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause -java.lang.NullPointerException: null - at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) - at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) - at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) - at java.lang.Thread.run(Thread.java:748) +[08:51:04.922][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:51:04.936][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2022-07-22.log b/logs/error/error-2022-07-22.log new file mode 100644 index 0000000..712d0fe --- /dev/null +++ b/logs/error/error-2022-07-22.log @@ -0,0 +1,535 @@ +[15:02:41.242][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.ExceptionInInitializerError] with root cause +java.lang.IllegalArgumentException: Directory couldn't be created: /wx-push-cache/wx-push-cache-data + at org.ehcache.impl.persistence.FileUtils.createLocationIfRequiredAndVerify(FileUtils.java:63) + at org.ehcache.impl.persistence.DefaultLocalPersistenceService.internalStart(DefaultLocalPersistenceService.java:85) + at org.ehcache.impl.persistence.DefaultLocalPersistenceService.start(DefaultLocalPersistenceService.java:75) + at org.ehcache.core.spi.ServiceLocator.startAllServices(ServiceLocator.java:128) + at org.ehcache.core.EhcacheManager.init(EhcacheManager.java:577) + at com.ynxbd.push.config.EhCacheConfig.initCacheManager(EhCacheConfig.java:45) + at com.ynxbd.push.config.EhCacheConfig.(EhCacheConfig.java:36) + at WxCacheRequest.createAccessTokenCache(WxCacheHelper.java:27) + at WxCacheRequest.(WxCacheHelper.java:16) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(HttpWeChatDataHelper.java:38) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:93) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:08:40.062][WxCacheRequest - getWxAccessToken - 64] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:08:40.686][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:93) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:40:37.894][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:40:37.896][WxCacheRequest - getWxAccessToken - 72] 重试请求第1次 +[15:40:38.471][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:44:09.611][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:44:09.611][WxCacheRequest - getWxAccessToken - 72] 重试请求第1次 +[15:44:09.617][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:44:09.617][WxCacheRequest - getWxAccessToken - 72] 重试请求第2次 +[15:44:09.622][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:44:09.623][WxCacheRequest - getWxAccessToken - 72] 重试请求第3次 +[15:44:09.628][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:44:09.628][WxCacheRequest - getWxAccessToken - 69] 多次请求后未获取到正确token,抛出异常 +[15:44:10.214][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:44:35.211][WxCacheRequest - getWxAccessToken - 67] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:44:35.211][WxCacheRequest - getWxAccessToken - 69] 多次请求后未获取到正确token,抛出异常 +[15:44:35.293][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:45:26.287][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:45:26.289][WxCacheRequest - getWxAccessToken - 73] 重试请求第1次 +[15:45:26.294][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:45:26.294][WxCacheRequest - getWxAccessToken - 73] 重试请求第2次 +[15:45:26.297][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:45:26.297][WxCacheRequest - getWxAccessToken - 73] 重试请求第3次 +[15:45:26.301][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:45:26.301][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 +[15:45:26.911][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:45:40.269][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:45:40.271][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 +[15:45:40.520][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:47:11.309][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:11.310][WxCacheRequest - getWxAccessToken - 73] 重试请求第1次 +[15:47:11.314][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:11.314][WxCacheRequest - getWxAccessToken - 73] 重试请求第2次 +[15:47:11.316][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:11.316][WxCacheRequest - getWxAccessToken - 73] 重试请求第3次 +[15:47:11.319][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:11.319][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 +[15:47:11.916][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) +[15:47:21.788][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:21.788][WxCacheRequest - getWxAccessToken - 73] 重试请求第1次 +[15:47:21.799][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:21.799][WxCacheRequest - getWxAccessToken - 73] 重试请求第2次 +[15:47:21.810][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:21.811][WxCacheRequest - getWxAccessToken - 73] 重试请求第3次 +[15:47:21.817][WxCacheRequest - getWxAccessToken - 68] 请求微信获取Token错误:I/O error on GET request for "http://127.0.0.1:8080/wx/api/getWxAccessToken.do": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) +[15:47:21.818][WxCacheRequest - getWxAccessToken - 70] 多次请求后未获取到正确token,抛出异常 +[15:47:21.890][org.apache.juli.logging.DirectJDKLog - log - 175] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause +java.lang.NullPointerException: null + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(HttpWeChatDataHelper.java:43) + at com.ynxbd.push.controller.SendMessageController.templateMessageSend(SendMessageController.java:91) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) + at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) + at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879) + at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) + at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) + at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) + at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) + at java.lang.Thread.run(Thread.java:748) diff --git a/logs/error/error-2024-12-11.log b/logs/error/error-2024-12-11.log new file mode 100644 index 0000000..71d35c8 --- /dev/null +++ b/logs/error/error-2024-12-11.log @@ -0,0 +1,71 @@ +[08:12:08.045][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.ExceptionInInitializerError: null + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379 +Caused by: java.net.ConnectException: Connection refused + at java.base/sun.nio.ch.Net.pollConnect(Native Method) + at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672) + at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946) + at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330) + at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.base/java.lang.Thread.run(Thread.java:840) +[08:12:08.050][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: null + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379 +Caused by: java.net.ConnectException: Connection refused + at java.base/sun.nio.ch.Net.pollConnect(Native Method) + at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672) + at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946) + at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330) + at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.base/java.lang.Thread.run(Thread.java:840) diff --git a/logs/error/error-2024-12-12.log b/logs/error/error-2024-12-12.log new file mode 100644 index 0000000..bdf2f5c --- /dev/null +++ b/logs/error/error-2024-12-12.log @@ -0,0 +1,41 @@ +[08:25:07.231][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:25:07.238][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-13.log b/logs/error/error-2024-12-13.log new file mode 100644 index 0000000..6382c92 --- /dev/null +++ b/logs/error/error-2024-12-13.log @@ -0,0 +1,41 @@ +[08:42:10.211][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:42:10.216][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-14.log b/logs/error/error-2024-12-14.log new file mode 100644 index 0000000..78559b8 --- /dev/null +++ b/logs/error/error-2024-12-14.log @@ -0,0 +1,41 @@ +[08:50:44.957][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:50:44.963][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-15.log b/logs/error/error-2024-12-15.log new file mode 100644 index 0000000..c318e8b --- /dev/null +++ b/logs/error/error-2024-12-15.log @@ -0,0 +1,41 @@ +[08:01:37.105][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:01:37.112][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-16.log b/logs/error/error-2024-12-16.log new file mode 100644 index 0000000..75b9eca --- /dev/null +++ b/logs/error/error-2024-12-16.log @@ -0,0 +1,41 @@ +[08:38:46.897][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:38:46.904][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-17.log b/logs/error/error-2024-12-17.log new file mode 100644 index 0000000..9f422f4 --- /dev/null +++ b/logs/error/error-2024-12-17.log @@ -0,0 +1,41 @@ +[08:49:37.160][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:49:37.165][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-18.log b/logs/error/error-2024-12-18.log new file mode 100644 index 0000000..b6761c6 --- /dev/null +++ b/logs/error/error-2024-12-18.log @@ -0,0 +1,41 @@ +[08:08:10.554][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:08:10.562][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-19.log b/logs/error/error-2024-12-19.log new file mode 100644 index 0000000..a1e8fa4 --- /dev/null +++ b/logs/error/error-2024-12-19.log @@ -0,0 +1,41 @@ +[08:37:33.634][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:37:33.640][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-20.log b/logs/error/error-2024-12-20.log new file mode 100644 index 0000000..98e6e9c --- /dev/null +++ b/logs/error/error-2024-12-20.log @@ -0,0 +1,41 @@ +[08:05:37.576][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:05:37.583][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-21.log b/logs/error/error-2024-12-21.log new file mode 100644 index 0000000..59ef724 --- /dev/null +++ b/logs/error/error-2024-12-21.log @@ -0,0 +1,41 @@ +[09:03:31.369][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:03:31.377][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-22.log b/logs/error/error-2024-12-22.log new file mode 100644 index 0000000..7cac533 --- /dev/null +++ b/logs/error/error-2024-12-22.log @@ -0,0 +1,41 @@ +[09:13:28.479][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:13:28.485][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-23.log b/logs/error/error-2024-12-23.log new file mode 100644 index 0000000..856201b --- /dev/null +++ b/logs/error/error-2024-12-23.log @@ -0,0 +1,41 @@ +[08:54:54.590][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:54:54.596][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-24.log b/logs/error/error-2024-12-24.log new file mode 100644 index 0000000..55f661f --- /dev/null +++ b/logs/error/error-2024-12-24.log @@ -0,0 +1,41 @@ +[08:44:06.300][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:44:06.308][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-25.log b/logs/error/error-2024-12-25.log new file mode 100644 index 0000000..0b3e6f3 --- /dev/null +++ b/logs/error/error-2024-12-25.log @@ -0,0 +1,41 @@ +[08:03:11.318][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:03:11.327][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-26.log b/logs/error/error-2024-12-26.log new file mode 100644 index 0000000..0f10967 --- /dev/null +++ b/logs/error/error-2024-12-26.log @@ -0,0 +1,41 @@ +[08:54:00.298][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:54:00.303][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-27.log b/logs/error/error-2024-12-27.log new file mode 100644 index 0000000..7657032 --- /dev/null +++ b/logs/error/error-2024-12-27.log @@ -0,0 +1,41 @@ +[08:07:31.488][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:07:31.493][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-28.log b/logs/error/error-2024-12-28.log new file mode 100644 index 0000000..30f30d3 --- /dev/null +++ b/logs/error/error-2024-12-28.log @@ -0,0 +1,41 @@ +[08:03:36.071][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:03:36.079][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-29.log b/logs/error/error-2024-12-29.log new file mode 100644 index 0000000..a7c8e6c --- /dev/null +++ b/logs/error/error-2024-12-29.log @@ -0,0 +1,41 @@ +[08:06:17.615][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:06:17.621][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-30.log b/logs/error/error-2024-12-30.log new file mode 100644 index 0000000..ab0d1ff --- /dev/null +++ b/logs/error/error-2024-12-30.log @@ -0,0 +1,41 @@ +[08:00:16.082][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:00:16.087][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2024-12-31.log b/logs/error/error-2024-12-31.log new file mode 100644 index 0000000..7c4826c --- /dev/null +++ b/logs/error/error-2024-12-31.log @@ -0,0 +1,41 @@ +[08:11:51.688][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:11:51.697][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-01.log b/logs/error/error-2025-01-01.log new file mode 100644 index 0000000..307792a --- /dev/null +++ b/logs/error/error-2025-01-01.log @@ -0,0 +1,41 @@ +[08:47:46.563][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:47:46.578][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-02.log b/logs/error/error-2025-01-02.log new file mode 100644 index 0000000..dfbbf81 --- /dev/null +++ b/logs/error/error-2025-01-02.log @@ -0,0 +1,41 @@ +[08:54:51.098][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:54:51.116][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-03.log b/logs/error/error-2025-01-03.log new file mode 100644 index 0000000..3c15315 --- /dev/null +++ b/logs/error/error-2025-01-03.log @@ -0,0 +1,41 @@ +[08:41:58.872][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:41:58.887][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-04.log b/logs/error/error-2025-01-04.log new file mode 100644 index 0000000..69e76e1 --- /dev/null +++ b/logs/error/error-2025-01-04.log @@ -0,0 +1,41 @@ +[09:01:07.960][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:01:07.968][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-05.log b/logs/error/error-2025-01-05.log new file mode 100644 index 0000000..087992e --- /dev/null +++ b/logs/error/error-2025-01-05.log @@ -0,0 +1,41 @@ +[08:12:08.195][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:12:08.205][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-06.log b/logs/error/error-2025-01-06.log new file mode 100644 index 0000000..19b15de --- /dev/null +++ b/logs/error/error-2025-01-06.log @@ -0,0 +1,41 @@ +[08:03:20.115][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:03:20.122][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-07.log b/logs/error/error-2025-01-07.log new file mode 100644 index 0000000..b3ba34c --- /dev/null +++ b/logs/error/error-2025-01-07.log @@ -0,0 +1,41 @@ +[08:17:37.496][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:17:37.509][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-08.log b/logs/error/error-2025-01-08.log new file mode 100644 index 0000000..3e28fae --- /dev/null +++ b/logs/error/error-2025-01-08.log @@ -0,0 +1,41 @@ +[08:26:07.828][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:26:07.834][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-09.log b/logs/error/error-2025-01-09.log new file mode 100644 index 0000000..d03de33 --- /dev/null +++ b/logs/error/error-2025-01-09.log @@ -0,0 +1,41 @@ +[08:09:54.069][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:09:54.077][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-10.log b/logs/error/error-2025-01-10.log new file mode 100644 index 0000000..da25a70 --- /dev/null +++ b/logs/error/error-2025-01-10.log @@ -0,0 +1,41 @@ +[08:19:18.370][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:19:18.385][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-11.log b/logs/error/error-2025-01-11.log new file mode 100644 index 0000000..35e9395 --- /dev/null +++ b/logs/error/error-2025-01-11.log @@ -0,0 +1,41 @@ +[09:01:12.545][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:01:12.553][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-12.log b/logs/error/error-2025-01-12.log new file mode 100644 index 0000000..3da2d96 --- /dev/null +++ b/logs/error/error-2025-01-12.log @@ -0,0 +1,41 @@ +[08:55:09.875][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:55:09.881][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-13.log b/logs/error/error-2025-01-13.log new file mode 100644 index 0000000..55bc2fe --- /dev/null +++ b/logs/error/error-2025-01-13.log @@ -0,0 +1,41 @@ +[08:55:33.977][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:55:33.987][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-14.log b/logs/error/error-2025-01-14.log new file mode 100644 index 0000000..cfa3139 --- /dev/null +++ b/logs/error/error-2025-01-14.log @@ -0,0 +1,41 @@ +[08:45:54.772][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:45:54.790][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-15.log b/logs/error/error-2025-01-15.log new file mode 100644 index 0000000..f6f9085 --- /dev/null +++ b/logs/error/error-2025-01-15.log @@ -0,0 +1,41 @@ +[08:08:44.639][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:08:44.647][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-16.log b/logs/error/error-2025-01-16.log new file mode 100644 index 0000000..f27ccee --- /dev/null +++ b/logs/error/error-2025-01-16.log @@ -0,0 +1,41 @@ +[08:05:40.407][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:05:40.411][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-17.log b/logs/error/error-2025-01-17.log new file mode 100644 index 0000000..baa571a --- /dev/null +++ b/logs/error/error-2025-01-17.log @@ -0,0 +1,41 @@ +[08:03:25.310][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:03:25.317][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-18.log b/logs/error/error-2025-01-18.log new file mode 100644 index 0000000..ee7f415 --- /dev/null +++ b/logs/error/error-2025-01-18.log @@ -0,0 +1,41 @@ +[08:11:06.883][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:11:06.888][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-19.log b/logs/error/error-2025-01-19.log new file mode 100644 index 0000000..51d6c51 --- /dev/null +++ b/logs/error/error-2025-01-19.log @@ -0,0 +1,41 @@ +[09:07:53.665][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:07:53.678][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-20.log b/logs/error/error-2025-01-20.log new file mode 100644 index 0000000..e9e8922 --- /dev/null +++ b/logs/error/error-2025-01-20.log @@ -0,0 +1,41 @@ +[08:55:06.610][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:55:06.614][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-21.log b/logs/error/error-2025-01-21.log new file mode 100644 index 0000000..927a792 --- /dev/null +++ b/logs/error/error-2025-01-21.log @@ -0,0 +1,41 @@ +[08:56:10.682][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:56:10.688][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-22.log b/logs/error/error-2025-01-22.log new file mode 100644 index 0000000..649982e --- /dev/null +++ b/logs/error/error-2025-01-22.log @@ -0,0 +1,41 @@ +[08:24:27.833][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:24:27.841][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-23.log b/logs/error/error-2025-01-23.log new file mode 100644 index 0000000..88a383c --- /dev/null +++ b/logs/error/error-2025-01-23.log @@ -0,0 +1,41 @@ +[08:05:22.050][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:05:22.058][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-24.log b/logs/error/error-2025-01-24.log new file mode 100644 index 0000000..279fc41 --- /dev/null +++ b/logs/error/error-2025-01-24.log @@ -0,0 +1,41 @@ +[08:56:30.571][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:56:30.578][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-25.log b/logs/error/error-2025-01-25.log new file mode 100644 index 0000000..52f80c8 --- /dev/null +++ b/logs/error/error-2025-01-25.log @@ -0,0 +1,41 @@ +[08:54:28.043][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:54:28.049][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-26.log b/logs/error/error-2025-01-26.log new file mode 100644 index 0000000..708f543 --- /dev/null +++ b/logs/error/error-2025-01-26.log @@ -0,0 +1,41 @@ +[08:01:12.633][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:01:12.641][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-27.log b/logs/error/error-2025-01-27.log new file mode 100644 index 0000000..5db1338 --- /dev/null +++ b/logs/error/error-2025-01-27.log @@ -0,0 +1,41 @@ +[08:01:44.060][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:01:44.066][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-28.log b/logs/error/error-2025-01-28.log new file mode 100644 index 0000000..adf1d80 --- /dev/null +++ b/logs/error/error-2025-01-28.log @@ -0,0 +1,41 @@ +[08:00:17.437][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:00:17.443][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-29.log b/logs/error/error-2025-01-29.log new file mode 100644 index 0000000..ae753f7 --- /dev/null +++ b/logs/error/error-2025-01-29.log @@ -0,0 +1,41 @@ +[08:03:49.803][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:03:49.810][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-30.log b/logs/error/error-2025-01-30.log new file mode 100644 index 0000000..c794ea7 --- /dev/null +++ b/logs/error/error-2025-01-30.log @@ -0,0 +1,41 @@ +[08:37:47.562][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:37:47.569][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-01-31.log b/logs/error/error-2025-01-31.log new file mode 100644 index 0000000..5d6e73f --- /dev/null +++ b/logs/error/error-2025-01-31.log @@ -0,0 +1,41 @@ +[08:10:21.397][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:10:21.403][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-02-01.log b/logs/error/error-2025-02-01.log new file mode 100644 index 0000000..55cc285 --- /dev/null +++ b/logs/error/error-2025-02-01.log @@ -0,0 +1,41 @@ +[09:08:23.088][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:08:23.094][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-02-02.log b/logs/error/error-2025-02-02.log new file mode 100644 index 0000000..22a4cd5 --- /dev/null +++ b/logs/error/error-2025-02-02.log @@ -0,0 +1,41 @@ +[08:02:43.936][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:02:43.941][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-02-03.log b/logs/error/error-2025-02-03.log new file mode 100644 index 0000000..e5c1507 --- /dev/null +++ b/logs/error/error-2025-02-03.log @@ -0,0 +1,41 @@ +[08:45:20.033][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:45:20.040][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-02-05.log b/logs/error/error-2025-02-05.log new file mode 100644 index 0000000..98b0124 --- /dev/null +++ b/logs/error/error-2025-02-05.log @@ -0,0 +1,41 @@ +[09:13:50.407][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[09:13:50.890][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/error/error-2025-02-06.log b/logs/error/error-2025-02-06.log new file mode 100644 index 0000000..777512a --- /dev/null +++ b/logs/error/error-2025-02-06.log @@ -0,0 +1,41 @@ +[08:49:09.790][org.quartz.core.JobRunShell - run - 211] Job WorkLog.WorkLoad threw an unhandled Exception: +java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted +[08:49:09.797][org.quartz.core.ErrorLogger - schedulerError - 2407] Job (WorkLog.WorkLoad threw an exception. +org.quartz.SchedulerException: Job threw an unhandled exception. + at org.quartz.core.JobRunShell.run(JobRunShell.java:213) + at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) +Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ynxbd.push.helper.RedisHelper$Inner + at com.ynxbd.push.helper.RedisHelper.getRedis(RedisHelper.java:34) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateList(WeChatDataRequest.java:81) + at com.ynxbd.push.httpRequest.tencent.WeChatDataRequest.getTemplateId(WeChatDataRequest.java:93) + at com.ynxbd.push.quartz.pushJob.BI.BiPush.runJob(BiPush.java:33) + at com.ynxbd.push.quartz.job.WorkLoadJob.execute(WorkLoadJob.java:20) + at org.quartz.core.JobRunShell.run(JobRunShell.java:202) + ... 1 common frames omitted +Caused by: java.lang.ExceptionInInitializerError: Exception io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1/:6379 [in thread "DefaultQuartzScheduler_Worker-2"] + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78) + at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56) + at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:242) + at io.lettuce.core.RedisClient.connect(RedisClient.java:206) + at io.lettuce.core.RedisClient.connect(RedisClient.java:191) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:30) + at com.ynxbd.push.helper.RedisHelper.(RedisHelper.java:17) + at com.ynxbd.push.helper.RedisHelper$Inner.(RedisHelper.java:37) + ... 7 common frames omitted diff --git a/logs/info.log b/logs/info.log index 7808214..095adf0 100644 --- a/logs/info.log +++ b/logs/info.log @@ -1,357 +1,3 @@ -[15:02:22.612][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63184 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:02:22.614][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:02:23.864][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:02:23.865][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:02:23.866][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:02:23.922][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:02:24.007][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:02:24.008][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:02:24.013][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:02:24.014][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:02:24.014][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:02:24.015][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:02:24.015][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:02:24.015][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:02:24.317][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:02:24.347][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:02:24.352][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:02:24.355][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.14 seconds (JVM running for 3.266) -[15:02:40.528][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:08:32.735][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63271 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:08:32.740][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:08:33.872][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:08:33.874][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:08:33.874][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:08:33.926][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:08:34.016][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:08:34.017][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:08:34.022][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:08:34.022][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:08:34.023][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:08:34.023][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:08:34.023][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:08:34.024][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:08:34.314][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:08:34.344][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:08:34.349][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:08:34.353][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.996 seconds (JVM running for 2.798) -[15:08:39.179][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:08:40.018][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:08:40.021][WxCacheRequest - getWxAccessToken - 56] 启动医院为:(本地)蒙自市第一人民医院 -[15:08:40.318][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[d11da03d-1506-4d59-9dc6-c3f796cde111] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:08:40.634][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[d11da03d-1506-4d59-9dc6-c3f796cde111] elapsed time:317 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d8fb78-2dfd219b-19bc134f"} -[15:09:34.927][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63302 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:09:34.930][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:09:35.929][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:09:35.931][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:09:35.931][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:09:35.981][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:09:36.067][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:09:36.068][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:09:36.073][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:09:36.073][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:09:36.075][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:09:36.076][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:09:36.076][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:09:36.077][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:09:36.437][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:09:36.465][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:09:36.471][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:09:36.477][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.878 seconds (JVM running for 2.506) -[15:09:43.918][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:09:44.768][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:09:44.770][WxCacheRequest - getWxAccessToken - 56] 启动医院为:(本地)蒙自市第一人民医院 -[15:09:56.545][WxCacheRequest - getWxAccessToken - 58] access_code:200 -[15:09:56.550][WxCacheRequest - getWxAccessToken - 60] access_token:59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM -[15:09:56.789][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[a6bad539-9b7f-448d-bc1d-96b9c4a1c7b8] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM&lang=zh_CN -[15:09:57.310][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[a6bad539-9b7f-448d-bc1d-96b9c4a1c7b8] elapsed time:521 ms RESPONSE DATA:{"template_list":[{"template_id":"gEe0a8JwbNw_rII5nzM9b5ipsqu7eoMzUM4oU4ndcoI","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""},{"template_id":"Rt30w4zFMuKe62wpEfELZkC42qjVVs1j9nOm2pnuPWk","title":"信息完善提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n信息类型:{{keyword1.DATA}}\n医院:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您好,为了更好跟踪您的病情,请完善您的个人信息\r\n信息类型:生活习惯\r\n医院:广东省中医院\r\n点击完善个人信息。"},{"template_id":"CkUk68zgI2nU2eHHQ6K-6RuJDbDQbf_xw6EVyfpYiKs","title":"排队叫号提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n科室:{{keyword1.DATA}}\n医生:{{keyword2.DATA}}\n当前叫号:{{keyword3.DATA}}\n本人号码:{{keyword4.DATA}}\n需等待人数:{{keyword5.DATA}}\n{{remark.DATA}}","example":"您已进入候诊队列,请及时查看。\r\n科室:内科\r\n医生:张医生\r\n当前叫号:001\r\n本人号码:009\r\n需等待人数:8\r\n请合理安排好时间及时就诊,以免过号。"},{"template_id":"tbHXha5siTC1Fs0vCXQoHB0zlKmgtOp2Ihf_CzH2d4o","title":"健康卡成功升级通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n升级时间:{{keyword1.DATA}}\n升级说明:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您已成功将就诊卡升级为健康卡!\r\n升级时间:2014年7月21日 18:36\r\n升级说明:健康卡可完全替代就诊卡,支持区域内多家医院跨院就医,无需重复办卡,实现线上挂号缴费,线下扫码就医。\r\n点击查看健康卡"},{"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","title":"绑定通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n内容:{{keyword1.DATA}}\n时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"刘先生,你好:\r\n内容:某某医生提醒您尽快绑定xx账号,以便沟通\r\n时间:2015年9月29日 12:36\r\n点击详情查看更多"}]} -[15:09:57.338][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 95] template_id:yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI -[15:09:57.338][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 96] code:0 -[15:09:57.339][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 97] open_id:34AA9283E73A1796A8A89DCB5D6CCA721024D2B37F85D3740B2B51C650D4D610 -[15:09:57.385][com.ynxbd.push.helper.MessageApiHelper - templateMessage - 76] SendTenCentJson:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} -[15:09:57.395][weixin.popular.client.LocalHttpClient - loggerRequest - 250] URI[717d9c1b-8bd2-49e1-b2a9-23b600bd64b9] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM Content-Type: text/plain; charset=UTF-8 ContentLength:511 Content:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} -[15:09:57.836][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[717d9c1b-8bd2-49e1-b2a9-23b600bd64b9] elapsed time:441 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":2496367981904855042} -[15:09:57.844][com.ynxbd.push.helper.MessageApiHelper - templateMessageSend - 63] TenCent Return Message0 -[15:10:12.388][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[0faadec5-3023-401b-b7e8-1b36890dfdba] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM&lang=zh_CN -[15:10:12.662][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[0faadec5-3023-401b-b7e8-1b36890dfdba] elapsed time:275 ms RESPONSE DATA:{"template_list":[{"template_id":"gEe0a8JwbNw_rII5nzM9b5ipsqu7eoMzUM4oU4ndcoI","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""},{"template_id":"Rt30w4zFMuKe62wpEfELZkC42qjVVs1j9nOm2pnuPWk","title":"信息完善提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n信息类型:{{keyword1.DATA}}\n医院:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您好,为了更好跟踪您的病情,请完善您的个人信息\r\n信息类型:生活习惯\r\n医院:广东省中医院\r\n点击完善个人信息。"},{"template_id":"CkUk68zgI2nU2eHHQ6K-6RuJDbDQbf_xw6EVyfpYiKs","title":"排队叫号提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n科室:{{keyword1.DATA}}\n医生:{{keyword2.DATA}}\n当前叫号:{{keyword3.DATA}}\n本人号码:{{keyword4.DATA}}\n需等待人数:{{keyword5.DATA}}\n{{remark.DATA}}","example":"您已进入候诊队列,请及时查看。\r\n科室:内科\r\n医生:张医生\r\n当前叫号:001\r\n本人号码:009\r\n需等待人数:8\r\n请合理安排好时间及时就诊,以免过号。"},{"template_id":"tbHXha5siTC1Fs0vCXQoHB0zlKmgtOp2Ihf_CzH2d4o","title":"健康卡成功升级通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n升级时间:{{keyword1.DATA}}\n升级说明:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您已成功将就诊卡升级为健康卡!\r\n升级时间:2014年7月21日 18:36\r\n升级说明:健康卡可完全替代就诊卡,支持区域内多家医院跨院就医,无需重复办卡,实现线上挂号缴费,线下扫码就医。\r\n点击查看健康卡"},{"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","title":"绑定通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n内容:{{keyword1.DATA}}\n时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"刘先生,你好:\r\n内容:某某医生提醒您尽快绑定xx账号,以便沟通\r\n时间:2015年9月29日 12:36\r\n点击详情查看更多"}]} -[15:10:12.667][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 95] template_id:yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI -[15:10:12.668][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 96] code:0 -[15:10:12.668][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 97] open_id:34AA9283E73A1796A8A89DCB5D6CCA721024D2B37F85D3740B2B51C650D4D610 -[15:10:12.700][com.ynxbd.push.helper.MessageApiHelper - templateMessage - 76] SendTenCentJson:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} -[15:10:12.704][weixin.popular.client.LocalHttpClient - loggerRequest - 250] URI[d2b8823e-f222-4303-b5d3-cf9837fb624f] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM Content-Type: text/plain; charset=UTF-8 ContentLength:511 Content:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} -[15:10:13.078][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[d2b8823e-f222-4303-b5d3-cf9837fb624f] elapsed time:375 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":2496368237858062338} -[15:10:13.080][com.ynxbd.push.helper.MessageApiHelper - templateMessageSend - 63] TenCent Return Message0 -[15:28:38.359][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63607 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:28:38.364][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:28:39.531][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:28:39.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:28:39.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:28:39.597][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:28:39.696][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:28:39.697][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:28:39.702][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:28:39.702][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:28:39.702][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:28:39.703][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:28:39.703][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:28:39.703][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:28:39.991][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:28:40.019][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:28:40.025][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:28:40.029][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.105 seconds (JVM running for 3.01) -[15:40:30.532][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63752 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:40:30.537][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:40:31.739][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:40:31.741][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:40:31.741][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:40:31.803][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:40:31.889][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:40:31.890][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:40:31.895][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:40:31.895][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:40:31.895][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:40:31.896][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:40:31.896][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:40:31.896][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:40:32.189][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:40:32.218][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:40:32.224][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:40:32.228][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.079 seconds (JVM running for 2.925) -[15:40:36.941][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:40:37.851][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:40:37.854][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 -[15:40:38.139][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[b143d739-1695-497f-adac-f549c33a1637] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:40:38.419][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[b143d739-1695-497f-adac-f549c33a1637] elapsed time:282 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d902f6-2f03e732-2cd63ec1"} -[15:43:59.781][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63812 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:43:59.784][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:44:00.875][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:44:00.877][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:44:00.877][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:44:00.932][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:44:01.043][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:44:01.044][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:44:01.053][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:44:01.054][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:44:01.054][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:44:01.055][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:44:01.055][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:44:01.055][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:44:01.377][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:44:01.402][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:44:01.408][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:44:01.412][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.966 seconds (JVM running for 2.734) -[15:44:08.746][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:44:09.575][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:44:09.577][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 -[15:44:09.612][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 -[15:44:09.618][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 -[15:44:09.623][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 -[15:44:09.892][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[6e6cc995-4014-4452-b42b-d10222d693f6] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:44:10.166][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[6e6cc995-4014-4452-b42b-d10222d693f6] elapsed time:275 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d903ca-02c4bc43-5edaae1e"} -[15:44:35.196][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 -[15:44:35.212][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[4829c1d7-228d-4a48-9da7-66b6ed57858d] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:44:35.285][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[4829c1d7-228d-4a48-9da7-66b6ed57858d] elapsed time:73 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d903e3-717a2262-3c394660"} -[15:45:19.389][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63878 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:45:19.391][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:45:20.607][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:45:20.608][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:45:20.608][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:45:20.663][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:45:20.752][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:45:20.753][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:45:20.758][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:45:20.758][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:45:20.758][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:45:20.759][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:45:20.759][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:45:20.759][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:45:21.049][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:45:21.078][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:45:21.086][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:45:21.090][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.035 seconds (JVM running for 2.671) -[15:45:25.436][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:45:26.252][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:45:26.254][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:45:26.290][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:45:26.294][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:45:26.298][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:45:26.581][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[0873d514-a726-455a-b271-5c979f16c022] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:45:26.865][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[0873d514-a726-455a-b271-5c979f16c022] elapsed time:284 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d90416-4a9bf85b-32945600"} -[15:45:40.235][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:45:40.273][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[3a5c66f8-43db-47a8-8fcc-7bc120c635dc] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:45:40.505][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[3a5c66f8-43db-47a8-8fcc-7bc120c635dc] elapsed time:231 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d90424-3baccba1-1f925962"} -[15:47:04.008][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63927 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:47:04.010][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:47:05.147][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:47:05.149][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:47:05.149][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:47:05.199][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:47:05.295][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:47:05.296][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:47:05.302][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:47:05.302][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:47:05.302][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:47:05.303][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:47:05.303][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:47:05.303][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:47:05.593][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:47:05.622][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:47:05.628][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:47:05.632][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.996 seconds (JVM running for 2.789) -[15:47:10.440][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:47:11.275][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:47:11.277][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:11.310][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:11.314][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:11.316][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:11.594][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[6afe4efa-133a-45c1-804b-013c7d014563] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:47:11.869][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[6afe4efa-133a-45c1-804b-013c7d014563] elapsed time:276 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d9047f-00e94d66-08b67f56"} -[15:47:21.774][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:21.790][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:21.800][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:21.812][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:47:21.819][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[60825f3b-b0fb-42c5-86ed-2211ff96c512] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN -[15:47:21.885][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[60825f3b-b0fb-42c5-86ed-2211ff96c512] elapsed time:66 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d90489-2f1501fa-10b09f13"} -[15:51:53.104][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 64020 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:51:53.108][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:51:54.530][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:51:54.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:51:54.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:51:54.585][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:51:54.675][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:51:54.676][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:51:54.680][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:51:54.681][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:51:54.681][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:51:54.682][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:51:54.682][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:51:54.682][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:51:54.999][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:51:55.029][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:51:55.036][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:51:55.040][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.325 seconds (JVM running for 3.159) -[15:53:26.451][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 64041 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) -[15:53:26.453][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[15:53:27.667][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] -[15:53:27.669][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] -[15:53:27.669][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] -[15:53:27.731][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext -[15:53:27.819][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[15:53:27.820][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain -[15:53:27.824][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[15:53:27.825][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[15:53:27.825][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[15:53:27.826][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[15:53:27.826][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[15:53:27.826][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[15:53:28.100][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] -[15:53:28.130][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[15:53:28.138][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[15:53:28.142][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.031 seconds (JVM running for 2.664) -[15:53:32.421][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' -[15:53:33.263][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 -[15:53:33.266][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 -[15:53:33.457][WxCacheRequest - getWxAccessToken - 61] access_code:200 -[15:53:33.463][WxCacheRequest - getWxAccessToken - 63] access_token:59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM -[15:53:33.708][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[275474df-17e7-4f12-9fa7-f00451aa5762] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM&lang=zh_CN -[15:53:34.236][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[275474df-17e7-4f12-9fa7-f00451aa5762] elapsed time:530 ms RESPONSE DATA:{"template_list":[{"template_id":"gEe0a8JwbNw_rII5nzM9b5ipsqu7eoMzUM4oU4ndcoI","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""},{"template_id":"Rt30w4zFMuKe62wpEfELZkC42qjVVs1j9nOm2pnuPWk","title":"信息完善提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n信息类型:{{keyword1.DATA}}\n医院:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您好,为了更好跟踪您的病情,请完善您的个人信息\r\n信息类型:生活习惯\r\n医院:广东省中医院\r\n点击完善个人信息。"},{"template_id":"CkUk68zgI2nU2eHHQ6K-6RuJDbDQbf_xw6EVyfpYiKs","title":"排队叫号提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n科室:{{keyword1.DATA}}\n医生:{{keyword2.DATA}}\n当前叫号:{{keyword3.DATA}}\n本人号码:{{keyword4.DATA}}\n需等待人数:{{keyword5.DATA}}\n{{remark.DATA}}","example":"您已进入候诊队列,请及时查看。\r\n科室:内科\r\n医生:张医生\r\n当前叫号:001\r\n本人号码:009\r\n需等待人数:8\r\n请合理安排好时间及时就诊,以免过号。"},{"template_id":"tbHXha5siTC1Fs0vCXQoHB0zlKmgtOp2Ihf_CzH2d4o","title":"健康卡成功升级通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n升级时间:{{keyword1.DATA}}\n升级说明:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您已成功将就诊卡升级为健康卡!\r\n升级时间:2014年7月21日 18:36\r\n升级说明:健康卡可完全替代就诊卡,支持区域内多家医院跨院就医,无需重复办卡,实现线上挂号缴费,线下扫码就医。\r\n点击查看健康卡"},{"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","title":"绑定通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n内容:{{keyword1.DATA}}\n时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"刘先生,你好:\r\n内容:某某医生提醒您尽快绑定xx账号,以便沟通\r\n时间:2015年9月29日 12:36\r\n点击详情查看更多"}]} -[15:53:34.260][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 93] template_id:yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI -[15:53:34.260][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 94] code:0 -[15:53:34.260][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 95] open_id:34AA9283E73A1796A8A89DCB5D6CCA721024D2B37F85D3740B2B51C650D4D610 -[15:53:34.304][com.ynxbd.push.helper.MessageApiHelper - templateMessage - 76] SendTenCentJson:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} -[15:53:34.314][weixin.popular.client.LocalHttpClient - loggerRequest - 250] URI[2a6ca860-f4ef-4eaf-8a1d-7fad8b822804] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM Content-Type: text/plain; charset=UTF-8 ContentLength:511 Content:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} -[15:53:34.654][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[2a6ca860-f4ef-4eaf-8a1d-7fad8b822804] elapsed time:340 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":2496411885748420612} -[15:53:34.661][com.ynxbd.push.helper.MessageApiHelper - templateMessageSend - 63] TenCent Return Message0 -[16:10:51.628][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplicationTests on absorber.local with PID 64330 (started by absorber in /Users/absorber/Downloads/wx-push) -[16:10:51.632][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default -[16:10:52.760][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor -[16:10:52.762][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: main -[16:10:52.771][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl -[16:10:52.771][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. -[16:10:52.772][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. -[16:10:52.773][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. - -[16:10:52.773][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' -[16:10:52.773][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 -[16:10:53.905][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... -[16:10:53.915][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. -[16:10:53.922][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplicationTests in 2.738 seconds (JVM running for 4.003) -[16:10:54.250][org.quartz.core.QuartzScheduler - shutdown - 666] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. -[16:10:54.252][org.quartz.core.QuartzScheduler - standby - 585] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused. -[16:10:54.253][org.quartz.core.QuartzScheduler - shutdown - 740] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete. +[16:51:28.500][org.quartz.core.QuartzScheduler - shutdown - 666] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. +[16:51:28.505][org.quartz.core.QuartzScheduler - standby - 585] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused. +[16:51:28.506][org.quartz.core.QuartzScheduler - shutdown - 740] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete. diff --git a/logs/info/info-2022-07-22.log b/logs/info/info-2022-07-22.log new file mode 100644 index 0000000..7808214 --- /dev/null +++ b/logs/info/info-2022-07-22.log @@ -0,0 +1,357 @@ +[15:02:22.612][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63184 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:02:22.614][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:02:23.864][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:02:23.865][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:02:23.866][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:02:23.922][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:02:24.007][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:02:24.008][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:02:24.013][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:02:24.014][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:02:24.014][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:02:24.015][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:02:24.015][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:02:24.015][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:02:24.317][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:02:24.347][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:02:24.352][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:02:24.355][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.14 seconds (JVM running for 3.266) +[15:02:40.528][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:08:32.735][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63271 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:08:32.740][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:08:33.872][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:08:33.874][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:08:33.874][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:08:33.926][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:08:34.016][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:08:34.017][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:08:34.022][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:08:34.022][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:08:34.023][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:08:34.023][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:08:34.023][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:08:34.024][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:08:34.314][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:08:34.344][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:08:34.349][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:08:34.353][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.996 seconds (JVM running for 2.798) +[15:08:39.179][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:08:40.018][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:08:40.021][WxCacheRequest - getWxAccessToken - 56] 启动医院为:(本地)蒙自市第一人民医院 +[15:08:40.318][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[d11da03d-1506-4d59-9dc6-c3f796cde111] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:08:40.634][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[d11da03d-1506-4d59-9dc6-c3f796cde111] elapsed time:317 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d8fb78-2dfd219b-19bc134f"} +[15:09:34.927][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63302 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:09:34.930][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:09:35.929][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:09:35.931][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:09:35.931][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:09:35.981][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:09:36.067][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:09:36.068][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:09:36.073][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:09:36.073][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:09:36.075][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:09:36.076][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:09:36.076][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:09:36.077][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:09:36.437][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:09:36.465][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:09:36.471][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:09:36.477][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.878 seconds (JVM running for 2.506) +[15:09:43.918][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:09:44.768][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:09:44.770][WxCacheRequest - getWxAccessToken - 56] 启动医院为:(本地)蒙自市第一人民医院 +[15:09:56.545][WxCacheRequest - getWxAccessToken - 58] access_code:200 +[15:09:56.550][WxCacheRequest - getWxAccessToken - 60] access_token:59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM +[15:09:56.789][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[a6bad539-9b7f-448d-bc1d-96b9c4a1c7b8] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM&lang=zh_CN +[15:09:57.310][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[a6bad539-9b7f-448d-bc1d-96b9c4a1c7b8] elapsed time:521 ms RESPONSE DATA:{"template_list":[{"template_id":"gEe0a8JwbNw_rII5nzM9b5ipsqu7eoMzUM4oU4ndcoI","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""},{"template_id":"Rt30w4zFMuKe62wpEfELZkC42qjVVs1j9nOm2pnuPWk","title":"信息完善提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n信息类型:{{keyword1.DATA}}\n医院:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您好,为了更好跟踪您的病情,请完善您的个人信息\r\n信息类型:生活习惯\r\n医院:广东省中医院\r\n点击完善个人信息。"},{"template_id":"CkUk68zgI2nU2eHHQ6K-6RuJDbDQbf_xw6EVyfpYiKs","title":"排队叫号提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n科室:{{keyword1.DATA}}\n医生:{{keyword2.DATA}}\n当前叫号:{{keyword3.DATA}}\n本人号码:{{keyword4.DATA}}\n需等待人数:{{keyword5.DATA}}\n{{remark.DATA}}","example":"您已进入候诊队列,请及时查看。\r\n科室:内科\r\n医生:张医生\r\n当前叫号:001\r\n本人号码:009\r\n需等待人数:8\r\n请合理安排好时间及时就诊,以免过号。"},{"template_id":"tbHXha5siTC1Fs0vCXQoHB0zlKmgtOp2Ihf_CzH2d4o","title":"健康卡成功升级通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n升级时间:{{keyword1.DATA}}\n升级说明:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您已成功将就诊卡升级为健康卡!\r\n升级时间:2014年7月21日 18:36\r\n升级说明:健康卡可完全替代就诊卡,支持区域内多家医院跨院就医,无需重复办卡,实现线上挂号缴费,线下扫码就医。\r\n点击查看健康卡"},{"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","title":"绑定通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n内容:{{keyword1.DATA}}\n时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"刘先生,你好:\r\n内容:某某医生提醒您尽快绑定xx账号,以便沟通\r\n时间:2015年9月29日 12:36\r\n点击详情查看更多"}]} +[15:09:57.338][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 95] template_id:yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI +[15:09:57.338][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 96] code:0 +[15:09:57.339][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 97] open_id:34AA9283E73A1796A8A89DCB5D6CCA721024D2B37F85D3740B2B51C650D4D610 +[15:09:57.385][com.ynxbd.push.helper.MessageApiHelper - templateMessage - 76] SendTenCentJson:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} +[15:09:57.395][weixin.popular.client.LocalHttpClient - loggerRequest - 250] URI[717d9c1b-8bd2-49e1-b2a9-23b600bd64b9] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM Content-Type: text/plain; charset=UTF-8 ContentLength:511 Content:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} +[15:09:57.836][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[717d9c1b-8bd2-49e1-b2a9-23b600bd64b9] elapsed time:441 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":2496367981904855042} +[15:09:57.844][com.ynxbd.push.helper.MessageApiHelper - templateMessageSend - 63] TenCent Return Message0 +[15:10:12.388][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[0faadec5-3023-401b-b7e8-1b36890dfdba] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM&lang=zh_CN +[15:10:12.662][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[0faadec5-3023-401b-b7e8-1b36890dfdba] elapsed time:275 ms RESPONSE DATA:{"template_list":[{"template_id":"gEe0a8JwbNw_rII5nzM9b5ipsqu7eoMzUM4oU4ndcoI","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""},{"template_id":"Rt30w4zFMuKe62wpEfELZkC42qjVVs1j9nOm2pnuPWk","title":"信息完善提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n信息类型:{{keyword1.DATA}}\n医院:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您好,为了更好跟踪您的病情,请完善您的个人信息\r\n信息类型:生活习惯\r\n医院:广东省中医院\r\n点击完善个人信息。"},{"template_id":"CkUk68zgI2nU2eHHQ6K-6RuJDbDQbf_xw6EVyfpYiKs","title":"排队叫号提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n科室:{{keyword1.DATA}}\n医生:{{keyword2.DATA}}\n当前叫号:{{keyword3.DATA}}\n本人号码:{{keyword4.DATA}}\n需等待人数:{{keyword5.DATA}}\n{{remark.DATA}}","example":"您已进入候诊队列,请及时查看。\r\n科室:内科\r\n医生:张医生\r\n当前叫号:001\r\n本人号码:009\r\n需等待人数:8\r\n请合理安排好时间及时就诊,以免过号。"},{"template_id":"tbHXha5siTC1Fs0vCXQoHB0zlKmgtOp2Ihf_CzH2d4o","title":"健康卡成功升级通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n升级时间:{{keyword1.DATA}}\n升级说明:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您已成功将就诊卡升级为健康卡!\r\n升级时间:2014年7月21日 18:36\r\n升级说明:健康卡可完全替代就诊卡,支持区域内多家医院跨院就医,无需重复办卡,实现线上挂号缴费,线下扫码就医。\r\n点击查看健康卡"},{"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","title":"绑定通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n内容:{{keyword1.DATA}}\n时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"刘先生,你好:\r\n内容:某某医生提醒您尽快绑定xx账号,以便沟通\r\n时间:2015年9月29日 12:36\r\n点击详情查看更多"}]} +[15:10:12.667][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 95] template_id:yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI +[15:10:12.668][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 96] code:0 +[15:10:12.668][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 97] open_id:34AA9283E73A1796A8A89DCB5D6CCA721024D2B37F85D3740B2B51C650D4D610 +[15:10:12.700][com.ynxbd.push.helper.MessageApiHelper - templateMessage - 76] SendTenCentJson:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} +[15:10:12.704][weixin.popular.client.LocalHttpClient - loggerRequest - 250] URI[d2b8823e-f222-4303-b5d3-cf9837fb624f] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM Content-Type: text/plain; charset=UTF-8 ContentLength:511 Content:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} +[15:10:13.078][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[d2b8823e-f222-4303-b5d3-cf9837fb624f] elapsed time:375 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":2496368237858062338} +[15:10:13.080][com.ynxbd.push.helper.MessageApiHelper - templateMessageSend - 63] TenCent Return Message0 +[15:28:38.359][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63607 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:28:38.364][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:28:39.531][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:28:39.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:28:39.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:28:39.597][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:28:39.696][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:28:39.697][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:28:39.702][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:28:39.702][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:28:39.702][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:28:39.703][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:28:39.703][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:28:39.703][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:28:39.991][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:28:40.019][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:28:40.025][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:28:40.029][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.105 seconds (JVM running for 3.01) +[15:40:30.532][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63752 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:40:30.537][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:40:31.739][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:40:31.741][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:40:31.741][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:40:31.803][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:40:31.889][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:40:31.890][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:40:31.895][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:40:31.895][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:40:31.895][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:40:31.896][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:40:31.896][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:40:31.896][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:40:32.189][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:40:32.218][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:40:32.224][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:40:32.228][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.079 seconds (JVM running for 2.925) +[15:40:36.941][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:40:37.851][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:40:37.854][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 +[15:40:38.139][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[b143d739-1695-497f-adac-f549c33a1637] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:40:38.419][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[b143d739-1695-497f-adac-f549c33a1637] elapsed time:282 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d902f6-2f03e732-2cd63ec1"} +[15:43:59.781][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63812 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:43:59.784][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:44:00.875][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:44:00.877][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:44:00.877][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:44:00.932][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:44:01.043][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:44:01.044][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:44:01.053][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:44:01.054][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:44:01.054][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:44:01.055][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:44:01.055][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:44:01.055][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:44:01.377][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:44:01.402][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:44:01.408][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:44:01.412][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.966 seconds (JVM running for 2.734) +[15:44:08.746][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:44:09.575][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:44:09.577][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 +[15:44:09.612][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 +[15:44:09.618][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 +[15:44:09.623][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 +[15:44:09.892][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[6e6cc995-4014-4452-b42b-d10222d693f6] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:44:10.166][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[6e6cc995-4014-4452-b42b-d10222d693f6] elapsed time:275 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d903ca-02c4bc43-5edaae1e"} +[15:44:35.196][WxCacheRequest - getWxAccessToken - 58] 启动医院为:(本地)蒙自市第一人民医院 +[15:44:35.212][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[4829c1d7-228d-4a48-9da7-66b6ed57858d] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:44:35.285][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[4829c1d7-228d-4a48-9da7-66b6ed57858d] elapsed time:73 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d903e3-717a2262-3c394660"} +[15:45:19.389][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63878 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:45:19.391][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:45:20.607][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:45:20.608][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:45:20.608][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:45:20.663][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:45:20.752][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:45:20.753][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:45:20.758][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:45:20.758][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:45:20.758][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:45:20.759][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:45:20.759][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:45:20.759][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:45:21.049][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:45:21.078][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:45:21.086][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:45:21.090][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.035 seconds (JVM running for 2.671) +[15:45:25.436][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:45:26.252][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:45:26.254][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:45:26.290][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:45:26.294][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:45:26.298][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:45:26.581][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[0873d514-a726-455a-b271-5c979f16c022] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:45:26.865][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[0873d514-a726-455a-b271-5c979f16c022] elapsed time:284 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d90416-4a9bf85b-32945600"} +[15:45:40.235][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:45:40.273][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[3a5c66f8-43db-47a8-8fcc-7bc120c635dc] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:45:40.505][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[3a5c66f8-43db-47a8-8fcc-7bc120c635dc] elapsed time:231 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d90424-3baccba1-1f925962"} +[15:47:04.008][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 63927 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:47:04.010][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:47:05.147][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:47:05.149][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:47:05.149][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:47:05.199][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:47:05.295][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:47:05.296][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:47:05.302][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:47:05.302][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:47:05.302][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:47:05.303][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:47:05.303][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:47:05.303][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:47:05.593][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:47:05.622][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:47:05.628][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:47:05.632][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.996 seconds (JVM running for 2.789) +[15:47:10.440][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:47:11.275][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:47:11.277][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:11.310][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:11.314][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:11.316][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:11.594][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[6afe4efa-133a-45c1-804b-013c7d014563] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:47:11.869][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[6afe4efa-133a-45c1-804b-013c7d014563] elapsed time:276 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d9047f-00e94d66-08b67f56"} +[15:47:21.774][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:21.790][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:21.800][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:21.812][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:47:21.819][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[60825f3b-b0fb-42c5-86ed-2211ff96c512] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token&lang=zh_CN +[15:47:21.885][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[60825f3b-b0fb-42c5-86ed-2211ff96c512] elapsed time:66 ms RESPONSE DATA:{"errcode":41001,"errmsg":"access_token missing rid: 62d90489-2f1501fa-10b09f13"} +[15:51:53.104][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 64020 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:51:53.108][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:51:54.530][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:51:54.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:51:54.532][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:51:54.585][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:51:54.675][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:51:54.676][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:51:54.680][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:51:54.681][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:51:54.681][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:51:54.682][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:51:54.682][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:51:54.682][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:51:54.999][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:51:55.029][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:51:55.036][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:51:55.040][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.325 seconds (JVM running for 3.159) +[15:53:26.451][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication on absorber.local with PID 64041 (/Users/absorber/Downloads/wx-push/target/classes started by absorber in /Users/absorber/Downloads/wx-push) +[15:53:26.453][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[15:53:27.667][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[15:53:27.669][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[15:53:27.669][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[15:53:27.731][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[15:53:27.819][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[15:53:27.820][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: restartedMain +[15:53:27.824][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[15:53:27.825][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[15:53:27.825][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[15:53:27.826][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[15:53:27.826][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[15:53:27.826][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[15:53:28.100][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[15:53:28.130][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[15:53:28.138][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[15:53:28.142][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 2.031 seconds (JVM running for 2.664) +[15:53:32.421][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring DispatcherServlet 'dispatcherServlet' +[15:53:33.263][com.ynxbd.push.config.IniConfig - - 31] IP:10.37.129.2 +[15:53:33.266][WxCacheRequest - getWxAccessToken - 59] 启动医院为:(本地)蒙自市第一人民医院 +[15:53:33.457][WxCacheRequest - getWxAccessToken - 61] access_code:200 +[15:53:33.463][WxCacheRequest - getWxAccessToken - 63] access_token:59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM +[15:53:33.708][weixin.popular.client.LocalHttpClient - loggerRequest - 257] URI[275474df-17e7-4f12-9fa7-f00451aa5762] https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM&lang=zh_CN +[15:53:34.236][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[275474df-17e7-4f12-9fa7-f00451aa5762] elapsed time:530 ms RESPONSE DATA:{"template_list":[{"template_id":"gEe0a8JwbNw_rII5nzM9b5ipsqu7eoMzUM4oU4ndcoI","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""},{"template_id":"Rt30w4zFMuKe62wpEfELZkC42qjVVs1j9nOm2pnuPWk","title":"信息完善提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n信息类型:{{keyword1.DATA}}\n医院:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您好,为了更好跟踪您的病情,请完善您的个人信息\r\n信息类型:生活习惯\r\n医院:广东省中医院\r\n点击完善个人信息。"},{"template_id":"CkUk68zgI2nU2eHHQ6K-6RuJDbDQbf_xw6EVyfpYiKs","title":"排队叫号提醒","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n科室:{{keyword1.DATA}}\n医生:{{keyword2.DATA}}\n当前叫号:{{keyword3.DATA}}\n本人号码:{{keyword4.DATA}}\n需等待人数:{{keyword5.DATA}}\n{{remark.DATA}}","example":"您已进入候诊队列,请及时查看。\r\n科室:内科\r\n医生:张医生\r\n当前叫号:001\r\n本人号码:009\r\n需等待人数:8\r\n请合理安排好时间及时就诊,以免过号。"},{"template_id":"tbHXha5siTC1Fs0vCXQoHB0zlKmgtOp2Ihf_CzH2d4o","title":"健康卡成功升级通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n升级时间:{{keyword1.DATA}}\n升级说明:{{keyword2.DATA}}\n{{remark.DATA}}","example":"您已成功将就诊卡升级为健康卡!\r\n升级时间:2014年7月21日 18:36\r\n升级说明:健康卡可完全替代就诊卡,支持区域内多家医院跨院就医,无需重复办卡,实现线上挂号缴费,线下扫码就医。\r\n点击查看健康卡"},{"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","title":"绑定通知","primary_industry":"医疗护理","deputy_industry":"医药医疗","content":"{{first.DATA}}\n内容:{{keyword1.DATA}}\n时间:{{keyword2.DATA}}\n{{remark.DATA}}","example":"刘先生,你好:\r\n内容:某某医生提醒您尽快绑定xx账号,以便沟通\r\n时间:2015年9月29日 12:36\r\n点击详情查看更多"}]} +[15:53:34.260][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 93] template_id:yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI +[15:53:34.260][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 94] code:0 +[15:53:34.260][com.ynxbd.push.controller.SendMessageController - templateMessageSend - 95] open_id:34AA9283E73A1796A8A89DCB5D6CCA721024D2B37F85D3740B2B51C650D4D610 +[15:53:34.304][com.ynxbd.push.helper.MessageApiHelper - templateMessage - 76] SendTenCentJson:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} +[15:53:34.314][weixin.popular.client.LocalHttpClient - loggerRequest - 250] URI[2a6ca860-f4ef-4eaf-8a1d-7fad8b822804] https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=59_vfTkhTVx3IQDup-W54HuGwW89_6rbcXQUAvgHxJ5UaT2e6FL33gj-BghbAhx3sg2bCBa2uBdw-5qxj3JxIiPDMKQp0QLJh32xfUmMydQntM0Ry2Ri_lOWWhz6ZdFLWv3EkZ-bV0CSR1uLO2DRBWaAGAHRM Content-Type: text/plain; charset=UTF-8 ContentLength:511 Content:{"data":{"keyword5":{"color":"#173177","value":null},"keyword3":{"color":"#173177","value":null},"keyword4":{"color":"#173177","value":null},"keyword1":{"color":"#173177","value":"测试"},"keyword2":{"color":"#173177","value":"测试"},"remark":{"color":"#173177","value":"测试"},"first":{"color":"#173177","value":"测试"}},"template_id":"yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI","touser":"oX5GuwV9DOhctadDV3OD7vkWQpGE","url":null,"miniprogram":{"pagepath":null,"appid":null},"title":null,"scene":null} +[15:53:34.654][weixin.popular.client.JsonResponseHandler$JsonResponseHandlerImpl - handleResponse - 39] URI[2a6ca860-f4ef-4eaf-8a1d-7fad8b822804] elapsed time:340 ms RESPONSE DATA:{"errcode":0,"errmsg":"ok","msgid":2496411885748420612} +[15:53:34.661][com.ynxbd.push.helper.MessageApiHelper - templateMessageSend - 63] TenCent Return Message0 +[16:10:51.628][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplicationTests on absorber.local with PID 64330 (started by absorber in /Users/absorber/Downloads/wx-push) +[16:10:51.632][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[16:10:52.760][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[16:10:52.762][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: main +[16:10:52.771][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[16:10:52.771][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[16:10:52.772][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[16:10:52.773][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[16:10:52.773][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[16:10:52.773][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[16:10:53.905][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[16:10:53.915][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[16:10:53.922][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplicationTests in 2.738 seconds (JVM running for 4.003) +[16:10:54.250][org.quartz.core.QuartzScheduler - shutdown - 666] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. +[16:10:54.252][org.quartz.core.QuartzScheduler - standby - 585] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused. +[16:10:54.253][org.quartz.core.QuartzScheduler - shutdown - 740] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete. diff --git a/logs/info/info-2024-12-10.log b/logs/info/info-2024-12-10.log new file mode 100644 index 0000000..521eb57 --- /dev/null +++ b/logs/info/info-2024-12-10.log @@ -0,0 +1,32 @@ +[14:22:51.569][org.springframework.boot.StartupInfoLogger - logStarting - 55] Starting AppApplication v0.0.1 on absorber.local with PID 51361 (/Users/absorber/Work/YNXBD/WeChat/wx-push/target/push-0.0.1.jar started by absorber in /Users/absorber/Work/YNXBD/WeChat/wx-push/target) +[14:22:51.573][org.springframework.boot.SpringApplication - logStartupProfileInfo - 651] No active profile set, falling back to default profiles: default +[14:22:52.161][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing ProtocolHandler ["http-nio-8123"] +[14:22:52.161][org.apache.juli.logging.DirectJDKLog - log - 173] Starting service [Tomcat] +[14:22:52.161][org.apache.juli.logging.DirectJDKLog - log - 173] Starting Servlet engine: [Apache Tomcat/9.0.36] +[14:22:52.211][org.apache.juli.logging.DirectJDKLog - log - 173] Initializing Spring embedded WebApplicationContext +[14:22:52.447][org.quartz.impl.StdSchedulerFactory - instantiate - 1220] Using default implementation for ThreadExecutor +[14:22:52.449][org.quartz.simpl.SimpleThreadPool - initialize - 268] Job execution threads will use class loader of thread: main +[14:22:52.456][org.quartz.core.SchedulerSignalerImpl - - 61] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl +[14:22:52.456][org.quartz.core.QuartzScheduler - - 229] Quartz Scheduler v.2.3.2 created. +[14:22:52.456][org.quartz.simpl.RAMJobStore - initialize - 155] RAMJobStore initialized. +[14:22:52.457][org.quartz.core.QuartzScheduler - initialize - 294] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' 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. + +[14:22:52.457][org.quartz.impl.StdSchedulerFactory - instantiate - 1374] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' +[14:22:52.457][org.quartz.impl.StdSchedulerFactory - instantiate - 1378] Quartz scheduler version: 2.3.2 +[14:22:52.674][org.apache.juli.logging.DirectJDKLog - log - 173] Starting ProtocolHandler ["http-nio-8123"] +[14:22:52.715][com.ynxbd.push.quartz.listener.AppStartQuartzJobListener - onApplicationEvent - 33] []Starting Quartz task ... +[14:22:52.720][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[14:22:52.731][com.ynxbd.push.config.IniConfig - - 32] IP:192.168.1.125 +[14:22:52.732][com.ynxbd.push.quartz.scheduler.AppQuartzScheduler - startWorkLoadJob - 175] [定时任务]:BI领导推送未设置时间,功能已经开启,推送时间-0 00 08 * * ? +[14:22:52.732][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[14:22:52.733][com.ynxbd.push.quartz.scheduler.AppQuartzScheduler - startTodayRegJob - 154] [定时任务]:每日预约推送未设置时间,功能未开启,todayRegTimeMom-null,todayRegTimeNoon-null +[14:22:52.733][org.quartz.core.QuartzScheduler - start - 547] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. +[14:22:52.735][org.springframework.boot.StartupInfoLogger - logStarted - 61] Started AppApplication in 1.459 seconds (JVM running for 1.936) +[14:22:52.737][com.ynxbd.push.AppApplication - main - 22] 启动医院为:本地 +[14:22:52.742][com.ynxbd.push.AppApplication - main - 23] token_url路径:https://www.dhzzyyy.net/wx/api/getWxAccessToken.do diff --git a/src/main/java/com/ynxbd/push/AppApplication.java b/src/main/java/com/ynxbd/push/AppApplication.java index 8b942a4..8117822 100644 --- a/src/main/java/com/ynxbd/push/AppApplication.java +++ b/src/main/java/com/ynxbd/push/AppApplication.java @@ -20,6 +20,6 @@ public class AppApplication extends SpringBootServletInitializer { System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow", "^"); log.info("启动医院为:{}", IniConfig.getInstance("name")); - log.info("token_url路径:{}", StringUtils.isNotBlank(IniConfig.getInstance("token_url")) ? IniConfig.getInstance("token_url") : "http://127.0.0.1:8080/wx/api/getWxAccessToken.do"); + log.info("token_url路径:{}", StringUtils.isNotBlank(IniConfig.TOKEN_URL) ? IniConfig.TOKEN_URL : "http://127.0.0.1:8080/wx/api/getWxAccessToken.do"); } } diff --git a/src/main/java/com/ynxbd/push/config/IniConfig.java b/src/main/java/com/ynxbd/push/config/IniConfig.java index ff084f4..ca643e1 100644 --- a/src/main/java/com/ynxbd/push/config/IniConfig.java +++ b/src/main/java/com/ynxbd/push/config/IniConfig.java @@ -9,6 +9,7 @@ import org.springframework.util.ResourceUtils; import java.io.IOException; import java.io.InputStream; +import java.util.Objects; /** @@ -24,12 +25,27 @@ public class IniConfig { private static final Wini WINI; private static final String IP; + public static final Boolean TEMPLATE_VERSION; + public static final String WECHAT_UI_PATH; + public static final String DOMAIN; + public static final String TOKEN_URL; + public static final String LEADER_TIME; + public static final String TODAY_REG_TIME_MOM; + public static final String TODAY_REG_TIME_NOON; // 静态内部类保证Wini只实例化一次 static { WINI = initConfig(); IP = IPHelper.getIp(); log.info("IP:{}", IP); + TEMPLATE_VERSION = Objects.equals(getInstance("templateVersion"), "new"); + WECHAT_UI_PATH = getInstance("weChatUIPath"); + DOMAIN = getInstance("domain"); + TOKEN_URL = getInstance("token_url"); + LEADER_TIME = getInstance("leaderTime"); + TODAY_REG_TIME_MOM = getInstance("todayRegTimeMom"); + TODAY_REG_TIME_NOON = getInstance("todayRegTimeNoon"); + } /** @@ -77,14 +93,14 @@ public class IniConfig { * @param isSuffix 是否需要后缀/ */ public static String getWxWebPath(boolean isSuffix) { - String domain = IniConfig.getInstance("domain"); + String domain = IniConfig.DOMAIN; if (!ObjectUtils.isEmpty(domain)) { String suffix = domain.substring(domain.length() - 1); if (suffix.equals("/")) { domain = domain.substring(0, domain.length() - 1); } } - String weChatUIPath = IniConfig.getInstance("weChatUIPath"); + String weChatUIPath = IniConfig.WECHAT_UI_PATH; if (!ObjectUtils.isEmpty(weChatUIPath) && weChatUIPath.length() > 1) { String prefix = weChatUIPath.substring(0, 1); String suffix = weChatUIPath.substring(weChatUIPath.length() - 1); @@ -101,7 +117,7 @@ public class IniConfig { } public static void main(String[] args) { - String wxWebPath = getWxWebPath(false); + String wxWebPath = getWxWebPath(true); System.out.println(wxWebPath); } } diff --git a/src/main/java/com/ynxbd/push/config/RabbitMQConfig.java b/src/main/java/com/ynxbd/push/config/RabbitMQConfig.java index 77cae8d..2e033fa 100644 --- a/src/main/java/com/ynxbd/push/config/RabbitMQConfig.java +++ b/src/main/java/com/ynxbd/push/config/RabbitMQConfig.java @@ -2,11 +2,6 @@ package com.ynxbd.push.config; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.core.*; -import org.springframework.amqp.rabbit.annotation.EnableRabbit; -import org.springframework.amqp.rabbit.core.RabbitTemplate; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** @@ -16,49 +11,9 @@ import org.springframework.context.annotation.Configuration; * @date 2024/01/23 13:28:00 */ @Configuration -@EnableRabbit @Slf4j public class RabbitMQConfig { - - @Autowired - private RabbitTemplate rabbitTemplate; - - @Bean - public AmqpTemplate amqpTemplate(){ - rabbitTemplate.setEncoding("UTF-8"); - rabbitTemplate.setMandatory(true); - rabbitTemplate.setReturnCallback(((message, replyCode, replyText, exchange, routingKey) -> { - String correlationId = message.getMessageProperties().getCorrelationId(); - log.info("消息:{} 发送失败, 应答码:{} 原因:{} 交换机: {} 路由键: {}", correlationId, replyCode, replyText, exchange, routingKey); - })); - //开启消息确认 yml 需要配置 publisher-returns: true - rabbitTemplate.setConfirmCallback(((correlationData, ack, cause) ->{ - if (ack) { - assert correlationData != null; - log.info("消息发送到交换机成功,correlationId:{}",correlationData.getId()); - } else { - log.info("消息发送到交换机失败,原因:{}",cause); - } - } )); - return rabbitTemplate; - } - /** - * 声明直连交换机 支持持久化. - * @return the exchange - */ - @Bean("wxPushExchange") - public Exchange wxPushExchange() { - return ExchangeBuilder.directExchange("wxPushExchange").durable(true).build(); - } - - @Bean("wxPushQueue") - public Queue wxPushQueue(){ - return new Queue("wxPushQueue", true, true, true); - } - - @Bean - public Binding wxPushBinding(){ - return BindingBuilder.bind(wxPushQueue()).to(wxPushExchange()).with("wxPushRouting").noargs(); + Queue wxPush(){ + return new Queue("wx.push.queue",true); } - } \ No newline at end of file diff --git a/src/main/java/com/ynxbd/push/controller/BI/BiController.java b/src/main/java/com/ynxbd/push/controller/BI/BiController.java index 1b0e6ed..7bb3010 100644 --- a/src/main/java/com/ynxbd/push/controller/BI/BiController.java +++ b/src/main/java/com/ynxbd/push/controller/BI/BiController.java @@ -1,6 +1,6 @@ package com.ynxbd.push.controller.BI; -import com.ynxbd.push.pushJob.BI.BiPush; +import com.ynxbd.push.quartz.pushJob.BI.BiPush; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/src/main/java/com/ynxbd/push/controller/BusinessController.java b/src/main/java/com/ynxbd/push/controller/BusinessController.java index d378753..cf0aeeb 100644 --- a/src/main/java/com/ynxbd/push/controller/BusinessController.java +++ b/src/main/java/com/ynxbd/push/controller/BusinessController.java @@ -1,6 +1,7 @@ package com.ynxbd.push.controller; import com.alibaba.fastjson.JSONObject; +import com.ynxbd.push.config.IniConfig; import com.ynxbd.push.entity.type.MessageTypeEnum; import com.ynxbd.push.entity.response.ResponseResult; import com.ynxbd.push.helper.BusinessHelper; @@ -125,17 +126,17 @@ public class BusinessController { @PostMapping("cvms") @ResponseBody public MessageSendResult cvms(String content, String patientId, String url, String organizeName, String IdCard, String buttonName,String deptCode){ - log.info("进入接口-[危机值推送接口]-医院通知/新版本待定,content-{},patientId-{},url-{},organizeName-{},IdCard-{},buttonName-{},deptCode-{}", content, patientId, url, organizeName, IdCard,buttonName,deptCode); + log.info("进入接口-[危机值推送接口]-医院通知/工单提醒,content-{},patientId-{},url-{},organizeName-{},IdCard-{},buttonName-{},deptCode-{}", content, patientId, url, organizeName, IdCard,buttonName,deptCode); MessageSendResult check = BusinessHelper.ParamsCheck(organizeName, patientId, null, deptCode); if (!check.getErrcode().equals("0")) { return check; } if (content == null) { - log.info("[危机值推送接口]-医院通知/新版本待定, 必填字段为空"); + log.info("[危机值推送接口]-医院通知/工单提醒, 必填字段为空"); return ResponseResult.PARAMETER_IS_NULL.toMessResult(); } Map message = new HashMap<>(); - message.put("tip", MessageTypeEnum.CVMS.CODE); + message.put("tip", IniConfig.TEMPLATE_VERSION?MessageTypeEnum.UNIVERSAL.CODE:MessageTypeEnum.CVMS.CODE); message.put("organizeName", organizeName); message.put("buttonName",buttonName); message.put("patientId", patientId); diff --git a/src/main/java/com/ynxbd/push/controller/RegisteredController.java b/src/main/java/com/ynxbd/push/controller/RegisteredController.java index 136cd12..4aa79ab 100644 --- a/src/main/java/com/ynxbd/push/controller/RegisteredController.java +++ b/src/main/java/com/ynxbd/push/controller/RegisteredController.java @@ -5,6 +5,7 @@ import com.ynxbd.push.config.IniConfig; import com.ynxbd.push.entity.tencent.SendMessageTemplate; import com.ynxbd.push.helper.DesEncryptHelper; import com.ynxbd.push.helper.MessageApiHelper; +import com.ynxbd.push.quartz.pushJob.TodayReg.TodayReg; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; @@ -67,7 +68,7 @@ public class RegisteredController { .patientName(patientName) .hospitalName(hospital) .first("预约挂号成功") - .url(IniConfig.getInstance("domain")+"wx/"+IniConfig.getInstance("weChatUIPath")+"sign-in.html?patientId="+ ("".equals(patientId)? Base64.getEncoder().encodeToString(patientId.getBytes()): "") + "&content="+Base64.getEncoder().encodeToString(UriUtils.encode(content, StandardCharsets.UTF_8.toString()).getBytes())) + .url(IniConfig.DOMAIN+"wx/"+IniConfig.WECHAT_UI_PATH+"reg-record.html#/reserve") .seq(seq) .patientSex(sex) .remarkColor("#fa4028") @@ -137,4 +138,11 @@ public class RegisteredController { return MessageApiHelper.templateMessageSend(sendMessageTemplate); } + @GetMapping(value = "todayReg") + @ResponseBody + public MessageSendResult todayReg() { + TodayReg.runJon(); + return new MessageSendResult(); + } + } diff --git a/src/main/java/com/ynxbd/push/entity/enums/HisApiEnum.java b/src/main/java/com/ynxbd/push/entity/enums/HisApiEnum.java index a3e2152..a45e775 100644 --- a/src/main/java/com/ynxbd/push/entity/enums/HisApiEnum.java +++ b/src/main/java/com/ynxbd/push/entity/enums/HisApiEnum.java @@ -5,10 +5,12 @@ import org.springframework.util.ObjectUtils; public enum HisApiEnum { // 数字后缀为[_参数个数][__编号(模板名称相同,参数个数相同,但参数名称不一致)] reg_success_04__001("reg_success_04__001", "预约挂号成功通知", "就诊人、就诊科室、预约时间、就诊地点"), + reg_today_tip_05_001("reg_today_tip_05_001","候诊提醒","就诊人、就诊科室、就诊时间、候诊地点、就诊医生"), payment_end_04__001("payment_end_04__001", "缴费完成通知", "就诊人、缴费时间、缴费金额、治疗地点"), payment_remind_04__001("payment_remind_04__001", "缴费提醒", "患者姓名、开单时间、缴费项目、金额"), report_notice_05__001("report_notice_05__001", "检验检查报告通知", "就诊卡号、就诊人、单号、检查时间、项目名称"), work_order_remind_02__001("work_order_remind_02__001", "工单处理提醒", "提交时间、工单名称"), + doctor_admissions_05_001("doctor_admissions_05_001","医生接诊通知","医生,就诊人,医疗项目,就诊时间,科室") ; public final String CODE; diff --git a/src/main/java/com/ynxbd/push/entity/type/MessageTypeEnum.java b/src/main/java/com/ynxbd/push/entity/type/MessageTypeEnum.java index a12adb3..c244b1e 100644 --- a/src/main/java/com/ynxbd/push/entity/type/MessageTypeEnum.java +++ b/src/main/java/com/ynxbd/push/entity/type/MessageTypeEnum.java @@ -13,7 +13,7 @@ public enum MessageTypeEnum { REPORT_TIP("ReportTip","检验检查报告通知"), QUEUE_TIP("QueueTip","排队叫号提醒"), MEDICAL_RECORD("MedicalRecord","病历复印"), - TREAT_PLAN("treatPlan","诊疗计划提醒"), + TREAT_PLAN("TreatPlan","诊疗计划提醒"), UNIVERSAL("Universal","通用模版推送-绑定通知"), diff --git a/src/main/java/com/ynxbd/push/entity/type/OrganizeTypeEnum.java b/src/main/java/com/ynxbd/push/entity/type/OrganizeTypeEnum.java index 8213b3b..0467490 100644 --- a/src/main/java/com/ynxbd/push/entity/type/OrganizeTypeEnum.java +++ b/src/main/java/com/ynxbd/push/entity/type/OrganizeTypeEnum.java @@ -17,6 +17,9 @@ public enum OrganizeTypeEnum { HONGHE01("","深圳市理邦精密仪器股份有限公司","智慧产科系统"), + + RUI_MEI("14C8AD5516ED32E5","rui_mei","瑞美检验公司"), + WEI_XIN("4B80803106B38A5F","xbd_wx","公司内部对接使用,微信方对接"); public final String CODE; diff --git a/src/main/java/com/ynxbd/push/entity/xbd/wx/Order.java b/src/main/java/com/ynxbd/push/entity/xbd/wx/Order.java new file mode 100644 index 0000000..bd441b5 --- /dev/null +++ b/src/main/java/com/ynxbd/push/entity/xbd/wx/Order.java @@ -0,0 +1,129 @@ +package com.ynxbd.push.entity.xbd.wx; + +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * [父类]支付订单信息 + * + * @Author wsq + * @Date 2020/11/12 10:24 + * @Copyright @ 2020 云南新八达科技有限公司 All rights reserved. + */ +@Setter +@Getter +@ToString +@NoArgsConstructor +public class Order implements Serializable { + private static final long serialVersionUID = 3666666777881604L; + + private Long id; + // 修改时间 + private Date updateTime; + // openid + private String openid; + // 患者id + private String patientId; + // 患者姓名 + private String patientName; + // 患者信息 + private String idCardNo; + private String sex; + private String birthday; + // 订单号 + private String outTradeNo; + // 银行交易流水号 + private String bankTransNo; + // HIS交易订单号 + private String tradeNo; + // 交易时间 + private String tradeTime; + // 门诊号 | 住院号 + private String treatNum; + // 支付方式统计(微信:{0:程序内;1:扫码;2:盒子支付;3:native支付};支付宝:{10:程序内,11:扫码:12:盒子支付}) + private String payWay; + // 商户名称 + private String merchantName; + // 单笔金额 + private BigDecimal payMoney; + // 订单总金额 + private BigDecimal totalFee; + // 商户支付状态 + private Integer payStatus; + // HIS通知状态 + private Integer hisStatus; + // --------------------------------------- + // 通知状态 + private Integer payState; + // 通知状态 + private Integer noticeState; + // 通知返回提示 + private Integer noticeResult; + // -------------------------------------- + // HIS返回提示 + private String hisResult; + // HIS流水号 + private String hisTransNo; + // HIS发票号 + private String invoiceTransNo; + // 退款金额 + private BigDecimal refundMoney; + // 退款类型 + private String refundType; + // 退款结果描述 + private String refundResult; + // 退款操作人 + private String refundUser; + // 退费的表 + private String refundTable; + // 缴费操作人 + private String operateUser; + // 微信返回的支付信息 + private String info; + // 盒子扫码授权码 + private String authCode; + // 错误代码,不存数据库(His返回 or 记录打印信息) + private String errorCode; + // 错误信息 + private String errorMsg; + // 订单交易状态 + private String tradeState; + // 判断支付是否成功标识 + private boolean isSuccess; + // 判断是否需要退费标识 + private boolean isRefund; + + private String cacheType; + // 调用失败重新调用 + private int cacheNum; + // 医保---------------------------------- + // 医保订单号 + private String payOrdId; + // 医保-个人账户支付金额 + private BigDecimal acctFee; + // 医保-统筹支付金额 + private BigDecimal hifpFee; + // 医保-收费单据号(去掉M作为退费的单号) + private String chrgBchno; + // 医保-就诊ID + private String mdTrtId; + // 医保-用户ID + private String mdUserId; + + // 缴费订单类型 + private String orderType; + + // PEIS通知状态 + private Integer peisStatus; + + + // PEIS返回提示 + private String peisResult; + +} diff --git a/src/main/java/com/ynxbd/push/entity/xbd/wx/Register.java b/src/main/java/com/ynxbd/push/entity/xbd/wx/Register.java new file mode 100644 index 0000000..6832453 --- /dev/null +++ b/src/main/java/com/ynxbd/push/entity/xbd/wx/Register.java @@ -0,0 +1,86 @@ +package com.ynxbd.push.entity.xbd.wx; + +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; + +import java.math.BigDecimal; + +/** + * @Author wsq + * @Date 2020/11/27 10:02 + * @Copyright @ 2020 云南新八达科技有限公司 All rights reserved. + */ +@Setter +@Getter +@ToString(callSuper = true) +@NoArgsConstructor +public class Register extends Order { + private Long id; + // 患者身份证 + private String idCardNo; + // 电话号码 + private String tel; + + //患者姓名 + private String name; + + private String deptCode; + private String subDeptCode; + private String deptName; + private String doctCode; + private String doctName; + private String address; + + private String payDate; + private String payTime; + private String payDeviceId; + + private BigDecimal regFee; + private BigDecimal clinicFee; + private String clinicCode; + private String clinicName; + + private String refundDate; + // 时段id + private String tid; + // 时段名 + private String tName; + // 挂号类型(1:预约挂号,2:现场挂号,3:分时段预约挂号,4:分时段现场挂号) + private String regType; + // 挂号日期 + private String regDate; + // 号别名 + private String regName; + // 号别编码 + private String regCode; + // 分时段---------------------- + // 序号 + private String queueNum; + // 号源id + private String sourceId; + private String begTime; + private String endTime; + // 【今日挂号】是否就诊[0:未就诊,1:已就诊,-1:退号] + private Integer isTreat; + // 【预约挂号】是否取号[0:未取号,1:已取号,-1:取消预约] + private Integer isTake; + // 非分时段挂号------------------------ + private String isCheckIn; + // 总号源数 + private Integer sourceCount; + // 剩余号源数 + private Integer remainCount; + // 0-没有号源不允许挂号,1-有号源可以挂号 + private Integer allowReg; + // 是否被占用 + private Integer isUsed; + // 院区 + private String hospitalArea; + // 挂号订单来源 + private String orderFromOwner; + // 判断是否为分时段挂号 + private Boolean isSplitTime; + +} diff --git a/src/main/java/com/ynxbd/push/helper/DesEncryptHelper.java b/src/main/java/com/ynxbd/push/helper/DesEncryptHelper.java index c9e4e30..c04c95c 100644 --- a/src/main/java/com/ynxbd/push/helper/DesEncryptHelper.java +++ b/src/main/java/com/ynxbd/push/helper/DesEncryptHelper.java @@ -72,14 +72,7 @@ public class DesEncryptHelper { } public static void main(String[] args) { - String test = "昨日门诊:3697人次;非核酸门诊:2302人次;在院:1377人;入院:224人;出院:191人;危重:0人;手术:61人次;微创手术:16人次;四级手术:6人次;\\\\r\\\\n今年截至昨日门诊:794298人次;非核酸门诊:423528人次;出院:32130人;实际开放床:1224张;病床使用率:91.512;手术:8816人次,占比:28;四级手术占比:19.01;微创手术占比:17.35;"; - System.out.println(test.replaceAll("\\\\\\\\r", "\\\\r")); - System.out.println(DesEncryptHelper.enCode("xbd_wx", KEY)); - - System.out.println(DesEncryptHelper.deCode("C23A7500D2C35F9A85B72795B86F02AFD62A5ECBD06DC050DF47EFA26AA846E3E3FF998FFA576283C021712DD1CAA7EEF74898A8CDFE9ABA8C06C1851574CB802FA096B4B0D8ED791559DEEDFE0BD497AC5365E6370223EF3D706F0BC2427619C762C77B776510D566A36F439CB579A5C55674435F0D800BC44B3299BF484B716D121601D32E26E2", KEY)); - System.out.println("---"); - System.out.println(DesEncryptHelper.enCode("永胜县人民医院")); - System.out.println("---------"); - System.out.println(DesEncryptHelper.deCode(DesEncryptHelper.enCode("永胜县人民医院"))); + System.out.println(DesEncryptHelper.enCode("rui_mei", KEY)); + System.out.println(DesEncryptHelper.deCode("3D48C80227DC4D7E8B30ED3C73F48031", KEY)); } } diff --git a/src/main/java/com/ynxbd/push/helper/MessageApiHelper.java b/src/main/java/com/ynxbd/push/helper/MessageApiHelper.java index 234abc3..b78245c 100644 --- a/src/main/java/com/ynxbd/push/helper/MessageApiHelper.java +++ b/src/main/java/com/ynxbd/push/helper/MessageApiHelper.java @@ -98,7 +98,7 @@ public class MessageApiHelper { * * @param messageJson json字符串 */ - private static MessageSendResult templateMessageSend(String messageJson) { + public static MessageSendResult templateMessageSend(String messageJson) { HttpUriRequest httpUriRequest = RequestBuilder.post().setHeader(jsonHeader).setUri("https://api.weixin.qq.com/cgi-bin/message/template/send").addParameter("access_token", API.accessToken(WxCacheRequest.getAccessToken())).setEntity(new StringEntity(messageJson, StandardCharsets.UTF_8)).build(); MessageSendResult result = LocalHttpClient.executeJsonResult(httpUriRequest, MessageSendResult.class); @@ -189,7 +189,7 @@ public class MessageApiHelper { if(reportTemplateId==null){ log.error("获取模版Id失败,messageId-{},title-{}",messageId,title); } - if (IniConfig.getInstance("templateVersion") == null) { // 老版本默认参数用keyword关键字 + if (!IniConfig.TEMPLATE_VERSION) { // 老版本默认参数用keyword关键字 code = ""; } if (doctorCode != null) { @@ -270,7 +270,7 @@ public class MessageApiHelper { if (reportTemplateId == null) { log.error("获取模版Id失败,messageId-{},title-{}", messageId, title); } - if (IniConfig.getInstance("templateVersion") == null) { // 老版本默认参数用keyword关键字 + if (!IniConfig.TEMPLATE_VERSION) { // 老版本默认参数用keyword关键字 code = ""; } List allDoctorOpenIdList = WeChatDataRequest.getAllOpenIdForDeptCode(deptCode); @@ -596,7 +596,7 @@ public class MessageApiHelper { String code = strTemp.get("tip"); String messageId = strTemp.get("message_id"); - if (IniConfig.getInstance("templateVersion") == null) { + if (!IniConfig.TEMPLATE_VERSION) { code = ""; // tip } @@ -632,7 +632,7 @@ public class MessageApiHelper { return ResponseResult.JOIN_QUEUE.toMessResult(); } try { - String openId = reqWxOpenId(title, patientId, cardNo); + String openId =strTemp.get("openId")==null?reqWxOpenId(title, patientId, cardNo):strTemp.get("openId"); SendTemplate sendTemplate = SendTemplate.builder() .template_id(templateId) .message_id(messageId) diff --git a/src/main/java/com/ynxbd/push/helper/RequestHelper.java b/src/main/java/com/ynxbd/push/helper/RequestHelper.java index 2e17962..8fcff95 100644 --- a/src/main/java/com/ynxbd/push/helper/RequestHelper.java +++ b/src/main/java/com/ynxbd/push/helper/RequestHelper.java @@ -79,6 +79,18 @@ public class RequestHelper extends SimpleClientHttpRequestFactory { } + /** + * 向目的URL发送get请求 + * + * @param url 请求地址 + * @param params 请求参数 + * @return ResultVO + */ + public static List getList(String url, Map params, Class clazz) { + return JSON.parseArray(get(url, params),clazz); + } + + /** diff --git a/src/main/java/com/ynxbd/push/httpRequest/tencent/WeChatDataRequest.java b/src/main/java/com/ynxbd/push/httpRequest/tencent/WeChatDataRequest.java index f8904ae..b07a9f6 100644 --- a/src/main/java/com/ynxbd/push/httpRequest/tencent/WeChatDataRequest.java +++ b/src/main/java/com/ynxbd/push/httpRequest/tencent/WeChatDataRequest.java @@ -2,7 +2,9 @@ package com.ynxbd.push.httpRequest.tencent; import com.alibaba.fastjson.JSONObject; +import com.ynxbd.push.config.IniConfig; import com.ynxbd.push.entity.tencent.*; +import com.ynxbd.push.entity.xbd.wx.Register; import com.ynxbd.push.entity.xbd.wx.WorkLoadResponse; import com.ynxbd.push.helper.DesEncryptHelper; import com.ynxbd.push.helper.RedisHelper; @@ -58,6 +60,18 @@ public class WeChatDataRequest { return RequestHelper.get("http://127.0.0.1:9090/micro/doctor/getDocModuleLink?code=xsjc", null, WorkLoadResponse.class); } + public static List getTodayRegOpenId(){ + return JSONObject.parseArray(RequestHelper.getJsonObj(IniConfig.getInstance("today_reg_url")==null?"http://127.0.0.1/wx/register/getTodayRegOpenId":IniConfig.getInstance("today_reg_url"),null).get("data").toString(),Register.class); + } + + public static List getTodayRegRecord(String startTime, String endTime){ + return JSONObject.parseArray(RequestHelper.getJsonObj("http://127.0.0.1/wx/register/getTodayRegRecord?startTime="+startTime+"&endTime="+endTime,null).get("data").toString(),Register.class); + } + + public static String todayRegSmS(String startTime, String endTime){ + return RequestHelper.getJsonObj("http://127.0.0.1/wx/api/sms/todayRegSmS?startTime="+startTime+"&endTime="+endTime,null).toString(); + } + public static String GetOpenIdForPatientId(String patientId){ String wx_openId_url = "http://wx.mzsrmyy.net/wx/patient/getOpenIdsByPatientId.do"; Map params = new HashMap<>(); @@ -85,6 +99,11 @@ public class WeChatDataRequest { log.error("获取模版列表失败,模版名称-{}",title); return null; } + if(templateList.size()>1){ + if(templateList.stream().anyMatch(p->p.getDeputy_industry()==null)){ + return templateList.stream().filter(p->p.getDeputy_industry()==null).findFirst().get().getTemplate_id(); + } + } return templateList.get(0).getTemplate_id(); } } diff --git a/src/main/java/com/ynxbd/push/httpRequest/xbd/wx/WxCacheRequest.java b/src/main/java/com/ynxbd/push/httpRequest/xbd/wx/WxCacheRequest.java index 86324ef..3de3224 100644 --- a/src/main/java/com/ynxbd/push/httpRequest/xbd/wx/WxCacheRequest.java +++ b/src/main/java/com/ynxbd/push/httpRequest/xbd/wx/WxCacheRequest.java @@ -109,7 +109,7 @@ public class WxCacheRequest { */ private static AccessToken requestWxAccessToken() { try { - String token_url = StringUtils.isNotBlank(IniConfig.getInstance("token_url"))?IniConfig.getInstance("token_url"):"http://127.0.0.1:80/wx/api/getWxAccessToken.do"; + String token_url = StringUtils.isNotBlank(IniConfig.TOKEN_URL)?IniConfig.TOKEN_URL:"http://127.0.0.1:8080/wx/api/getWxAccessToken.do"; JSONObject respJson = RequestHelper.getJsonObj(token_url, null); String code = respJson.getString("code"); if (!"200".equals(code)) { diff --git a/src/main/java/com/ynxbd/push/quartz/job/TodayRegJob.java b/src/main/java/com/ynxbd/push/quartz/job/TodayRegJob.java new file mode 100644 index 0000000..1f6377f --- /dev/null +++ b/src/main/java/com/ynxbd/push/quartz/job/TodayRegJob.java @@ -0,0 +1,21 @@ +package com.ynxbd.push.quartz.job; + +import com.ynxbd.push.quartz.pushJob.TodayReg.TodayReg; +import lombok.extern.slf4j.Slf4j; +import org.quartz.Job; +import org.quartz.JobExecutionContext; + +/** + * @author 李进才 + * @ClassName TodayRegJob + * @Description TODO + * @date 2024/05/22 11:06:00 + */ +@Slf4j +public class TodayRegJob implements Job { + @Override + public void execute(JobExecutionContext jobExecutionContext) { + log.info("[今日预约患者推送] start"); + TodayReg.runJon(); + } +} diff --git a/src/main/java/com/ynxbd/push/quartz/job/WorkLoadJob.java b/src/main/java/com/ynxbd/push/quartz/job/WorkLoadJob.java index b001c36..2e3cdd1 100644 --- a/src/main/java/com/ynxbd/push/quartz/job/WorkLoadJob.java +++ b/src/main/java/com/ynxbd/push/quartz/job/WorkLoadJob.java @@ -1,27 +1,11 @@ package com.ynxbd.push.quartz.job; -import com.ynxbd.push.config.IniConfig; -import com.ynxbd.push.entity.tencent.SendMessageTemplate; -import com.ynxbd.push.entity.xbd.his.HIsWorkLoad; -import com.ynxbd.push.entity.xbd.wx.WorkLoad; -import com.ynxbd.push.entity.xbd.wx.WorkLoadData; -import com.ynxbd.push.helper.HisResultFormat; -import com.ynxbd.push.helper.MessageApiHelper; -import com.ynxbd.push.httpRequest.tencent.WeChatDataRequest; -import com.ynxbd.push.httpRequest.xbd.his.HisRequest; -import com.ynxbd.push.pushJob.BI.BiPush; +import com.ynxbd.push.quartz.pushJob.BI.BiPush; import lombok.SneakyThrows; -import lombok.extern.slf4j.Slf4j; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.List; -import java.util.Optional; -import java.util.regex.Matcher; - /** * @author 李进才 * @ClassName WorkLoadJob diff --git a/src/main/java/com/ynxbd/push/quartz/listener/AppStartQuartzJobListener.java b/src/main/java/com/ynxbd/push/quartz/listener/AppStartQuartzJobListener.java index 3faf79d..0adbc12 100644 --- a/src/main/java/com/ynxbd/push/quartz/listener/AppStartQuartzJobListener.java +++ b/src/main/java/com/ynxbd/push/quartz/listener/AppStartQuartzJobListener.java @@ -33,6 +33,7 @@ public class AppStartQuartzJobListener implements ApplicationListener]Starting Quartz task ..."); quartzScheduler.startCrontabJob(); quartzScheduler.startWorkloadJob(); + quartzScheduler.startTodayRegJob(); } catch (SchedulerException e) { log.error("[]ERROR: ", e); } diff --git a/src/main/java/com/ynxbd/push/pushJob/BI/BiPush.java b/src/main/java/com/ynxbd/push/quartz/pushJob/BI/BiPush.java similarity index 83% rename from src/main/java/com/ynxbd/push/pushJob/BI/BiPush.java rename to src/main/java/com/ynxbd/push/quartz/pushJob/BI/BiPush.java index 6900563..5b0c9b1 100644 --- a/src/main/java/com/ynxbd/push/pushJob/BI/BiPush.java +++ b/src/main/java/com/ynxbd/push/quartz/pushJob/BI/BiPush.java @@ -1,4 +1,4 @@ -package com.ynxbd.push.pushJob.BI; +package com.ynxbd.push.quartz.pushJob.BI; import com.alibaba.fastjson.JSONObject; import com.ynxbd.push.config.IniConfig; @@ -30,13 +30,14 @@ import static com.ynxbd.push.entity.type.MessageTypeEnum.UNIVERSAL; @Slf4j public class BiPush { public static void runJob(String openId){ - if(IniConfig.getInstance("leaderTemplateId")==null){ + if(IniConfig.getInstance("leaderTemplateId")==null&&WeChatDataRequest.getTemplateId("工单处理提醒")==null){ return; } Boolean isTest = false; if(IniConfig.getInstance("leaderTest")!=null){ isTest = true; } + String leaderTemplateId = WeChatDataRequest.getTemplateId("工单处理提醒")==null?IniConfig.getInstance("leaderTemplateId"):WeChatDataRequest.getTemplateId("工单处理提醒"); SimpleDateFormat sdf = new SimpleDateFormat(); sdf.applyPattern("yyyy-MM-dd"); Date date = new Date(); @@ -53,16 +54,17 @@ public class BiPush { log.info("[领导推送工作量]{}未绑定微官网,openId:{}",target.getDoc_name(),target.getDoc_code()); continue; } - if(IniConfig.getInstance("templateVersion")!=null){ - target.setDescription(target.getDescription().substring(0, 16) + "……"); + if(IniConfig.TEMPLATE_VERSION){ + // 只要中文,数字,标点,防止BI那边加些乱七八糟的字符导致json格式不正确 + target.setDescription(target.getDescription().replaceAll("[^0-9a-zA-Z\\u4e00-\\u9fa5.,,。?“”%]+","") .substring(0, 16)+ "……"); } SendMessageTemplate sendMessageTemplate = SendMessageTemplate.builder() - .template_id(IniConfig.getInstance("leaderTemplateId")) - .code(IniConfig.getInstance("templateVersion")==null?"":UNIVERSAL.CODE) + .template_id(leaderTemplateId) + .code(Boolean.FALSE.equals(IniConfig.TEMPLATE_VERSION) ?"":UNIVERSAL.CODE) .keyword1(Objects.equals(IniConfig.getInstance("leaderTemplateMode"), "2") ?target.getDescription():sdf.format(date)) .keyword2(Objects.equals(IniConfig.getInstance("leaderTemplateMode"), "2") ?sdf.format(date):target.getDescription()) // .first(new StringBuilder().append("尊敬的").append(target.getDoc_name()).append("您好").toString()) - .url(IniConfig.getInstance("domain")+"wx/"+IniConfig.getInstance("weChatUIPath")+"push-info.html#/bi-info") + .url(IniConfig.DOMAIN+"wx/"+IniConfig.WECHAT_UI_PATH+"push-info.html#/bi-info") // .openId(replenish.getOpenid()) .build(); if(isTest){ diff --git a/src/main/java/com/ynxbd/push/quartz/pushJob/TodayReg/TodayReg.java b/src/main/java/com/ynxbd/push/quartz/pushJob/TodayReg/TodayReg.java new file mode 100644 index 0000000..0f45f88 --- /dev/null +++ b/src/main/java/com/ynxbd/push/quartz/pushJob/TodayReg/TodayReg.java @@ -0,0 +1,102 @@ +package com.ynxbd.push.quartz.pushJob.TodayReg; + +import com.alibaba.fastjson.JSONObject; +import com.ynxbd.push.config.IniConfig; +import com.ynxbd.push.entity.enums.MsgParamEnum; +import com.ynxbd.push.entity.tencent.SendTemplate; +import com.ynxbd.push.entity.type.MessageTypeEnum; +import com.ynxbd.push.entity.xbd.wx.Register; +import com.ynxbd.push.helper.MessageApiHelper; +import com.ynxbd.push.httpRequest.tencent.WeChatDataRequest; +import lombok.extern.slf4j.Slf4j; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import java.time.LocalTime; + +/** + * @author 李进才 + * @ClassName TodayReg + * @Description TODO + * @date 2024/05/23 10:04:00 + */ +@Slf4j +public class TodayReg { + public static void runJon(){ + String templateId = WeChatDataRequest.getTemplateId("候诊提醒"); + if(templateId==null) + { + log.info("[今日预约患者推送]微信公众平台未设置推送模版,定时任务执行结束"); + return; + } + String startTime; + String endTime; + if(getCurrentTimePart()){ + startTime = "07:30"; + endTime = "12:00"; + }else { + startTime = "12:00"; + endTime = "24:00:00"; + } + WeChatDataRequest.todayRegSmS(startTime, endTime); //调用短信推送 + List registerList = WeChatDataRequest.getTodayRegRecord(startTime, endTime); + for (Register register : registerList) { + Map tempData = new HashMap<>(); + String messageId = UUID.randomUUID().toString(); + Map paramsMap = getStringStringMap(register); + log.info("[今日预约患者推送] message_id:{}, 推送数据:{}", messageId, JSONObject.toJSONString(paramsMap)); + + try { + // 就诊人 + MsgParamEnum.THING.put(paramsMap, tempData, "name", 1); + // 就诊科室 + MsgParamEnum.THING.put(paramsMap, tempData, "deptName", 2); + // 就诊时间 + MsgParamEnum.TIME.put(paramsMap, tempData, "begTime", 6); + // 候诊地点 + MsgParamEnum.THING.put(paramsMap, tempData, "address", 7); + // 医生姓名 + MsgParamEnum.THING.put(paramsMap, tempData, "doctorName", 12); + } + catch(Exception e) { + log.error("[今日预约患者推送] message_id:{}, 拼装数据:{},数据拼装出错:{}", messageId, JSONObject.toJSONString(paramsMap),e.toString()); + } + if(tempData.isEmpty()){ + log.error("[今日预约患者推送] message_id:{}, 数据拼装出错, 拼装数据:{}", messageId, JSONObject.toJSONString(paramsMap)); + return; + } + SendTemplate sendTemplate = SendTemplate.builder() + .template_id(templateId) + .message_id(messageId) + .touser(register.getOpenid()) + .code(MessageTypeEnum.COMMON.CODE) + .url(null) + .data(tempData) + .build(); + log.info("[今日预约患者推送] message_id:{}, 开始推送-组合数据[{}]", messageId, JSONObject.toJSONString(sendTemplate)); + log.info("[今日预约患者推送] message_id:{}, 推送结果:{}", messageId, JSONObject.toJSONString(MessageApiHelper.templateMessageSend(JSONObject.toJSONString(sendTemplate)))); + } + } + + private static Map getStringStringMap(Register register) { + Map paramsMap = new HashMap<>(); + paramsMap.put("deptName", register.getDeptName().trim().length()>16? register.getDeptName().trim().substring(0,16) + "..." : register.getDeptName().trim()); + paramsMap.put("begTime", register.getBegTime()); + paramsMap.put("address", register.getAddress().trim().length()>16? register.getAddress().trim().substring(0,16) + "..." : register.getAddress().trim()); + paramsMap.put("doctorName", register.getDoctName()); + paramsMap.put("name", register.getName()); + return paramsMap; + } + + /** + * 判断当前时间是上午还是下午 + * @return 返回1是上午,返回2是下午 + */ + private static Boolean getCurrentTimePart() { + LocalTime now = LocalTime.now(); + return now.isBefore(LocalTime.NOON); + } + +} diff --git a/src/main/java/com/ynxbd/push/quartz/scheduler/AppQuartzScheduler.java b/src/main/java/com/ynxbd/push/quartz/scheduler/AppQuartzScheduler.java index 29be23e..7143390 100644 --- a/src/main/java/com/ynxbd/push/quartz/scheduler/AppQuartzScheduler.java +++ b/src/main/java/com/ynxbd/push/quartz/scheduler/AppQuartzScheduler.java @@ -3,7 +3,9 @@ package com.ynxbd.push.quartz.scheduler; import com.ynxbd.push.config.IniConfig; import com.ynxbd.push.quartz.job.TimePushJob; +import com.ynxbd.push.quartz.job.TodayRegJob; import com.ynxbd.push.quartz.job.WorkLoadJob; +import lombok.extern.slf4j.Slf4j; import org.quartz.*; import org.springframework.stereotype.Component; @@ -15,6 +17,7 @@ import java.util.Date; * * @author 李进才 */ +@Slf4j @Component public class AppQuartzScheduler { @@ -38,6 +41,12 @@ public class AppQuartzScheduler { startWorkLoadJob(scheduler); scheduler.start(); } + + public void startTodayRegJob() throws SchedulerException { + startTodayRegJob(scheduler); + scheduler.start(); + } + /** * 获取Job信息 */ @@ -138,15 +147,33 @@ public class AppQuartzScheduler { scheduler.scheduleJob(jobDetail, cronTrigger); } + private void startTodayRegJob(Scheduler scheduler) throws SchedulerException { + JobDetail jobDetailMom = JobBuilder.newJob(TodayRegJob.class).withIdentity("TodayRegMom", "TodayRegMom").build(); + JobDetail jobDetailNoon = JobBuilder.newJob(TodayRegJob.class).withIdentity("TodayRegNoon", "TodayRegNoon").build(); + if(IniConfig.TODAY_REG_TIME_MOM==null||IniConfig.TODAY_REG_TIME_NOON==null){ + log.info("[定时任务]:每日预约推送未设置时间,功能未开启,todayRegTimeMom-{},todayRegTimeNoon-{}",IniConfig.TODAY_REG_TIME_MOM,IniConfig.TODAY_REG_TIME_NOON); + return; + } + log.info("[定时任务]:每日预约推送未设置时间,功能已经开启todayRegTimeMom-{},todayRegTimeNoon-{}",IniConfig.TODAY_REG_TIME_MOM,IniConfig.TODAY_REG_TIME_NOON); + CronScheduleBuilder cronScheduleBuilderMom = CronScheduleBuilder.cronSchedule(IniConfig.TODAY_REG_TIME_MOM); + CronScheduleBuilder cronScheduleBuilderNoon = CronScheduleBuilder.cronSchedule(IniConfig.TODAY_REG_TIME_NOON); + CronTrigger cronTriggerMom = TriggerBuilder.newTrigger().withIdentity("TodayRegMom", "TodayRegMom").withSchedule(cronScheduleBuilderMom).build(); + CronTrigger cronTriggerNoon = TriggerBuilder.newTrigger().withIdentity("TodayRegNoon", "TodayRegNoon").withSchedule(cronScheduleBuilderNoon).build(); + scheduler.scheduleJob(jobDetailMom, cronTriggerMom); + scheduler.scheduleJob(jobDetailNoon, cronTriggerNoon); + } + /** * 基于 Crontab 的调度器 */ private void startWorkLoadJob(Scheduler scheduler) throws SchedulerException { JobDetail jobDetail = JobBuilder.newJob(WorkLoadJob.class).withIdentity("WorkLoad", "WorkLog").build(); - if(IniConfig.getInstance("leaderTime")==null){ + if(IniConfig.LEADER_TIME==null){ + log.info("[定时任务]:BI领导推送未设置时间,功能未开启"); return; } - CronScheduleBuilder cronScheduleBuilder = CronScheduleBuilder.cronSchedule(IniConfig.getInstance("leaderTime")); + log.info("[定时任务]:BI领导推送未设置时间,功能已经开启,推送时间-{}",IniConfig.LEADER_TIME); + CronScheduleBuilder cronScheduleBuilder = CronScheduleBuilder.cronSchedule(IniConfig.LEADER_TIME); CronTrigger cronTrigger = TriggerBuilder.newTrigger().withIdentity("WorkLoad", "WorkLog").withSchedule(cronScheduleBuilder).build(); scheduler.scheduleJob(jobDetail, cronTrigger); } diff --git a/src/main/java/com/ynxbd/push/rabbit/receive/RabbitReceiver.java b/src/main/java/com/ynxbd/push/rabbit/receive/RabbitReceiver.java index 9a8e613..4c8eb20 100644 --- a/src/main/java/com/ynxbd/push/rabbit/receive/RabbitReceiver.java +++ b/src/main/java/com/ynxbd/push/rabbit/receive/RabbitReceiver.java @@ -28,7 +28,7 @@ import java.util.concurrent.TimeoutException; */ @Component @Slf4j -@RabbitListener(queues = {"wxPushQueue"}) +@RabbitListener(queues = {"wx.push.queue"}) public class RabbitReceiver { @Autowired @@ -84,29 +84,6 @@ public class RabbitReceiver { log.info("未找到消息类型进行推送,类型-{}", tip); break; } - -// switch (tip) { -// case REPORT_TIP: -// reportTip(receiveMessage); -// break; -// case QUEUE_TIP: -// queueTip(receiveMessage); -// break; -// case MEDICAL_RECORD: -// medicalRecord(receiveMessage); -// break; -// case TREAT_PLAN: -// treatPlan(receiveMessage); -// break; -// case UNIVERSAL: -// universal(receiveMessage); -// break; -// -// -// default: -// log.info("未找到消息类型进行推送,类型-{}", tip); -// break; -// } } catch (Exception e) { e.printStackTrace(); log.error("消息消费出错:{},内容-{}", e, receiveMessage); @@ -127,12 +104,14 @@ public class RabbitReceiver { String age = receiveMessage.get("age") == null ? "" : receiveMessage.get("age"); String applyDept = receiveMessage.get("applyDept") == null ? "" : receiveMessage.get("applyDept"); String applyDoctor = receiveMessage.get("applyDoctor") == null ? "" : receiveMessage.get("applyDoctor"); - String weChatUrl = IniConfig.getInstance("weChatUrl") == null ? "" : receiveMessage.get("weChatUrl"); + if(itemName.length()>17){ + itemName = itemName.substring(0,17)+"..."; + } retry(MessageApiHelper.TemplateMessageForCode(organizeName, code, idCard, "检验检查报告通知", patientId, null, "您有新的报告。" + patientName + (age.equals("") ? "" : "(" + age + ")"), patientId, patientName + (sex.equals("") ? "" : "(" + sex + ")"), reportId, reportTime, itemName, "您的报告结果已经出具。" + (applyDoctor.equals("") ? "" : "申请医生:" + applyDoctor + ";") + (applyDept.equals("") ? "" : "申请科室:" + applyDept), - weChatUrl + IniConfig.getInstance("reportUrl") + "/all-result.html", messageId), receiveMessage); + IniConfig.DOMAIN + "wx/" + IniConfig.WECHAT_UI_PATH + "all-result.html", messageId), receiveMessage); } @@ -163,7 +142,7 @@ public class RabbitReceiver { SimpleDateFormat sdf = new SimpleDateFormat(); sdf.applyPattern("yyyy-MM-dd"); Date date = new Date(); - String url = IniConfig.getInstance("domain") + "wx/" + IniConfig.getInstance("weChatUIPath") + "medical-record.html#/medical-record-history"; + String url = IniConfig.DOMAIN + "wx/" + IniConfig.WECHAT_UI_PATH + "medical-record.html#/medical-record-history"; retry(MessageApiHelper.TemplateMessageForCode(organizeName, code, null, "医院通知", patientId, null, "病历复印申请已通过", sdf.format(date), "病历复印申请已通过,请点击跳转付费", null, null, null, "查看详情", url, messageId), receiveMessage); } @@ -194,7 +173,7 @@ public class RabbitReceiver { String url = receiveMessage.get("url"); String IdCard = receiveMessage.get("IdCard"); String deptCode = receiveMessage.get("deptCode"); - url = IniConfig.getInstance("domain") + "wx/" + IniConfig.getInstance("weChatUIPath") + "push-universal.html?patientId=" + ("".equals(patientId)||patientId==null ? "": Base64.getEncoder().encodeToString(patientId.getBytes())) + "&content=" + Base64.getEncoder().encodeToString(UriUtils.encode(content, StandardCharsets.UTF_8.toString()).getBytes()) + "&time=" + Base64.getEncoder().encodeToString(sdf.format(date).getBytes()) + "&url=" + ("".equals(url)||url==null?"":Base64.getEncoder().encodeToString(UriUtils.encode(url, StandardCharsets.UTF_8.toString()).getBytes())); + url = IniConfig.DOMAIN + "wx/" + IniConfig.WECHAT_UI_PATH + "push-universal.html?patientId=" + ("".equals(patientId)||patientId==null ? "": Base64.getEncoder().encodeToString(patientId.getBytes())) + "&content=" + Base64.getEncoder().encodeToString(UriUtils.encode(content, StandardCharsets.UTF_8.toString()).getBytes()) + "&time=" + Base64.getEncoder().encodeToString(sdf.format(date).getBytes()) + "&url=" + ("".equals(url)||url==null?"":Base64.getEncoder().encodeToString(UriUtils.encode(url, StandardCharsets.UTF_8.toString()).getBytes())); retry(MessageApiHelper.TemplateMessageForDeptCode(organizeName, code, IdCard, "医院通知", patientId, deptCode, null, sdf.format(date), content, null, null, null, null, url, messageId), receiveMessage); } @@ -216,13 +195,13 @@ public class RabbitReceiver { if (!"".equals(url)&&("".equals(buttonName)||buttonName==null)) { viewUrl = url; } else { - viewUrl = IniConfig.getInstance("domain") + "wx/" + IniConfig.getInstance("weChatUIPath") + "push-universal.html?patientId=" + ("".equals(patientId)||patientId==null ? "": Base64.getEncoder().encodeToString(patientId.getBytes())) + "&content=" + Base64.getEncoder().encodeToString(UriUtils.encode(content, StandardCharsets.UTF_8.toString()).getBytes()) + "&time=" + Base64.getEncoder().encodeToString(sdf.format(date).getBytes()) + "&url=" + ("".equals(url)||url==null?"":Base64.getEncoder().encodeToString(UriUtils.encode(url, StandardCharsets.UTF_8.toString()).getBytes())) + "&buttonName=" + ("".equals(buttonName)||buttonName==null?"":Base64.getEncoder().encodeToString(UriUtils.encode(buttonName, StandardCharsets.UTF_8.toString()).getBytes())); + viewUrl = IniConfig.DOMAIN + "wx/" + IniConfig.WECHAT_UI_PATH + "push-universal.html?patientId=" + ("".equals(patientId)||patientId==null ? "": Base64.getEncoder().encodeToString(patientId.getBytes())) + "&content=" + Base64.getEncoder().encodeToString(UriUtils.encode(content, StandardCharsets.UTF_8.toString()).getBytes()) + "&time=" + Base64.getEncoder().encodeToString(sdf.format(date).getBytes()) + "&url=" + ("".equals(url)||url==null?"":Base64.getEncoder().encodeToString(UriUtils.encode(url, StandardCharsets.UTF_8.toString()).getBytes())) + "&buttonName=" + ("".equals(buttonName)||buttonName==null?"":Base64.getEncoder().encodeToString(UriUtils.encode(buttonName, StandardCharsets.UTF_8.toString()).getBytes())); } log.info("[通用消息推送] 转换链接打印 messageId-{}, url-{}",messageId, viewUrl); - if (IniConfig.getInstance("templateVersion") != null) { + if (IniConfig.TEMPLATE_VERSION) { content = content.substring(0, 16) + "……"; } - retry(MessageApiHelper.TemplateMessageForCode(organizeName, code, IdCard, IniConfig.getInstance("templateVersion") == null ? "绑定通知" : "工单处理提醒", patientId, doctorCode, null, sdf.format(date), content, null, null, null, null, viewUrl, messageId), receiveMessage); + retry(MessageApiHelper.TemplateMessageForCode(organizeName, code, IdCard, Boolean.FALSE.equals(IniConfig.TEMPLATE_VERSION) ? "绑定通知" : "工单处理提醒", patientId, doctorCode, null, sdf.format(date), content, null, null, null, null, viewUrl, messageId), receiveMessage); } diff --git a/src/main/java/com/ynxbd/push/rabbit/send/RabbitSender.java b/src/main/java/com/ynxbd/push/rabbit/send/RabbitSender.java index 9c540dd..3a4ec23 100644 --- a/src/main/java/com/ynxbd/push/rabbit/send/RabbitSender.java +++ b/src/main/java/com/ynxbd/push/rabbit/send/RabbitSender.java @@ -29,7 +29,7 @@ public class RabbitSender { String uuid = UUID.randomUUID().toString(); CorrelationData correlationData = new CorrelationData(uuid); message.put("message_id", uuid); - this.rabbitTemplate.convertAndSend("wxPushExchange", "wxPushRouting", message, correlationData); + this.rabbitTemplate.convertAndSend("wx.push.queue", message,correlationData); } @@ -39,8 +39,7 @@ public class RabbitSender { CorrelationData correlationData = new CorrelationData(uuid); message.put("count", "0"); message.put("message_id", uuid); -// System.out.println("end=" + JSONObject.toJSONString(message)); - this.rabbitTemplate.convertAndSend("wxPushExchange", "wxPushRouting", message, correlationData); + this.rabbitTemplate.convertAndSend("wx.push.queue", message,correlationData); } } diff --git a/src/main/java/com/ynxbd/push/service/HisUniversalService.java b/src/main/java/com/ynxbd/push/service/HisUniversalService.java index 30a8e90..929a772 100644 --- a/src/main/java/com/ynxbd/push/service/HisUniversalService.java +++ b/src/main/java/com/ynxbd/push/service/HisUniversalService.java @@ -54,6 +54,10 @@ public class HisUniversalService { case work_order_remind_02__001: return work_order_remind_02__001(paramsMap, templateId, hisApiEnum.TITLE); + + case doctor_admissions_05_001: + return doctor_admissions_05_001(paramsMap, templateId, hisApiEnum.TITLE); + } return ResponseResult.CALL_NO_IS_NOT_FIND.toMessResult(); } @@ -92,7 +96,7 @@ public class HisUniversalService { String doctorCode = paramsMap.get("doctorCode"); String cardNo = paramsMap.get("cardNo"); String openId = paramsMap.get("openId"); - if (ObjectUtils.isEmpty(patientId) && ObjectUtils.isEmpty(doctorCode) && ObjectUtils.isEmpty(cardNo)) { + if (ObjectUtils.isEmpty(patientId) && ObjectUtils.isEmpty(doctorCode) && ObjectUtils.isEmpty(cardNo)&&ObjectUtils.isEmpty(openId)) { throw new Exception("查询信息的参数缺失"); } @@ -102,7 +106,9 @@ public class HisUniversalService { if (!ObjectUtils.isEmpty(doctorCode)) { tempData.put("doctorCode", doctorCode); } - + if(!ObjectUtils.isEmpty(openId)) { + tempData.put("openId", openId); + } if (!ObjectUtils.isEmpty(cardNo)) { tempData.put("cardNo", cardNo); } @@ -138,6 +144,28 @@ public class HisUniversalService { } + public MessageSendResult reg_today_tip_05_001(Map paramsMap, String templateId, String title){ + try { + Map tempData = createTemplate(paramsMap, templateId, title, ""); + + // 就诊人 + String patientName = MsgParamEnum.THING.put(paramsMap, tempData, "patientName", 1); + // 就诊科室 + String deptName = MsgParamEnum.THING.put(paramsMap, tempData, "deptName", 2); + // 就诊时间 + String time = MsgParamEnum.TIME.put(paramsMap, tempData, "time", 6); + // 候诊地点 + String address = MsgParamEnum.THING.put(paramsMap, tempData, "address", 7); + String doctorName = MsgParamEnum.THING.put(paramsMap, tempData, "doctorName", 12); + + rabbitSender.sendByTip(tempData); + return ResponseResult.JOIN_QUEUE.toMessResult(); + } catch (Exception e) { + log.error(e.getMessage()); + return ResponseResult.PARAMETER_IS_NULL.toMessResult(); + } + } + /** * 缴费提醒(患者姓名、开单时间、缴费项目、金额) * @@ -205,7 +233,7 @@ public class HisUniversalService { */ private MessageSendResult report_notice_05__001(Map paramsMap, String templateId, String title) { try { - Map tempData = createTemplate(paramsMap, templateId, title, ""); + Map tempData = createTemplate(paramsMap, templateId, title, null); // 就诊卡号 MsgParamEnum.CHARACTER_STRING.put(paramsMap, tempData, "cardNo", 12); // 就诊人 @@ -248,6 +276,29 @@ public class HisUniversalService { } } + private MessageSendResult doctor_admissions_05_001(Map paramsMap, String templateId, String title) { + try { + Map tempData = createTemplate(paramsMap, templateId, title, null); + // 医生 + MsgParamEnum.THING.put(paramsMap, tempData, "doctorName", 4); + // 就诊人 + MsgParamEnum.THING.put(paramsMap, tempData, "patientName", 1); + //医疗项目 + MsgParamEnum.THING.put(paramsMap, tempData, "item", 5); + //就诊时间 + MsgParamEnum.TIME.put(paramsMap, tempData, "time", 7); + //科室 + MsgParamEnum.THING.put(paramsMap, tempData, "deptName", 3); + + + rabbitSender.sendByTip(tempData); + return ResponseResult.JOIN_QUEUE.toMessResult(); + } catch (Exception e) { + log.error(e.getMessage()); + return ResponseResult.PARAMETER_IS_NULL.toMessResult(); + } + } + public static void main(String[] args) { Map map = new HashMap<>(); diff --git a/src/main/java/com/ynxbd/push/test/TodayRegTest.java b/src/main/java/com/ynxbd/push/test/TodayRegTest.java new file mode 100644 index 0000000..5d95c96 --- /dev/null +++ b/src/main/java/com/ynxbd/push/test/TodayRegTest.java @@ -0,0 +1,15 @@ +package com.ynxbd.push.test; + +import com.ynxbd.push.quartz.pushJob.TodayReg.TodayReg; + +/** + * @author 李进才 + * @ClassName TodayRegTest + * @Description TODO + * @date 2024/05/23 10:07:00 + */ +public class TodayRegTest { + public static void main(String[] args) { + TodayReg.runJon(); + } +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 23393e3..ea98749 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,14 +22,13 @@ spring: listener: simple: # 采用手动应答 - acknowledge-mode: manual # 当前监听容器数 concurrency: 1 # 最大数 max-concurrency: 1 # 是否支持重试 retry: - enabled: true + enabled: false logging: diff --git a/src/main/resources/weChat.ini b/src/main/resources/weChat.ini index 5100819..b158d35 100644 --- a/src/main/resources/weChat.ini +++ b/src/main/resources/weChat.ini @@ -1,5 +1,19 @@ -# BI推送模式2 OPENTM207867603 -# 蒙自市人民医院排队叫号机构代码 8A381806ED3F1723CAEF3C827F96DDB635029D1467BF9971 + +[192.168.1.125] +name=本地 +#leaderUrl = 200.200.200.70:01 +# 领导层BI推送 模版id +#leaderTemplateId = iTgXzpqIre-0lFw2nq0iDCDAlVl0d2NhIT9X77dS5WY +# 测试账号 openid +# leaderTest = om5Hqvu8TRg97HzsWjpgiHFqEovk +# 推送时间 每天「倒数第三位」点「倒数第四位」分触发 +leaderTime = 0 00 08 * * ? +token_url = https://www.dhzzyyy.net/wx/api/getWxAccessToken.do +today_reg_url = https://www.dhzzyyy.net/wx/register/getTodayRegOpenId +domain = https://www.dhzzyyy.net/ +weChatUIPath = web/ +templateVersion = new + [10.20.10.60] name=红河州第一人民医院 speed=20 @@ -25,45 +39,46 @@ domain = https://wx.hhzyy.com/ weChatUIPath = web/ -[200.200.200.161] -name=蒙自市第一人民医院 -weChatUrl = http://wx.mzsrmyy.net/wx/ -reportUrl = web -leaderUrl = 200.200.200.168:8080 -leaderTemplateId = yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI +[200.200.200.60] +name=德宏州中医院 +#leaderUrl = 200.200.200.70:01 +# 领导层BI推送 模版id +#leaderTemplateId = iTgXzpqIre-0lFw2nq0iDCDAlVl0d2NhIT9X77dS5WY # 测试账号 openid -# leaderTest = oX5GuwV9DOhctadDV3OD7vkWQpGE;oX5Guwet_XMH70Nq_fKnFANF3w-8 +# leaderTest = om5Hqvu8TRg97HzsWjpgiHFqEovk # 推送时间 每天「倒数第三位」点「倒数第四位」分触发 -leaderTime = 0 00 09 * * ? -domain = http://wx.mzsrmyy.net/ -weChatUIPath = web/ - -[192.168.64.1] -name = 永胜县人民医院 -weChatUrl = http://www.ysxrmyy901.com/wx/ -leaderTemplateId = uEYM34FWaZBuw-G1Dw9d-qZ5Uyex53NtSEF6_y7_SdY leaderTime = 0 00 08 * * ? -domain = http://www.ysxrmyy901.com/ -token_url= http://www.ysxrmyy901.com/wx/api/getWxAccessToken.do +todayRegTimeMom = 0 30 07 * * ? +todayRegTimeNoon = 0 00 14 * * ? +domain = https://www.dhzzyyy.net/ +weChatUIPath = web/ templateVersion = new -weChatUIPath = + + +;[200.200.200.161] +;name=蒙自市第一人民医院 +;reportUrl = web +;leaderUrl = 200.200.200.168: +;leaderTemplateId = yN0-xsCzSlDRcGZlMhifWBkziwyGlBHXrK-fzF76EzI +;# 测试账号 openid +;# leaderTest = oX5GuwV9DOhctadDV3OD7vkWQpGE;oX5Guwet_XMH70Nq_fKnFANF3w-8 +;# 推送时间 每天「倒数第三位」点「倒数第四位」分触发 +;leaderTime = 0 00 09 * * ? +;domain = http://wx.mzsrmyy.net/ +;weChatUIPath = web/ + [192.168.0.228] name=蒙自市中医院 speed=20 - -[200.200.200.60] -name=德宏州中医院 -leaderUrl = 200.200.200.70:8001 -# 领导层BI推送 模版id -leaderTemplateId = iTgXzpqIre-0lFw2nq0iDCDAlVl0d2NhIT9X77dS5WY -# 测试账号 openid -leaderTest = om5Hqvu8TRg97HzsWjpgiHFqEovk -# 推送时间 每天「倒数第三位」点「倒数第四位」分触发 +domain = http://wx.mzszyyy.cn/ +leaderUrl = 192.168.0.183:8080 leaderTime = 0 00 08 * * ? -domain = https://www.dhzzyyy.net/ -speed=20 +templateVersion = new +weChatUIPath = web/ +token_url = http://127.0.0.1:80/wx/api/getWxAccessToken.do + [200.200.200.7] name=武定中医院 @@ -94,13 +109,12 @@ templateId12 = 4dcsihkvVIJPURohSI_pN1CiPCcclkQ87uRe195cA9Q remark12= 预约挂号成功 # 取消预约挂号 templateId9 = RkxlxNavFHZcT6a7qSsJrIiG2jjUVIcbRHOSCtdp7B0 -weChatUrl = http://www.wsxrmyy.cn/wx/ lisReportTemplateId = mMCj_r0GFvHdG9vvv8Pxr4z7Agi2ghkx7NxgDUcyQG4 lisPeople = ozup5xIV44_0ZE2FizXc39AMU_e8;ozup5xPFQ_11l6Jl2wCDJQ5vv4pc;ozup5xISKv1NnkEtmQKnqPahRmwA lisUrl = http://www.wsxrmyy.cn/lis-daily/web/index.html#/ lisTemplateId = t5TWL228wakwhgu0rTI85yjMlk0aYBfcm6vqD447x5k leaderTemplateId = VOtFBlFcWWIPuN9uOq8n6Ay5eik1vfkBcfXpBshXepY -leaderUrl = 200.200.200.9:8080 +leaderUrl = 200.200.200.9: leaderTime = 0 00 08 * * ? domain = http://www.wsxrmyy.cn/ weChatUIPath = web/ @@ -108,8 +122,7 @@ weChatUIPath = web/ [192.168.33.40] name = 玉龙县人民医院 -weChatUrl = http://www.ljylxrmyy.com/wx/ -leaderUrl = 172.16.24.4:8080 +leaderUrl = 172.16.24.4: # 领导层BI推送 模版id leaderTemplateId = a775Q5ikmGLDuX7rWcT8sRfU5IZZ4cvmjWYNJ36I5e4 # 绑定通知 的模版 @@ -124,18 +137,22 @@ weChatUIPath = [192.168.11.7] name = 芒市妇幼保健院 -weChatUrl = http://www.msfyy.com/wx/ +templateVersion = new +domain = https://www.msfyy.com/ +weChatUIPath = web/ +token_url = http://127.0.0.1:80/wx/api/getWxAccessToken.do [192.168.10.10] name = 石林县人民医院 -weChatUrl = http://www.slxrmyy.cn/wx/ +domain = http://www.slxrmyy.cn/ +templateVersion = new +weChatUIPath = [172.28.5.3] name = 永胜县人民医院 -weChatUrl = http://www.ysxrmyy901.com/wx/ leaderTemplateId = Al-pWshj-rlccb155iDCc4CUkzOZUeUah8ORTD08CVg -leaderUrl = 200.200.200.105:8080 +leaderUrl = 200.200.200.105: leaderTime = 0 05 08 * * ? domain = http://www.ysxrmyy901.com/ templateVersion = new @@ -144,7 +161,6 @@ weChatUIPath = [192.168.10.8] name = 宁蒗县人民医院 -weChatUrl = http://www.nlxrmyy.cn/wx/ leaderTemplateId = X0iIY4uKZC_feYKD1RfrgIwXM9E0ryHdqs4xVrC00DY leaderUrl = 192.168.10.43:8080 leaderTime = 0 00 06 * * ? @@ -153,3 +169,20 @@ templateVersion = new weChatUIPath = +[192.168.104.201] +name = 昭通精神防卫中心 +leaderTemplateId = rnTc-GhBXcL2rxqtMSbgUwWTDgXSYHJ-ieS8Mk0RTcI +leaderUrl = 192.168.100.113:8080 +leaderTime = 0 00 09 ? * MON +domain = https://ali.ztjswszx.com/ +templateVersion = new +weChatUIPath = web/ + + + +[172.17.0.1] +name = 芒市人民医院 +domain = http://www.msrmyy.com.cn/ +templateVersion = new +weChatUIPath = web/ +