You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
629 lines
85 KiB
629 lines
85 KiB
2023-03-06 23:13:59.167 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$7bed4a85] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:13:59.405 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - No active profile set, falling back to default profiles: default
|
|
2023-03-06 23:13:59.727 [main] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=c0d76c20-ba80-3ff7-8a4f-d87e4dab33c1
|
|
2023-03-06 23:13:59.735 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConfiguration' of type [com.yomahub.tlog.example.feign.configuration.AsyncConfiguration$$EnhancerBySpringCGLIB$$d9febeee] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:13:59.784 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$7bed4a85] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:14:00.015 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 3111 (http)
|
|
2023-03-06 23:14:00.023 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:14:00.027 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
|
2023-03-06 23:14:00.028 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.24]
|
|
2023-03-06 23:14:00.109 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
2023-03-06 23:14:00.109 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 695 ms
|
|
2023-03-06 23:14:00.155 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:14:00.156 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'asyncPoolTaskExecutor'
|
|
2023-03-06 23:14:00.159 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:14:00.159 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:14:00.168 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:14:00.168 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:14:00.171 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:14:00.171 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:14:00.614 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService
|
|
2023-03-06 23:14:00.964 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:14:00.978 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 3111 (http) with context path ''
|
|
2023-03-06 23:14:03.089 [main] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, tlog-logback-feign-consumer register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239)
|
|
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
|
at com.yomahub.tlog.example.feign.TLogFeignConsumerRunner.main(TLogFeignConsumerRunner.java:14)
|
|
2023-03-06 23:14:03.255 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - Started TLogFeignConsumerRunner in 4.635 seconds (JVM running for 5.728)
|
|
2023-03-06 23:14:27.264 [http-nio-3111-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
2023-03-06 23:14:27.264 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
2023-03-06 23:14:27.271 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 7 ms
|
|
2023-03-06 23:14:28.545 [http-nio-3111-exec-1] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264385244627008] main cost 1003 ms
|
|
2023-03-06 23:14:29.562 [async-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264385244627008] task1 cost 2016 ms
|
|
2023-03-06 23:14:30.549 [async-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264385244627008] task2 cost 3003 ms
|
|
2023-03-06 23:15:00.673 [http-nio-3111-exec-3] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264387356786752] main cost 1015 ms
|
|
2023-03-06 23:15:05.961 [async-2] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264387356786752] task1 cost 3936 ms
|
|
2023-03-06 23:15:11.349 [async-2] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264387356786752] task2 cost 4322 ms
|
|
2023-03-06 23:15:33.076 [http-nio-3111-exec-5] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264389480611904] main cost 1010 ms
|
|
2023-03-06 23:15:34.069 [async-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264385244627008] task1 cost 2003 ms
|
|
2023-03-06 23:15:35.077 [async-3] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264389480611904] task2 cost 3011 ms
|
|
2023-03-06 23:16:33.252 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registering from Nacos Server now...
|
|
2023-03-06 23:16:35.310 [Thread-19] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - ERR_NACOS_DEREGISTER, de-register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.deregisterService(NamingProxy.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:244)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:231)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:221)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.deregister(NacosServiceRegistry.java:85)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.deregister(AbstractAutoServiceRegistration.java:256)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.stop(AbstractAutoServiceRegistration.java:271)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.destroy(AbstractAutoServiceRegistration.java:208)
|
|
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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:321)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:156)
|
|
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:242)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:571)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:543)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1036)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:504)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1029)
|
|
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1057)
|
|
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1026)
|
|
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:945)
|
|
2023-03-06 23:16:35.311 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registration finished.
|
|
2023-03-06 23:16:35.313 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:16:35.313 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'asyncPoolTaskExecutor'
|
|
2023-03-06 23:16:39.822 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$751b7eac] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:16:40.084 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - No active profile set, falling back to default profiles: default
|
|
2023-03-06 23:16:40.362 [main] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=c0d76c20-ba80-3ff7-8a4f-d87e4dab33c1
|
|
2023-03-06 23:16:40.370 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConfiguration' of type [com.yomahub.tlog.example.feign.configuration.AsyncConfiguration$$EnhancerBySpringCGLIB$$d32cf315] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:16:40.413 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$751b7eac] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:16:40.614 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 3111 (http)
|
|
2023-03-06 23:16:40.621 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:16:40.627 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
|
2023-03-06 23:16:40.627 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.24]
|
|
2023-03-06 23:16:40.705 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
2023-03-06 23:16:40.705 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 613 ms
|
|
2023-03-06 23:16:40.747 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:16:40.748 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'asyncPoolTaskExecutor'
|
|
2023-03-06 23:16:40.750 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:16:40.750 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:16:40.760 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:16:40.760 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:16:40.762 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:16:40.763 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:16:41.288 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService
|
|
2023-03-06 23:16:41.617 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:16:41.631 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 3111 (http) with context path ''
|
|
2023-03-06 23:16:43.750 [main] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, tlog-logback-feign-consumer register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239)
|
|
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
|
at com.yomahub.tlog.example.feign.TLogFeignConsumerRunner.main(TLogFeignConsumerRunner.java:14)
|
|
2023-03-06 23:16:43.918 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - Started TLogFeignConsumerRunner in 4.634 seconds (JVM running for 5.312)
|
|
2023-03-06 23:16:47.558 [http-nio-3111-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
2023-03-06 23:16:47.558 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
2023-03-06 23:16:47.563 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 5 ms
|
|
2023-03-06 23:16:48.842 [http-nio-3111-exec-1] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264394438606912] main cost 1011 ms
|
|
2023-03-06 23:16:49.842 [async-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264394438606912] task1 cost 2007 ms,thread name async-1
|
|
2023-03-06 23:16:50.849 [async-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264394438606912] task2 cost 3014 ms,thread name async-1
|
|
2023-03-06 23:18:09.997 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registering from Nacos Server now...
|
|
2023-03-06 23:18:12.050 [Thread-19] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - ERR_NACOS_DEREGISTER, de-register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.deregisterService(NamingProxy.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:244)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:231)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:221)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.deregister(NacosServiceRegistry.java:85)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.deregister(AbstractAutoServiceRegistration.java:256)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.stop(AbstractAutoServiceRegistration.java:271)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.destroy(AbstractAutoServiceRegistration.java:208)
|
|
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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:321)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:156)
|
|
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:242)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:571)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:543)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1036)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:504)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1029)
|
|
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1057)
|
|
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1026)
|
|
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:945)
|
|
2023-03-06 23:18:12.050 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registration finished.
|
|
2023-03-06 23:18:12.052 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:18:12.053 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'asyncPoolTaskExecutor'
|
|
2023-03-06 23:18:15.603 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$a2fc56dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:18:15.869 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - No active profile set, falling back to default profiles: default
|
|
2023-03-06 23:18:16.144 [main] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=dee5fb4d-ad25-3b9b-bfb3-14ee4d68bb57
|
|
2023-03-06 23:18:16.152 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConfiguration' of type [com.yomahub.tlog.example.feign.configuration.AsyncConfiguration$$EnhancerBySpringCGLIB$$10dcb46] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:18:16.196 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$a2fc56dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:18:16.395 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 3111 (http)
|
|
2023-03-06 23:18:16.403 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:18:16.407 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
|
2023-03-06 23:18:16.407 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.24]
|
|
2023-03-06 23:18:16.484 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
2023-03-06 23:18:16.484 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 608 ms
|
|
2023-03-06 23:18:16.527 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:18:16.527 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'defaultPoolTaskExecutor'
|
|
2023-03-06 23:18:16.530 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:18:16.530 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:18:16.540 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:18:16.540 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:18:16.542 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:18:16.542 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:18:17.124 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService
|
|
2023-03-06 23:18:17.455 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:18:17.470 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 3111 (http) with context path ''
|
|
2023-03-06 23:18:19.587 [main] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, tlog-logback-feign-consumer register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239)
|
|
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
|
at com.yomahub.tlog.example.feign.TLogFeignConsumerRunner.main(TLogFeignConsumerRunner.java:14)
|
|
2023-03-06 23:18:19.812 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - Started TLogFeignConsumerRunner in 4.744 seconds (JVM running for 5.407)
|
|
2023-03-06 23:18:22.648 [http-nio-3111-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
2023-03-06 23:18:22.648 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
2023-03-06 23:18:22.653 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 5 ms
|
|
2023-03-06 23:18:22.918 [http-nio-3111-exec-1] ERROR o.a.c.c.C.[.[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'asyncPoolTaskExecutor' available: No matching Executor bean found for qualifier 'asyncPoolTaskExecutor' - neither qualifier match nor bean name match!] with root cause
|
|
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'asyncPoolTaskExecutor' available: No matching Executor bean found for qualifier 'asyncPoolTaskExecutor' - neither qualifier match nor bean name match!
|
|
at org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactoryAnnotationUtils.java:136)
|
|
at org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactoryAnnotationUtils.java:95)
|
|
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.findQualifiedExecutor(AsyncExecutionAspectSupport.java:211)
|
|
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.determineAsyncExecutor(AsyncExecutionAspectSupport.java:169)
|
|
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.invoke(AsyncExecutionInterceptor.java:107)
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
|
|
at com.yomahub.tlog.example.feign.service.AsyncTask$$EnhancerBySpringCGLIB$$e16262f2.doTask1(<generated>)
|
|
at com.yomahub.tlog.example.feign.controller.AsyncController.task(AsyncController.java:20)
|
|
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:104)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
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:99)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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:92)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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:200)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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:526)
|
|
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:408)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
|
|
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:750)
|
|
2023-03-06 23:18:31.114 [http-nio-3111-exec-2] ERROR o.a.c.c.C.[.[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'asyncPoolTaskExecutor' available: No matching Executor bean found for qualifier 'asyncPoolTaskExecutor' - neither qualifier match nor bean name match!] with root cause
|
|
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'asyncPoolTaskExecutor' available: No matching Executor bean found for qualifier 'asyncPoolTaskExecutor' - neither qualifier match nor bean name match!
|
|
at org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactoryAnnotationUtils.java:136)
|
|
at org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactoryAnnotationUtils.java:95)
|
|
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.findQualifiedExecutor(AsyncExecutionAspectSupport.java:211)
|
|
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.determineAsyncExecutor(AsyncExecutionAspectSupport.java:169)
|
|
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.invoke(AsyncExecutionInterceptor.java:107)
|
|
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
|
|
at com.yomahub.tlog.example.feign.service.AsyncTask$$EnhancerBySpringCGLIB$$e16262f2.doTask1(<generated>)
|
|
at com.yomahub.tlog.example.feign.controller.AsyncController.task(AsyncController.java:20)
|
|
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:104)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
|
|
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
|
|
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
|
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)
|
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
|
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
|
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
|
|
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
|
|
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:99)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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:92)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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:200)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:118)
|
|
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:526)
|
|
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:408)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
|
|
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:750)
|
|
2023-03-06 23:18:56.916 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registering from Nacos Server now...
|
|
2023-03-06 23:18:58.966 [Thread-19] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - ERR_NACOS_DEREGISTER, de-register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.deregisterService(NamingProxy.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:244)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:231)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:221)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.deregister(NacosServiceRegistry.java:85)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.deregister(AbstractAutoServiceRegistration.java:256)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.stop(AbstractAutoServiceRegistration.java:271)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.destroy(AbstractAutoServiceRegistration.java:208)
|
|
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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:321)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:156)
|
|
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:242)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:571)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:543)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1036)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:504)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1029)
|
|
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1057)
|
|
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1026)
|
|
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:945)
|
|
2023-03-06 23:18:58.967 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registration finished.
|
|
2023-03-06 23:18:58.969 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:18:58.969 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'defaultPoolTaskExecutor'
|
|
2023-03-06 23:19:02.556 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$993939f6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:19:02.857 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - No active profile set, falling back to default profiles: default
|
|
2023-03-06 23:19:03.139 [main] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=dee5fb4d-ad25-3b9b-bfb3-14ee4d68bb57
|
|
2023-03-06 23:19:03.147 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'asyncConfiguration' of type [com.yomahub.tlog.example.feign.configuration.AsyncConfiguration$$EnhancerBySpringCGLIB$$f74aae5f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:19:03.191 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$993939f6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:19:03.393 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 3111 (http)
|
|
2023-03-06 23:19:03.401 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:19:03.405 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
|
2023-03-06 23:19:03.406 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.24]
|
|
2023-03-06 23:19:03.482 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
2023-03-06 23:19:03.482 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 618 ms
|
|
2023-03-06 23:19:03.525 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:19:03.526 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'defaultPoolTaskExecutor'
|
|
2023-03-06 23:19:03.528 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService
|
|
2023-03-06 23:19:03.528 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:19:03.538 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:19:03.538 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:19:03.540 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:19:03.540 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:19:03.999 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService
|
|
2023-03-06 23:19:04.344 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:19:04.358 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 3111 (http) with context path ''
|
|
2023-03-06 23:19:06.483 [main] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, tlog-logback-feign-consumer register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239)
|
|
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
|
at com.yomahub.tlog.example.feign.TLogFeignConsumerRunner.main(TLogFeignConsumerRunner.java:14)
|
|
2023-03-06 23:19:06.691 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - Started TLogFeignConsumerRunner in 4.685 seconds (JVM running for 5.34)
|
|
2023-03-06 23:19:09.439 [http-nio-3111-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
2023-03-06 23:19:09.439 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
2023-03-06 23:19:09.444 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 5 ms
|
|
2023-03-06 23:19:10.720 [http-nio-3111-exec-1] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264403736985664] main cost 1007 ms
|
|
2023-03-06 23:19:11.731 [default-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264403736985664] task1 cost 2014 ms,thread name default-1
|
|
2023-03-06 23:19:12.724 [other-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264403736985664] task2 cost 3007 ms,thread name other-1
|
|
2023-03-06 23:53:32.239 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registering from Nacos Server now...
|
|
2023-03-06 23:53:34.279 [Thread-19] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - ERR_NACOS_DEREGISTER, de-register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.deregisterService(NamingProxy.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:244)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:231)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:221)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.deregister(NacosServiceRegistry.java:85)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.deregister(AbstractAutoServiceRegistration.java:256)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.stop(AbstractAutoServiceRegistration.java:271)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.destroy(AbstractAutoServiceRegistration.java:208)
|
|
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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:321)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:156)
|
|
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:242)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:571)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:543)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1036)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:504)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1029)
|
|
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1057)
|
|
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1026)
|
|
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:945)
|
|
2023-03-06 23:53:34.279 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registration finished.
|
|
2023-03-06 23:53:34.282 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'otherTaskExecutor'
|
|
2023-03-06 23:53:34.282 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'defaultPoolTaskExecutor'
|
|
2023-03-06 23:53:38.976 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$a312e2e9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:53:39.220 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - No active profile set, falling back to default profiles: default
|
|
2023-03-06 23:53:39.497 [main] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=2b75fb50-050c-38b7-872d-f9b120dbd434
|
|
2023-03-06 23:53:39.537 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$a312e2e9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:53:39.729 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 3111 (http)
|
|
2023-03-06 23:53:39.737 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:53:39.742 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
|
2023-03-06 23:53:39.742 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.24]
|
|
2023-03-06 23:53:39.819 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
2023-03-06 23:53:39.819 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 592 ms
|
|
2023-03-06 23:53:39.859 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:53:39.859 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:53:39.862 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:53:39.862 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:53:39.967 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
|
|
2023-03-06 23:53:40.292 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService
|
|
2023-03-06 23:53:40.611 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:53:40.625 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 3111 (http) with context path ''
|
|
2023-03-06 23:53:42.736 [main] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, tlog-logback-feign-consumer register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239)
|
|
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
|
at com.yomahub.tlog.example.feign.TLogFeignConsumerRunner.main(TLogFeignConsumerRunner.java:14)
|
|
2023-03-06 23:53:42.904 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - Started TLogFeignConsumerRunner in 4.463 seconds (JVM running for 5.125)
|
|
2023-03-06 23:53:45.431 [http-nio-3111-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
2023-03-06 23:53:45.431 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
2023-03-06 23:53:45.436 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 5 ms
|
|
2023-03-06 23:53:47.701 [http-nio-3111-exec-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264539788738624] task1 cost 2007 ms,thread name http-nio-3111-exec-1
|
|
2023-03-06 23:53:50.703 [http-nio-3111-exec-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264539788738624] task2 cost 3002 ms,thread name http-nio-3111-exec-1
|
|
2023-03-06 23:53:51.717 [http-nio-3111-exec-1] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264539788738624] main cost 6023 ms
|
|
2023-03-06 23:54:00.255 [http-nio-3111-exec-2] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264540619079744] task1 cost 2000 ms,thread name http-nio-3111-exec-2
|
|
2023-03-06 23:54:03.265 [http-nio-3111-exec-2] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264540619079744] task2 cost 3010 ms,thread name http-nio-3111-exec-2
|
|
2023-03-06 23:54:04.279 [http-nio-3111-exec-2] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264540619079744] main cost 6024 ms
|
|
2023-03-06 23:54:27.442 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registering from Nacos Server now...
|
|
2023-03-06 23:54:29.498 [Thread-19] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - ERR_NACOS_DEREGISTER, de-register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.deregisterService(NamingProxy.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:244)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:231)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.deregisterInstance(NacosNamingService.java:221)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.deregister(NacosServiceRegistry.java:85)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.deregister(AbstractAutoServiceRegistration.java:256)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.stop(AbstractAutoServiceRegistration.java:271)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.destroy(AbstractAutoServiceRegistration.java:208)
|
|
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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:321)
|
|
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:156)
|
|
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:242)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:571)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:543)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1036)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:504)
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1029)
|
|
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1057)
|
|
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1026)
|
|
at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:945)
|
|
2023-03-06 23:54:29.499 [Thread-19] INFO c.a.cloud.nacos.registry.NacosServiceRegistry - De-registration finished.
|
|
2023-03-06 23:54:29.499 [Thread-19] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor'
|
|
2023-03-06 23:54:33.970 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c340ea7a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:54:34.238 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - No active profile set, falling back to default profiles: default
|
|
2023-03-06 23:54:34.512 [main] INFO o.springframework.cloud.context.scope.GenericScope - BeanFactory id=9e23cb1e-50db-312a-8ee3-d93ea1a6d66e
|
|
2023-03-06 23:54:34.563 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c340ea7a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2023-03-06 23:54:34.761 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 3111 (http)
|
|
2023-03-06 23:54:34.769 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:54:34.773 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
|
2023-03-06 23:54:34.774 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.24]
|
|
2023-03-06 23:54:34.851 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
|
2023-03-06 23:54:34.852 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 606 ms
|
|
2023-03-06 23:54:34.902 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:54:34.902 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:54:34.904 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
|
|
2023-03-06 23:54:34.904 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
|
|
2023-03-06 23:54:35.017 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
|
|
2023-03-06 23:54:35.324 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService
|
|
2023-03-06 23:54:35.656 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-3111"]
|
|
2023-03-06 23:54:35.671 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 3111 (http) with context path ''
|
|
2023-03-06 23:54:37.761 [main] ERROR c.a.cloud.nacos.registry.NacosServiceRegistry - nacos registry, tlog-logback-feign-consumer register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='tlog-logback-feign-consumer', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.56.1', networkInterface='', port=3111, secure=false, accessKey='', secretKey=''}},
|
|
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException: Connection refused: connect
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386)
|
|
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205)
|
|
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184)
|
|
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239)
|
|
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88)
|
|
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
|
|
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
|
|
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
|
at com.yomahub.tlog.example.feign.TLogFeignConsumerRunner.main(TLogFeignConsumerRunner.java:16)
|
|
2023-03-06 23:54:37.921 [main] INFO c.y.tlog.example.feign.TLogFeignConsumerRunner - Started TLogFeignConsumerRunner in 4.465 seconds (JVM running for 5.117)
|
|
2023-03-06 23:54:41.453 [http-nio-3111-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
|
|
2023-03-06 23:54:41.453 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
|
|
2023-03-06 23:54:41.460 [http-nio-3111-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 7 ms
|
|
2023-03-06 23:54:42.745 [http-nio-3111-exec-1] INFO c.y.tlog.example.feign.controller.AsyncController - [192.168.56.1][0][12264543460327488] main cost 1015 ms
|
|
2023-03-06 23:54:43.749 [woniugege-1] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264543460327488] task1 cost 2015 ms,thread name woniugege-1
|
|
2023-03-06 23:54:44.743 [woniugege-2] INFO com.yomahub.tlog.example.feign.service.AsyncTask - [192.168.56.1][0][12264543460327488] task2 cost 3009 ms,thread name woniugege-2
|
|
|