2022-03-16 14:28:45,410 INFO [main] c.x.j.e.XxlJobExecutorApplication [StartupInfoLogger.java : 55] Starting XxlJobExecutorApplication using Java 1.8.0_282 on wanghsdembp with PID 10552 (/Users/wanghs/MyWork/GyeeWork/MyCode/xxl-job/xxl-job-executor-samples/xxl-job-executor-sample-springboot/target/classes started by wanghs in /Users/wanghs/MyWork/GyeeWork/MyCode/xxl-job) 2022-03-16 14:28:45,412 INFO [main] c.x.j.e.XxlJobExecutorApplication [SpringApplication.java : 675] No active profile set, falling back to default profiles: default 2022-03-16 14:28:45,956 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 108] Tomcat initialized with port(s): 8081 (http) 2022-03-16 14:28:45,961 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Initializing ProtocolHandler ["http-nio-8081"] 2022-03-16 14:28:45,962 INFO [main] o.a.catalina.core.StandardService [DirectJDKLog.java : 173] Starting service [Tomcat] 2022-03-16 14:28:45,962 INFO [main] o.a.catalina.core.StandardEngine [DirectJDKLog.java : 173] Starting Servlet engine: [Apache Tomcat/9.0.45] 2022-03-16 14:28:45,992 INFO [main] o.a.c.c.C.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring embedded WebApplicationContext 2022-03-16 14:28:45,992 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 289] Root WebApplicationContext: initialization completed in 451 ms 2022-03-16 14:28:46,029 INFO [main] c.x.j.e.core.config.XxlJobConfig [XxlJobConfig.java : 46] >>>>>>>>>>> xxl-job config init. 2022-03-16 14:28:46,094 INFO [main] o.s.s.c.ThreadPoolTaskExecutor [ExecutorConfigurationSupport.java : 181] Initializing ExecutorService 'applicationTaskExecutor' 2022-03-16 14:28:46,202 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@359ff4d9[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler] 2022-03-16 14:28:46,203 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:wanghsJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7ae9a33a[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler_wanghs] 2022-03-16 14:28:46,203 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@301aa982[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#shardingJobHandler] 2022-03-16 14:28:46,203 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@5fc930f0[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#commandJobHandler] 2022-03-16 14:28:46,203 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3701e6e4[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#httpJobHandler] 2022-03-16 14:28:46,203 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@c6634d[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler2] 2022-03-16 14:28:46,303 WARN [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 155] >>>>>>>>>>> xxl-job accessToken is empty. To ensure system security, please set the accessToken. 2022-03-16 14:28:46,307 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Starting ProtocolHandler ["http-nio-8081"] 2022-03-16 14:28:46,319 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 220] Tomcat started on port(s): 8081 (http) with context path '' 2022-03-16 14:28:46,327 INFO [main] c.x.j.e.XxlJobExecutorApplication [StartupInfoLogger.java : 61] Started XxlJobExecutorApplication in 1.1 seconds (JVM running for 1.381) 2022-03-16 14:28:46,392 INFO [Thread-5] com.xxl.job.core.server.EmbedServer [EmbedServer.java : 86] >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 9999 2022-03-16 14:29:51,182 INFO [xxl-job, EmbedServer bizThreadPool-358895091] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 244] >>>>>>>>>>> xxl-job regist JobThread success, jobId:2, handler:com.xxl.job.core.handler.impl.MethodJobHandler@7ae9a33a[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler_wanghs] 2022-03-16 14:31:24,305 INFO [xxl-job, JobThread-2-1647412191182] com.xxl.job.core.thread.JobThread [JobThread.java : 250] >>>>>>>>>>> xxl-job JobThread stoped, hashCode:Thread[xxl-job, JobThread-2-1647412191182,10,main] 2022-03-16 14:51:26,590 INFO [xxl-job, EmbedServer bizThreadPool-692256075] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 244] >>>>>>>>>>> xxl-job regist JobThread success, jobId:9, handler:com.xxl.job.core.handler.impl.GlueJobHandler@853e6d6 2022-03-16 14:52:59,727 INFO [xxl-job, JobThread-9-1647413486590] com.xxl.job.core.thread.JobThread [JobThread.java : 250] >>>>>>>>>>> xxl-job JobThread stoped, hashCode:Thread[xxl-job, JobThread-9-1647413486590,10,main] 2022-03-16 15:00:54,911 INFO [SpringContextShutdownHook] o.s.s.c.ThreadPoolTaskExecutor [ExecutorConfigurationSupport.java : 218] Shutting down ExecutorService 'applicationTaskExecutor' 2022-03-16 15:00:54,911 INFO [Thread-5] com.xxl.job.core.server.EmbedServer [EmbedServer.java : 96] >>>>>>>>>>> xxl-job remoting server stop. 2022-03-16 15:00:54,913 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 143] Connection refused (Connection refused) java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:848) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1596) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1501) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:119) at com.xxl.job.core.biz.client.AdminBizClient.registryRemove(AdminBizClient.java:47) at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:84) at java.lang.Thread.run(Thread.java:748) 2022-03-16 15:00:54,914 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 90] >>>>>>>>>>> xxl-job registry-remove fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='xxl-job-executor-sample', registryValue='http://192.168.2.8:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused (Connection refused)), for url : http://127.0.0.1:8080/xxl-job-admin/api/registryRemove, content=null] 2022-03-16 15:00:54,914 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 105] >>>>>>>>>>> xxl-job, executor registry thread destroy. 2022-03-16 15:00:54,914 INFO [SpringContextShutdownHook] com.xxl.job.core.server.EmbedServer [EmbedServer.java : 125] >>>>>>>>>>> xxl-job remoting server destroy success. 2022-03-16 15:00:54,914 INFO [xxl-job, executor JobLogFileCleanThread] c.x.j.c.thread.JobLogFileCleanThread [JobLogFileCleanThread.java : 99] >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destroy. 2022-03-16 15:00:54,914 INFO [xxl-job, executor TriggerCallbackThread] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 98] >>>>>>>>>>> xxl-job, executor callback thread destroy. 2022-03-16 15:00:54,914 INFO [Thread-4] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 128] >>>>>>>>>>> xxl-job, executor retry callback thread destroy. 2022-03-16 15:23:56,069 INFO [main] c.x.j.e.XxlJobExecutorApplication [StartupInfoLogger.java : 55] Starting XxlJobExecutorApplication using Java 1.8.0_282 on wanghsdembp with PID 11245 (/Users/wanghs/MyWork/GyeeWork/MyCode/xxl-job/xxl-job-executor-samples/xxl-job-executor-sample-springboot/target/classes started by wanghs in /Users/wanghs/MyWork/GyeeWork/MyCode/xxl-job) 2022-03-16 15:23:56,071 INFO [main] c.x.j.e.XxlJobExecutorApplication [SpringApplication.java : 675] No active profile set, falling back to default profiles: default 2022-03-16 15:23:56,641 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 108] Tomcat initialized with port(s): 8081 (http) 2022-03-16 15:23:56,646 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Initializing ProtocolHandler ["http-nio-8081"] 2022-03-16 15:23:56,647 INFO [main] o.a.catalina.core.StandardService [DirectJDKLog.java : 173] Starting service [Tomcat] 2022-03-16 15:23:56,647 INFO [main] o.a.catalina.core.StandardEngine [DirectJDKLog.java : 173] Starting Servlet engine: [Apache Tomcat/9.0.45] 2022-03-16 15:23:56,678 INFO [main] o.a.c.c.C.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring embedded WebApplicationContext 2022-03-16 15:23:56,678 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 289] Root WebApplicationContext: initialization completed in 468 ms 2022-03-16 15:23:56,718 INFO [main] c.x.j.e.core.config.XxlJobConfig [XxlJobConfig.java : 46] >>>>>>>>>>> xxl-job config init. 2022-03-16 15:23:56,779 INFO [main] o.s.s.c.ThreadPoolTaskExecutor [ExecutorConfigurationSupport.java : 181] Initializing ExecutorService 'applicationTaskExecutor' 2022-03-16 15:23:56,881 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@50acf55d[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler] 2022-03-16 15:23:56,882 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:wanghsJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@2aeefcc[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler_wanghs] 2022-03-16 15:23:56,882 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@359ff4d9[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#shardingJobHandler] 2022-03-16 15:23:56,883 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7a22a3c2[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#commandJobHandler] 2022-03-16 15:23:56,883 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@f4cfd90[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#httpJobHandler] 2022-03-16 15:23:56,883 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 181] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7ae9a33a[class com.xxl.job.executor.service.jobhandler.SampleXxlJob#demoJobHandler2] 2022-03-16 15:24:03,589 WARN [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 155] >>>>>>>>>>> xxl-job accessToken is empty. To ensure system security, please set the accessToken. 2022-03-16 15:24:03,597 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Starting ProtocolHandler ["http-nio-8081"] 2022-03-16 15:24:03,614 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 220] Tomcat started on port(s): 8081 (http) with context path '' 2022-03-16 15:24:03,625 INFO [main] c.x.j.e.XxlJobExecutorApplication [StartupInfoLogger.java : 61] Started XxlJobExecutorApplication in 7.754 seconds (JVM running for 8.041) 2022-03-16 15:24:03,694 INFO [Thread-5] com.xxl.job.core.server.EmbedServer [EmbedServer.java : 86] >>>>>>>>>>> xxl-job remoting server start success, nettype = class com.xxl.job.core.server.EmbedServer, port = 9999 2022-03-16 15:24:03,702 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 143] Connection refused (Connection refused) java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1229) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1165) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1059) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:993) at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99) at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:42) at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) at java.lang.Thread.run(Thread.java:748) 2022-03-16 15:24:03,703 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='xxl-job-executor-sample', registryValue='http://192.168.2.8:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused (Connection refused)), for url : http://127.0.0.1:8080/xxl-job-admin/api/registry, content=null] 2022-03-16 15:24:17,993 INFO [SpringContextShutdownHook] o.s.s.c.ThreadPoolTaskExecutor [ExecutorConfigurationSupport.java : 218] Shutting down ExecutorService 'applicationTaskExecutor' 2022-03-16 15:24:17,993 INFO [Thread-5] com.xxl.job.core.server.EmbedServer [EmbedServer.java : 96] >>>>>>>>>>> xxl-job remoting server stop. 2022-03-16 15:24:17,994 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 143] Connection refused (Connection refused) java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1229) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1165) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1059) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:993) at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:99) at com.xxl.job.core.biz.client.AdminBizClient.registryRemove(AdminBizClient.java:47) at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:84) at java.lang.Thread.run(Thread.java:748) 2022-03-16 15:24:17,994 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 90] >>>>>>>>>>> xxl-job registry-remove fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='xxl-job-executor-sample', registryValue='http://192.168.2.8:9999/'}, registryResult:ReturnT [code=500, msg=xxl-job remoting error(Connection refused (Connection refused)), for url : http://127.0.0.1:8080/xxl-job-admin/api/registryRemove, content=null] 2022-03-16 15:24:17,994 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 105] >>>>>>>>>>> xxl-job, executor registry thread destroy. 2022-03-16 15:24:17,994 INFO [SpringContextShutdownHook] com.xxl.job.core.server.EmbedServer [EmbedServer.java : 125] >>>>>>>>>>> xxl-job remoting server destroy success. 2022-03-16 15:24:17,994 INFO [xxl-job, executor JobLogFileCleanThread] c.x.j.c.thread.JobLogFileCleanThread [JobLogFileCleanThread.java : 99] >>>>>>>>>>> xxl-job, executor JobLogFileCleanThread thread destroy. 2022-03-16 15:24:17,994 INFO [xxl-job, executor TriggerCallbackThread] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 98] >>>>>>>>>>> xxl-job, executor callback thread destroy. 2022-03-16 15:24:17,995 INFO [Thread-4] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 128] >>>>>>>>>>> xxl-job, executor retry callback thread destroy.