Commit f41f41db authored by 曹志's avatar 曹志

growth

parent ff0f3b11
......@@ -573,3 +573,688 @@ java.lang.IllegalStateException: org.springframework.context.annotation.Annotati
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70)
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
[2020-11-17 18:03:38] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:38] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:38] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:38] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:38] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:44] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:47] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:47] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:47] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:49] [WARN ] - [DUBBO] No spring extension (bean) named:logger, try to find an extension (bean) of type org.apache.dubbo.common.logger.Logger, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:03:50] [WARN ] - [DUBBO] Use random available port(20880) for protocol dubbo, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:14] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:14] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:14] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:14] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:14] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:17] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:17] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:17] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:17] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=5973&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605607517760&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:05:19] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:36] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:36] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:36] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:36] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:36] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:39] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:39] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:40] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:40] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6069&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605607720177&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:08:41] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:17] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:17] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:17] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:17] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:17] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:20] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:20] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:20] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:21] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6122&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605607820958&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:10:22] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:26] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:26] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:26] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:26] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:26] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:29] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:29] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:29] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:29] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6179&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605607949766&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:12:30] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:23] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:23] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:23] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:23] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:23] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:26] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:26] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:26] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:26] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6208&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605608006778&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:13:27] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:10] [WARN ] - [DUBBO] Unexpected error occured when unexport org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter@4fbb4281, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.IllegalStateException: org.springframework.context.annotation.AnnotationConfigApplicationContext@534ca02b has been closed already
at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1092)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1125)
at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.init(SpringCloudRegistryFactory.java:82)
at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.getRegistry(SpringCloudRegistryFactory.java:94)
at org.apache.dubbo.registry.RegistryFactoryWrapper.getRegistry(RegistryFactoryWrapper.java:34)
at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java)
at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:312)
at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:727)
at org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter.unexport(RegistryProtocol.java:554)
at org.apache.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:170)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$unexportServices$16(DubboBootstrap.java:926)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.unexportServices(DubboBootstrap.java:924)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1046)
at org.apache.dubbo.config.bootstrap.DubboBootstrap$1.callback(DubboBootstrap.java:191)
at org.apache.dubbo.common.function.ThrowableAction.execute(ThrowableAction.java:46)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.lambda$callback$0(ShutdownHookCallbacks.java:70)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70)
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
[2020-11-17 18:18:19] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:19] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:19] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:19] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:19] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:21] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:21] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:21] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:23] [WARN ] - [DUBBO] No spring extension (bean) named:logger, try to find an extension (bean) of type org.apache.dubbo.common.logger.Logger, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:24] [WARN ] - [DUBBO] Use random available port(20880) for protocol dubbo, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:42] [WARN ] - [DUBBO] Unexpected error occured when unexport org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter@42bbc34, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.IllegalStateException: org.springframework.context.annotation.AnnotationConfigApplicationContext@74cf8b28 has been closed already
at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1092)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1125)
at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.init(SpringCloudRegistryFactory.java:82)
at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.getRegistry(SpringCloudRegistryFactory.java:94)
at org.apache.dubbo.registry.RegistryFactoryWrapper.getRegistry(RegistryFactoryWrapper.java:34)
at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java)
at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:312)
at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:727)
at org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter.unexport(RegistryProtocol.java:554)
at org.apache.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:170)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$unexportServices$16(DubboBootstrap.java:926)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.unexportServices(DubboBootstrap.java:924)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1046)
at org.apache.dubbo.config.bootstrap.DubboBootstrap$1.callback(DubboBootstrap.java:191)
at org.apache.dubbo.common.function.ThrowableAction.execute(ThrowableAction.java:46)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.lambda$callback$0(ShutdownHookCallbacks.java:70)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70)
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
[2020-11-17 18:18:47] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:47] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:47] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:47] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:47] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:50] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:50] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:50] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:51] [WARN ] - [DUBBO] No spring extension (bean) named:logger, try to find an extension (bean) of type org.apache.dubbo.common.logger.Logger, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:18:52] [WARN ] - [DUBBO] Use random available port(20880) for protocol dubbo, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:14] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:14] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:14] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:14] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:14] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:17] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:17] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:17] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:17] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6366&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605608357879&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:19:19] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:49] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:49] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:49] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:49] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:49] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:53] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:53] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:53] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:53] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6404&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605608453617&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:20:54] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:17] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:17] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:17] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:17] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:17] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:20] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:20] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:20] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:20] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6443&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605608540809&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:22:22] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:06] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:06] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:06] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:06] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:06] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:09] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:09] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:10] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:10] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6489&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605608650290&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:24:11] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:23] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:23] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:23] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:23] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:23] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:26] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:26] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:26] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:27] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6605&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605608966931&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:29:28] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:20] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:20] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:20] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:20] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:20] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:24] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:24] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:24] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:24] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6656&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605609084411&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:31:25] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:37] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:37] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:37] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:37] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:37] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:40] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:40] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:40] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:40] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6770&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605609220637&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:33:42] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:11] [WARN ] - [DUBBO] No spring extension (bean) named:monitor, try to find an extension (bean) of type org.apache.dubbo.config.MonitorConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:11] [WARN ] - [DUBBO] No spring extension (bean) named:application, try to find an extension (bean) of type org.apache.dubbo.config.ApplicationConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:11] [WARN ] - [DUBBO] No spring extension (bean) named:module, try to find an extension (bean) of type org.apache.dubbo.config.ModuleConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:11] [WARN ] - [DUBBO] No spring extension (bean) named:metrics, try to find an extension (bean) of type org.apache.dubbo.config.MetricsConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:11] [WARN ] - [DUBBO] No spring extension (bean) named:ssl, try to find an extension (bean) of type org.apache.dubbo.config.SslConfig, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:14] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:14] [WARN ] - [DUBBO] You specified the config center, but there's not even one single config item in it., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:14] [WARN ] - [DUBBO] No spring extension (bean) named:applicationContext, try to find an extension (bean) of type org.springframework.context.ConfigurableApplicationContext, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:14] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6806&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605609254443&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:16] [WARN ] - [DUBBO] Use random available port(20881) for protocol dubbo, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:16] [WARN ] - [DUBBO] No spring extension (bean) named:logger, try to find an extension (bean) of type org.apache.dubbo.common.logger.Logger, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:16] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-api&check=false&dubbo=2.0.2&generic=true&group=service-growth&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6348&qos.enable=false&release=2.7.6&side=consumer&sticky=false&timestamp=1605609256674&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:34:58] [ERROR] - [DUBBO] Got unchecked and undeclared exception which called by 0:0:0:0:0:0:0:1. service: com.spacetech.service.RestApiHub, method: callPcApi, exception: java.lang.RuntimeException: 获取数据发现异常:null, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.RuntimeException: 获取数据发现异常:null
at com.spacetech.util.MemCacheForOnecardUtil.get(MemCacheForOnecardUtil.java:160)
at com.spacetech.util.MemCacheForOnecardUtil.getLoginSession(MemCacheForOnecardUtil.java:47)
at com.spacetech.service.RestApiHubImpl.extractedCallApi(RestApiHubImpl.java:337)
at com.spacetech.service.RestApiHubImpl.callPcApi(RestApiHubImpl.java:144)
at org.apache.dubbo.common.bytecode.Wrapper7.invokeMethod(Wrapper7.java)
at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84)
at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56)
at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:52)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:44)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:77)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:118)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:152)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
at org.apache.dubbo.common.bytecode.proxy6.callPcApi(proxy6.java)
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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:543)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:432)
at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:393)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:395)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:364)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.dubbo.rpc.protocol.rest.DubboHttpProtocolServer$RestHandler.handle(DubboHttpProtocolServer.java:89)
at org.apache.dubbo.remoting.http.servlet.DispatcherServlet.service(DispatcherServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
[2020-11-17 18:36:16] [ERROR] - [DUBBO] Got unchecked and undeclared exception which called by 0:0:0:0:0:0:0:1. service: com.spacetech.service.RestApiHub, method: callPcApi, exception: java.lang.RuntimeException: 获取数据发现异常:null, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.RuntimeException: 获取数据发现异常:null
at com.spacetech.util.MemCacheForOnecardUtil.get(MemCacheForOnecardUtil.java:160)
at com.spacetech.util.MemCacheForOnecardUtil.getLoginSession(MemCacheForOnecardUtil.java:47)
at com.spacetech.service.RestApiHubImpl.extractedCallApi(RestApiHubImpl.java:337)
at com.spacetech.service.RestApiHubImpl.callPcApi(RestApiHubImpl.java:144)
at org.apache.dubbo.common.bytecode.Wrapper7.invokeMethod(Wrapper7.java)
at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84)
at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56)
at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:52)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:44)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:77)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:118)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:152)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
at org.apache.dubbo.common.bytecode.proxy6.callPcApi(proxy6.java)
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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:543)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:432)
at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:393)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:395)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:364)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.dubbo.rpc.protocol.rest.DubboHttpProtocolServer$RestHandler.handle(DubboHttpProtocolServer.java:89)
at org.apache.dubbo.remoting.http.servlet.DispatcherServlet.service(DispatcherServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
[2020-11-17 18:37:11] [ERROR] - [DUBBO] Got unchecked and undeclared exception which called by 0:0:0:0:0:0:0:1. service: com.spacetech.service.RestApiHub, method: callPcApi, exception: java.lang.RuntimeException: 获取数据发现异常:null, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.RuntimeException: 获取数据发现异常:null
at com.spacetech.util.MemCacheForOnecardUtil.get(MemCacheForOnecardUtil.java:160)
at com.spacetech.util.MemCacheForOnecardUtil.getLoginSession(MemCacheForOnecardUtil.java:47)
at com.spacetech.service.RestApiHubImpl.extractedCallApi(RestApiHubImpl.java:337)
at com.spacetech.service.RestApiHubImpl.callPcApi(RestApiHubImpl.java:144)
at org.apache.dubbo.common.bytecode.Wrapper7.invokeMethod(Wrapper7.java)
at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84)
at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56)
at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:52)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:44)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:77)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:118)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:152)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
at org.apache.dubbo.common.bytecode.proxy6.callPcApi(proxy6.java)
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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:543)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:432)
at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:393)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:395)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:364)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.dubbo.rpc.protocol.rest.DubboHttpProtocolServer$RestHandler.handle(DubboHttpProtocolServer.java:89)
at org.apache.dubbo.remoting.http.servlet.DispatcherServlet.service(DispatcherServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
[2020-11-17 18:40:16] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20881. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:45:13] [WARN ] - [DUBBO] Reconnect to channel HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [/10.10.10.66:57350 -> /10.10.10.66:20881]], because heartbeat read idle time out: 180000ms, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:45:13] [WARN ] - [DUBBO] All clients has disconnected from /10.10.10.66:20880. You can graceful shutdown now., dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:45:13] [ERROR] - [DUBBO] Got unchecked and undeclared exception which called by 0:0:0:0:0:0:0:1. service: com.spacetech.service.RestApiHub, method: callPcApi, exception: java.lang.RuntimeException: 获取数据发现异常:null, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.RuntimeException: 获取数据发现异常:null
at com.spacetech.util.MemCacheForOnecardUtil.get(MemCacheForOnecardUtil.java:160)
at com.spacetech.util.MemCacheForOnecardUtil.getLoginSession(MemCacheForOnecardUtil.java:47)
at com.spacetech.service.RestApiHubImpl.extractedCallApi(RestApiHubImpl.java:337)
at com.spacetech.service.RestApiHubImpl.callPcApi(RestApiHubImpl.java:144)
at org.apache.dubbo.common.bytecode.Wrapper7.invokeMethod(Wrapper7.java)
at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84)
at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56)
at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:52)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:44)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:77)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:118)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:152)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
at org.apache.dubbo.common.bytecode.proxy6.callPcApi(proxy6.java)
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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:543)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:432)
at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:393)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:395)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:364)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.dubbo.rpc.protocol.rest.DubboHttpProtocolServer$RestHandler.handle(DubboHttpProtocolServer.java:89)
at org.apache.dubbo.remoting.http.servlet.DispatcherServlet.service(DispatcherServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
[2020-11-17 18:45:13] [WARN ] - [DUBBO] Unexpected error occured when unexport org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter@1c136cd4, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.IllegalStateException: org.springframework.context.annotation.AnnotationConfigApplicationContext@62e8f862 has been closed already
at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1092)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1125)
at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.init(SpringCloudRegistryFactory.java:82)
at com.alibaba.cloud.dubbo.registry.SpringCloudRegistryFactory.getRegistry(SpringCloudRegistryFactory.java:94)
at org.apache.dubbo.registry.RegistryFactoryWrapper.getRegistry(RegistryFactoryWrapper.java:34)
at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java)
at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:312)
at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:727)
at org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter.unexport(RegistryProtocol.java:554)
at org.apache.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:170)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$unexportServices$16(DubboBootstrap.java:926)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.unexportServices(DubboBootstrap.java:924)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1046)
at org.apache.dubbo.config.bootstrap.DubboBootstrap$1.callback(DubboBootstrap.java:191)
at org.apache.dubbo.common.function.ThrowableAction.execute(ThrowableAction.java:46)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.lambda$callback$0(ShutdownHookCallbacks.java:70)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70)
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
[2020-11-17 18:45:13] [ERROR] - [DUBBO] publishProvider interfaceName is empty . providerUrl: consumer://10.10.10.66/com.alibaba.cloud.dubbo.service.DubboMetadataService?application=service-growth&check=false&dubbo=2.0.2&generic=true&group=service-api&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&pid=6806&qos.enable=true&release=2.7.6&side=consumer&sticky=false&timestamp=1605609913936&version=1.0.0, dubbo version: 2.7.6, current host: 10.10.10.66
[2020-11-17 18:45:13] [WARN ] - safe guard client , should not be called ,must have a bug.
java.lang.IllegalStateException: safe guard client , should not be called ,must have a bug.
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.warning(LazyConnectExchangeClient.java:138)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.request(LazyConnectExchangeClient.java:127)
at org.apache.dubbo.rpc.protocol.dubbo.ReferenceCountExchangeClient.request(ReferenceCountExchangeClient.java:91)
at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:100)
at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:162)
at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:52)
at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:126)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:51)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:55)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78)
at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82)
at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:259)
at org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor.intercept(ClusterInterceptor.java:47)
at org.apache.dubbo.rpc.cluster.support.wrapper.AbstractCluster$InterceptorInvokerNode.invoke(AbstractCluster.java:92)
at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:82)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
at org.apache.dubbo.common.bytecode.proxy6.$invoke(proxy6.java)
at com.alibaba.cloud.dubbo.service.DubboMetadataServiceInvocationHandler.invoke(DubboMetadataServiceInvocationHandler.java:48)
at com.sun.proxy.$Proxy138.getServiceRestMetadata(Unknown Source)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.getServiceRestMetadataSet(DubboServiceMetadataRepository.java:607)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initDubboRestServiceMetadataRepository(DubboServiceMetadataRepository.java:496)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initSubscribedDubboMetadataService(DubboServiceMetadataRepository.java:666)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initializeMetadata(DubboServiceMetadataRepository.java:293)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$FastClassBySpringCGLIB$$4ef4b7bd.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$EnhancerBySpringCGLIB$$d43ee64b.initializeMetadata(<generated>)
at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:281)
at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:204)
at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:197)
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:403)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360)
at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.dispatchServiceInstancesChangedEvent(DubboServiceDiscoveryAutoConfiguration.java:168)
at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.access$200(DubboServiceDiscoveryAutoConfiguration.java:106)
at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration$NacosConfiguration.lambda$subscribeEventListener$1(DubboServiceDiscoveryAutoConfiguration.java:548)
at com.alibaba.nacos.client.naming.core.EventDispatcher$Notifier.run(EventDispatcher.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2020-11-17 18:45:13] [WARN ] - [DUBBO] Failed to start NettyClient spaces-iMac-3.local/10.10.10.66 connect to the server /10.10.10.66:20880 (check == false, ignore and retry later!), cause: client(url: dubbo://10.10.10.66:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?_client_memo=referencecounthandler.replacewithlazyclient&anyhost=true&application=service-growth&bind.ip=10.10.10.66&bind.port=20880&check=false&codec=dubbo&connect.lazy.initial.state=true&deprecated=false&dubbo=2.0.2&dynamic=true&generic=true&group=service-api&heartbeat=60000&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&lazyclient_request_with_warning=true&methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&pid=6806&qos.enable=true&reconnect=false&register.ip=10.10.10.66&release=2.7.6&remote.application=service-api&revision=2.2.1.RELEASE&send.reconnect=true&side=consumer&sticky=false&timestamp=1605608332414&version=1.0.0&warning=true) failed to connect to server /10.10.10.66:20880, error message is:Connection refused: /10.10.10.66:20880, dubbo version: 2.7.6, current host: 10.10.10.66
org.apache.dubbo.remoting.RemotingException: client(url: dubbo://10.10.10.66:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?_client_memo=referencecounthandler.replacewithlazyclient&anyhost=true&application=service-growth&bind.ip=10.10.10.66&bind.port=20880&check=false&codec=dubbo&connect.lazy.initial.state=true&deprecated=false&dubbo=2.0.2&dynamic=true&generic=true&group=service-api&heartbeat=60000&interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&lazyclient_request_with_warning=true&methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&pid=6806&qos.enable=true&reconnect=false&register.ip=10.10.10.66&release=2.7.6&remote.application=service-api&revision=2.2.1.RELEASE&send.reconnect=true&side=consumer&sticky=false&timestamp=1605608332414&version=1.0.0&warning=true) failed to connect to server /10.10.10.66:20880, error message is:Connection refused: /10.10.10.66:20880
at org.apache.dubbo.remoting.transport.netty4.NettyClient.doConnect(NettyClient.java:169)
at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:191)
at org.apache.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:71)
at org.apache.dubbo.remoting.transport.netty4.NettyClient.<init>(NettyClient.java:82)
at org.apache.dubbo.remoting.transport.netty4.NettyTransporter.connect(NettyTransporter.java:40)
at org.apache.dubbo.remoting.Transporter$Adaptive.connect(Transporter$Adaptive.java)
at org.apache.dubbo.remoting.Transporters.connect(Transporters.java:75)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:39)
at org.apache.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:109)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.initClient(LazyConnectExchangeClient.java:84)
at org.apache.dubbo.rpc.protocol.dubbo.LazyConnectExchangeClient.request(LazyConnectExchangeClient.java:128)
at org.apache.dubbo.rpc.protocol.dubbo.ReferenceCountExchangeClient.request(ReferenceCountExchangeClient.java:91)
at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:100)
at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:162)
at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:52)
at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:126)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:51)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:55)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78)
at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82)
at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:259)
at org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor.intercept(ClusterInterceptor.java:47)
at org.apache.dubbo.rpc.cluster.support.wrapper.AbstractCluster$InterceptorInvokerNode.invoke(AbstractCluster.java:92)
at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:82)
at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
at org.apache.dubbo.common.bytecode.proxy6.$invoke(proxy6.java)
at com.alibaba.cloud.dubbo.service.DubboMetadataServiceInvocationHandler.invoke(DubboMetadataServiceInvocationHandler.java:48)
at com.sun.proxy.$Proxy138.getServiceRestMetadata(Unknown Source)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.getServiceRestMetadataSet(DubboServiceMetadataRepository.java:607)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initDubboRestServiceMetadataRepository(DubboServiceMetadataRepository.java:496)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initSubscribedDubboMetadataService(DubboServiceMetadataRepository.java:666)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository.initializeMetadata(DubboServiceMetadataRepository.java:293)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$FastClassBySpringCGLIB$$4ef4b7bd.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.alibaba.cloud.dubbo.metadata.repository.DubboServiceMetadataRepository$$EnhancerBySpringCGLIB$$d43ee64b.initializeMetadata(<generated>)
at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:281)
at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:204)
at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:197)
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:403)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360)
at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.dispatchServiceInstancesChangedEvent(DubboServiceDiscoveryAutoConfiguration.java:168)
at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.access$200(DubboServiceDiscoveryAutoConfiguration.java:106)
at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration$NacosConfiguration.lambda$subscribeEventListener$1(DubboServiceDiscoveryAutoConfiguration.java:548)
at com.alibaba.nacos.client.naming.core.EventDispatcher$Notifier.run(EventDispatcher.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /10.10.10.66:20880
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:715)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
[2020-11-17 18:45:16] [WARN ] - [DUBBO] unsubscribe listener == null, dubbo version: 2.7.6, current host: 10.10.10.66
java.lang.IllegalArgumentException: unsubscribe listener == null
at org.apache.dubbo.registry.support.AbstractRegistry.unsubscribe(AbstractRegistry.java:325)
at org.apache.dubbo.registry.support.FailbackRegistry.unsubscribe(FailbackRegistry.java:329)
at org.apache.dubbo.registry.ListenerRegistryWrapper.unsubscribe(ListenerRegistryWrapper.java:129)
at org.apache.dubbo.registry.integration.RegistryProtocol$ExporterChangeableWrapper.unexport(RegistryProtocol.java:735)
at org.apache.dubbo.registry.integration.RegistryProtocol$DestroyableExporter.unexport(RegistryProtocol.java:554)
at org.apache.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:170)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$unexportServices$16(DubboBootstrap.java:926)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.unexportServices(DubboBootstrap.java:924)
at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1046)
at org.apache.dubbo.config.bootstrap.DubboBootstrap$1.callback(DubboBootstrap.java:191)
at org.apache.dubbo.common.function.ThrowableAction.execute(ThrowableAction.java:46)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.lambda$callback$0(ShutdownHookCallbacks.java:70)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70)
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85)
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73)
......@@ -162,12 +162,12 @@
<artifactId>spring-web</artifactId>
</dependency>
<!--zookeeper 客户端工具包-->
<!-- &lt;!&ndash;zookeeper 客户端工具包&ndash;&gt;
<dependency>
<groupId>com.github.sgroschupf</groupId>
<artifactId>zkclient</artifactId>
<version>0.1</version>
</dependency>
</dependency>-->
<!--自定义工具包[fastjson,StringUtils]-->
<dependency>
......@@ -180,12 +180,7 @@
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
<optional>true</optional>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.spacetech.config;
import com.spacetech.framework.SystemContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* 配置Memcache
*/
@Configuration
public class MemcacheConfig {
@Bean(initMethod = "init")
public SystemContext systemContext(){
return new SystemContext();
}
}
......@@ -22,7 +22,7 @@
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-dubbo</artifactId>
</dependency>
<!-- zookeeper client dependency -->
<!-- &lt;!&ndash; zookeeper client dependency &ndash;&gt;
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
......@@ -32,8 +32,9 @@
<groupId>org.apache.zookeeper</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- zookeeper client dependency -->
</dependency>-->
<!--
&lt;!&ndash; zookeeper client dependency &ndash;&gt;
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
......@@ -42,7 +43,7 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.6</version>
<!--排除这个slf4j-log4j12-->
&lt;!&ndash;排除这个slf4j-log4j12&ndash;&gt;
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
......@@ -50,6 +51,7 @@
</exclusion>
</exclusions>
</dependency>
-->
<dependency>
......@@ -61,12 +63,12 @@
<groupId>com.spacetech</groupId>
<artifactId>spacetech-common-util</artifactId>
<version>0.0.1-SNAPSHOT</version>
<exclusions>
<!-- <exclusions>
<exclusion>
<artifactId>zookeeper</artifactId>
<groupId>org.apache.zookeeper</groupId>
</exclusion>
</exclusions>
</exclusions>-->
</dependency>
<!-- <dependency>
<groupId>org.springframework.cloud</groupId>
......@@ -98,6 +100,7 @@
<artifactId>ant</artifactId>
<version>1.10.3</version>
</dependency>
</dependencies>
<build>
<plugins>
......
......@@ -22,8 +22,7 @@ import com.spacetech.common.utils.StringUtil;
import com.spacetech.gateway.GrowthApiHub;
@Service(interfaceClass = GrowthApiHub.class)
@Service(interfaceClass = GrowthApiHub.class, protocol = "dubbo")
public class GrowthApiHubImpl implements GrowthApiHub {
@Autowired
private MonthIndexService monthIndexService;
......
package com.spacetech.service;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import com.spacetech.common.utils.HttpClientUtil;
import net.sf.json.util.JSONUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.alibaba.dubbo.rpc.RpcException;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
......@@ -21,7 +9,16 @@ import com.spacetech.common.utils.ApiUtil;
import com.spacetech.common.utils.JsonUtil;
import com.spacetech.common.utils.StringUtil;
import com.spacetech.gateway.*;
import sun.security.krb5.internal.PAData;
import org.apache.dubbo.config.annotation.Reference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
@Component
@Transactional(readOnly = true)
......@@ -31,35 +28,18 @@ public class ProviderService {
public static final Integer CORP_SYNC_STATE_SUCCESS = 1;
/**
@Autowired private BaseDataApiHub baseDataApiHub;
*/
private static final String BASEDATA_URL = "/pc/base_";
@Reference
private BaseDataApiHub baseDataApiHub;
@Reference
private UserApiHub userApiHub;
@Reference
private WechatApiHub wechatApiHub;
@Reference
private MetaqApiHub metaqApiHub;
/**
@Autowired private UserApiHub userApiHub;
*/
private static final String USER_URL = "/pc/user_";
/**
@Autowired private WechatApiHub wechatApiHub;
*/
private static final String WECHAT_URL = "/pc/wechat_";
/**
@Autowired private MetaqApiHub metaqApiHub;
*/
private static final String METAQ_URL = "/pc/metaq_";
/**
@Autowired private PortalApiHub portalApiHub;
*/
private static final String PORTAL_URL = "/pc/portal";
private static final String BASE_URL = "http://localhost:8899";
@Reference
private PortalApiHub portalApiHub;
private static final String GRADE_GETGRADELIST = "grade_getGradeList";
private static final String STU_FINDBYID = "stu_findById";
......@@ -99,8 +79,7 @@ public class ProviderService {
param.put("campusid", campusid);
param.put("classid", classid);
param.put("name", nameLike);
// String data = baseDataApiHub.callApi(STU_FINDCOUNTBYCLASSID, true, param);
String data = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL + STU_FINDCOUNTBYCLASSID, JSONObject.toJSONString(param), "", "");
String data = baseDataApiHub.callApi(STU_FINDCOUNTBYCLASSID, true, param);
JSONObject resultJson = JSONObject.parseObject(data);
return resultJson.getInteger("data");
}
......@@ -129,29 +108,25 @@ public class ProviderService {
param.put("name", nameLike);
param.put("pageSize", iDisplayLength);
param.put("pageIndex", iDisplayStart);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_FINDSTUBYCLASSID, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_FINDSTUBYCLASSID, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_FINDSTUBYCLASSID, true, param));
}
public List<JSONObject> listGrade(Long campusid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(GRADE_GETGRADELIST, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+GRADE_GETGRADELIST, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(GRADE_GETGRADELIST, true, param));
}
public JSONObject getStu(Long stuid) {
JSONObject param = new JSONObject();
param.put("id", stuid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_FINDBYID, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_FINDBYID, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_FINDBYID, true, param));
}
public JSONObject getClass(Long classid) {
JSONObject param = new JSONObject();
param.put("classid", classid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(CLASS_FINDCLASSINFO, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+CLASS_FINDCLASSINFO, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(CLASS_FINDCLASSINFO, true, param));
}
public JSONObject getStuList(Long campusid, Long gradeid, Long classid, String nameLike) {
......@@ -163,43 +138,37 @@ public class ProviderService {
param.put("pageIndex", 1);
param.put("pageSize", 10000);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_FINDSTUDENTLIST, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_FINDSTUDENTLIST, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_FINDSTUDENTLIST, true, param));
}
public List<JSONObject> listClass(Long campusid, Long gradeid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
param.put("gradeid", gradeid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(CLASS_CLASSLISTTHEGRADE, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+CLASS_CLASSLISTTHEGRADE, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(CLASS_CLASSLISTTHEGRADE, true, param));
}
public JSONObject getCampus(Long campusid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(CAMPUS_FINDBYID, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+CAMPUS_FINDBYID, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(CAMPUS_FINDBYID, true, param));
}
public JSONObject getSchoolIntroduction(Long campusid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// return JsonUtil.formatJSONObject(portalApiHub.callApi(XXJJ_GET_SCHOOL_INTRODUCTION, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, PORTAL_URL+XXJJ_GET_SCHOOL_INTRODUCTION, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(portalApiHub.callApi(XXJJ_GET_SCHOOL_INTRODUCTION, true, param));
}
public List<JSONObject> getTeacher(JSONObject params) {
// return JsonUtil.formatJSONArray(userApiHub.callApi(USER_LISTTEACHER, true, params));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, USER_URL+USER_LISTTEACHER, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONArray(userApiHub.callApi(USER_LISTTEACHER, true, params));
}
public JSONObject getCurrentTerm(Long campusid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(TERM_GETCURRENTTERM, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+TERM_GETCURRENTTERM, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(TERM_GETCURRENTTERM, true, param));
}
public List<String> listMonth(Long campusid, String termcode) {
......@@ -207,12 +176,11 @@ public class ProviderService {
param.put("campusid", campusid);
param.put("termcode", termcode);
// String resutl = baseDataApiHub.callApi(TERM_GETMONTHLIST, true, param);
String result = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+TERM_GETMONTHLIST, JSONObject.toJSONString(param), "", "");
if (StringUtil.isNullOrEmpty(result)) {
String resutl = baseDataApiHub.callApi(TERM_GETMONTHLIST, true, param);
if (StringUtil.isNullOrEmpty(resutl)) {
throw new ApiException("学期代码不存在,termcode=" + termcode);
}
List<JSONObject> phaseList = JsonUtil.formatJSONArray(result);
List<JSONObject> phaseList = JsonUtil.formatJSONArray(resutl);
if (phaseList != null && phaseList.size() > 0) {
return phaseList.stream().map(phase -> phase.getString("month")).collect(Collectors.toList());
......@@ -225,38 +193,33 @@ public class ProviderService {
public JSONObject findUser(Long userid) {
JSONObject param = new JSONObject();
param.put("userid", userid);
// return JsonUtil.formatJSONObject(userApiHub.callApi(USER_FINDUSER, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, USER_URL+USER_FINDUSER, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(userApiHub.callApi(USER_FINDUSER, true, param));
}
public JSONObject getTermJson(Long campusid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(TERM_GETTERMJSON, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+TERM_GETTERMJSON, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(TERM_GETTERMJSON, true, param));
}
public JSONObject dictJson(String type) {
JSONObject param = new JSONObject();
param.put("type", type);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(DICT_FINDMAP, true, param));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+DICT_FINDMAP, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(DICT_FINDMAP, true, param));
}
public List<JSONObject> listStuByGradeid(Long campusid, Long gradeid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
param.put("gradeid", gradeid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_LISTSTUBYGRADEID, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTSTUBYGRADEID, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_LISTSTUBYGRADEID, true, param));
}
public List<JSONObject> listByGradeid(Long campusid, Long gradeid) {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
param.put("gradeid", gradeid);
// return JsonUtil.formatJSONArray(userApiHub.callApi(USER_LISTBYGRADEID, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, USER_URL+USER_LISTBYGRADEID, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(userApiHub.callApi(USER_LISTBYGRADEID, true, param));
}
public String getPicUrl(String picUrl, Long orgcode, String userAgent, Long campusid) {
......@@ -265,28 +228,24 @@ public class ProviderService {
param.put("orgCode", orgcode);
param.put("userAgent", userAgent);
param.put("campusid", campusid);
// String json = wechatApiHub.callApi(OAUTH2_GETWXFILE, true, param);
String json = HttpClientUtil.callApi(BASE_URL, WECHAT_URL+OAUTH2_GETWXFILE, JSONObject.toJSONString(param), "", "");
String json = wechatApiHub.callApi(OAUTH2_GETWXFILE, true, param);
logger.info("图片处理getPicUrl调用微信接口下载media_id=" + picUrl + " result=" + json);
return JSON.parseObject(json).getString("data");
}
public List<JSONObject> listPhase(JSONObject params) {
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(TERM_LISTPHASE, true, params));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+TERM_LISTPHASE, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(TERM_LISTPHASE, true, params));
}
public List<JSONObject> getUserList(JSONObject params) {
// return JsonUtil.formatJSONArray(userApiHub.callApi(USER_LISTBYUSERIDLIST, true, params));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, USER_URL+USER_LISTBYUSERIDLIST, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONArray(userApiHub.callApi(USER_LISTBYUSERIDLIST, true, params));
}
public String getShareUrl(Long orgcode, String vuePath) {
JSONObject param = new JSONObject();
param.put("orgcode", orgcode);
param.put("vuePath", vuePath);
// String json = wechatApiHub.callApi("oauth2_getShareUrl", true, param);
String json = HttpClientUtil.callApi(BASE_URL, WECHAT_URL+"oauth2_getShareUrl", JSONObject.toJSONString(param), "", "");
String json = wechatApiHub.callApi("oauth2_getShareUrl", true, param);
JSONObject resultJson = JSONObject.parseObject(json);
return resultJson.getString("data");
}
......@@ -296,8 +255,7 @@ public class ProviderService {
jo.put("list", params);
String json = "";
try {
// json = metaqApiHub.callApi("pushwechat_putMsgToMacheine", true, jo);
json = HttpClientUtil.callApi(BASE_URL, WECHAT_URL+"pushwechat_putMsgToMacheine", JSONObject.toJSONString(params), "", "");
json = metaqApiHub.callApi("pushwechat_putMsgToMacheine", true, jo);
// JSONObject result = JsonUtil.formatJSONObject(json);
} catch (RpcException e) {
throw new RuntimeException("非错误提示pushWechatMsgToMetaq,服务未注册" + e.getMessage());
......@@ -307,23 +265,19 @@ public class ProviderService {
}
public JSONObject listStuALL(JSONObject params) {
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYCLASSID, true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTSTUBYCLASSID, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYCLASSID, true, params));
}
public JSONObject listStuByIds(JSONObject params) {
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYCLASSIDANDSTUID, true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTSTUBYCLASSIDANDSTUID, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYCLASSIDANDSTUID, true, params));
}
public JSONObject listStuByStuids(JSONObject params) {
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYSTUID, true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTSTUBYSTUID, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYSTUID, true, params));
}
public JSONObject listStuNotIds(JSONObject params) {
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYCLASSIDNOTSTUID, true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTSTUBYCLASSIDNOTSTUID, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi(STU_LISTSTUBYCLASSIDNOTSTUID, true, params));
}
public List<JSONObject> listStuByName(Long campusid, String stuNames) {
......@@ -331,8 +285,7 @@ public class ProviderService {
param.put("campusid", campusid);
param.put("stuNames", stuNames);
// TODO Auto-generated method stub
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_LISTSTUBYNAME, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTSTUBYNAME, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_LISTSTUBYNAME, true, param));
}
/**
......@@ -345,8 +298,7 @@ public class ProviderService {
JSONObject pidparams = new JSONObject();
pidparams.put("orgcode", orgcode);
// String json = baseDataApiHub.callApi(CONFIG_GETDOMAINCONFIGVALUEURL, true, pidparams);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+CONFIG_GETDOMAINCONFIGVALUEURL, JSONObject.toJSONString(pidparams), "", "");
String json = baseDataApiHub.callApi(CONFIG_GETDOMAINCONFIGVALUEURL, true, pidparams);
JSONObject resultJson = JSONObject.parseObject(json);
return resultJson.getString("data");
}
......@@ -354,8 +306,7 @@ public class ProviderService {
public String getSysConfigValue(String configCode) {
JSONObject pidparams = new JSONObject();
pidparams.put("configcode", configCode);
// String json = wechatApiHub.callApi(SYSCONFIG_GETSYSCONFIGVALUE, true, pidparams);
String json = HttpClientUtil.callApi(BASE_URL, WECHAT_URL+SYSCONFIG_GETSYSCONFIGVALUE, JSONObject.toJSONString(pidparams), "", "");
String json = wechatApiHub.callApi(SYSCONFIG_GETSYSCONFIGVALUE, true, pidparams);
JSONObject resultJson = JSONObject.parseObject(json);
return resultJson.getString("data");
}
......@@ -365,21 +316,18 @@ public class ProviderService {
param.put("campusid", campusid);
param.put("classids", classids);
param.put("userid", userid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(CLASS_LISTCLASS, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+CLASS_LISTCLASS, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(CLASS_LISTCLASS, true, param));
}
public List<JSONObject> listClassByUserid(Long gradeid, Long userid) {
JSONObject param = new JSONObject();
param.put("gradeid", gradeid);
param.put("userid", userid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(CLASS_LISTBYUSERID, true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+CLASS_LISTBYUSERID, JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(CLASS_LISTBYUSERID, true, param));
}
public List<JSONObject> listStuByUserid(JSONObject params) {
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_LISTBYUSERID, true, params));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+STU_LISTBYUSERID, JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi(STU_LISTBYUSERID, true, params));
}
public void removeClassid(List<JSONObject> stuList) {
......@@ -395,16 +343,14 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("stuid", stuid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi("stu_findOneStudent", true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_findOneStudent", JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi("stu_findOneStudent", true, params));
}
public JSONObject baseTermGetCurrentTerm(Long campusid) {
JSONObject params = new JSONObject();
params.put("campusid", campusid);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi("term_getCurrentTerm", true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"term_getCurrentTerm", JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi("term_getCurrentTerm", true, params));
}
// 接口:base_class_listByClassids;根据班级id查询班级信息
......@@ -412,8 +358,7 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
param.put("classids", StringUtil.makeLongListToStr(classids));
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi("class_listByClassids", true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"class_listByClassids", JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi("class_listByClassids", true, param));
}
// base_stu_listStuByGradeids;根据校区id与年级ids查出年级班级学生信息
......@@ -421,15 +366,13 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
param.put("gradeids", StringUtil.makeLongListToStr(gradeids));
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi("stu_listStuByGradeids", true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_listStuByGradeids", JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi("stu_listStuByGradeids", true, param));
}
public List<JSONObject> baseStuFindStuByStuidList(List<Long> stuids) {
JSONObject stuParams = new JSONObject();
stuParams.put("stuids", stuids);
// String json = baseDataApiHub.callApi("stu_findStuByStuidList", true, stuParams);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_findStuByStuidList", JSONObject.toJSONString(stuParams), "", "");
String json = baseDataApiHub.callApi("stu_findStuByStuidList", true, stuParams);
return JsonUtil.formatJSONArray(json);
}
......@@ -437,8 +380,7 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("id", id);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi("stu_findStuById", true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_findStuById", JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi("stu_findStuById", true, params));
}
public String metaqCallBackTaskApi(Integer state, String resultMsg, JSONObject params) {
......@@ -452,8 +394,7 @@ public class ProviderService {
callBackParams.put("resultMsg", resultMsg);
callBackParams.put("state", state);
// metaqApiHub.callApiAsync(callBackApi, false, callBackParams);
HttpClientUtil.callApi(BASE_URL, METAQ_URL, JSONObject.toJSONString(callBackParams), "", "");
metaqApiHub.callApiAsync(callBackApi, false, callBackParams);
return "success";
}
......@@ -462,8 +403,7 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("classid", classid);
params.put("campusid", campusid);
// String data = baseDataApiHub.callApi("stu_findCountByClassid", true, params);
String data = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_findCountByClassid", JSONObject.toJSONString(params), "", "");
String data = baseDataApiHub.callApi("stu_findCountByClassid", true, params);
JSONObject resultJson = JSONObject.parseObject(data);
return resultJson.getInteger("data");
}
......@@ -472,8 +412,7 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
param.put("classid", classid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi("stu_findByClassid", true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_findByClassid", JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi("stu_findByClassid", true, param));
}
......@@ -481,8 +420,7 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("orgcode", orgcode);
// return JsonUtil.formatJSONObject(wechatApiHub.callApi("org_findById", true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, WECHAT_URL+"org_findById", JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(wechatApiHub.callApi("org_findById", true, params));
}
public List<Long> baseStuListByClassidAndNotStuids(Long campusid, Long classid, List<Long> stuids) {
......@@ -491,8 +429,8 @@ public class ProviderService {
param.put("classid", classid);
param.put("stuids", stuids);
// JSONObject resultJson = JSONObject.parseObject(baseDataApiHub.callApi("stu_listByClassidAndNotStuids", true, param));
JSONObject resultJson = JSONObject.parseObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_listByClassidAndNotStuids", JSONObject.toJSONString(param), "", ""));
JSONObject resultJson = JSONObject.parseObject(baseDataApiHub.callApi("stu_listByClassidAndNotStuids", true,
param));
ApiUtil.verifyResponse(resultJson);
return JSONObject.parseArray(resultJson.getString("data"), Long.class);
}
......@@ -501,8 +439,7 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("orgcode", orgcode);
// String json = wechatApiHub.callApi("org_findById", true, params);
String json = HttpClientUtil.callApi(BASE_URL, WECHAT_URL+"org_findById", JSONObject.toJSONString(params), "", "");
String json = wechatApiHub.callApi("org_findById", true, params);
JSONObject result = JsonUtil.formatJSONObject(json);
if (result == null) {
throw new ApiException("学校orgcode不存在或被删除");
......@@ -514,8 +451,7 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("stuids", stuids);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi("user_listStuParentByStuids", true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"user_listStuParentByStuids", JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi("user_listStuParentByStuids", true, param));
}
......@@ -523,16 +459,14 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// return JsonUtil.formatJSONArray(baseDataApiHub.callApi("term_list", true, param));
return JsonUtil.formatJSONArray(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"term_list", JSONObject.toJSONString(param), "", ""));
return JsonUtil.formatJSONArray(baseDataApiHub.callApi("term_list", true, param));
}
public JSONObject baseStuGetStuJson(List<Long> stuids) {
JSONObject params = new JSONObject();
params.put("stuids", stuids);
// return JsonUtil.formatJSONObject(baseDataApiHub.callApi("stu_getStuJson", true, params));
return JsonUtil.formatJSONObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_getStuJson", JSONObject.toJSONString(params), "", ""));
return JsonUtil.formatJSONObject(baseDataApiHub.callApi("stu_getStuJson", true, params));
}
public Integer baseStuFindCountByClassid(Long campusid, Long classid, String name) {
......@@ -541,8 +475,7 @@ public class ProviderService {
params.put("classid", classid);
params.put("name", name);
// JSONObject resultJson = JSONObject.parseObject(baseDataApiHub.callApi("stu_findCountByClassid", true, params));
JSONObject resultJson = JSONObject.parseObject(HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_findCountByClassid", JSONObject.toJSONString(params), "", ""));
JSONObject resultJson = JSONObject.parseObject(baseDataApiHub.callApi("stu_findCountByClassid", true, params));
return resultJson.getInteger("data");
}
......@@ -550,8 +483,7 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("campusids", campusid);
params.put("configCode", configCode);
// String json = baseDataApiHub.callApi("kgpz_getCampusConfigState", true, params);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"kgpz_getCampusConfigState", JSONObject.toJSONString(params), "", "");
String json = baseDataApiHub.callApi("kgpz_getCampusConfigState", true, params);
JSONObject kgpztJson = JSONObject.parseObject(json);
return kgpztJson.getBooleanValue("data");
}
......@@ -560,8 +492,7 @@ public class ProviderService {
JSONObject params = new JSONObject();
params.put("userid", userid);
// JSONObject resultJson = JSONObject.parseObject(userApiHub.callApi("user_getCurrentUserType", true, params));
JSONObject resultJson = JSONObject.parseObject(HttpClientUtil.callApi(BASE_URL, USER_URL+"user_getCurrentUserType", JSONObject.toJSONString(params), "", ""));
JSONObject resultJson = JSONObject.parseObject(userApiHub.callApi("user_getCurrentUserType", true, params));
ApiUtil.verifyResponse(resultJson);
return resultJson.getInteger("data");
......@@ -571,8 +502,7 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("orgcode", orgcode);
param.put("userid", userid);
// String json = baseDataApiHub.callApi("campus_getCurrentCampusAndCampusList", true, param);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"campus_getCurrentCampusAndCampusList", JSONObject.toJSONString(param), "", "");
String json = baseDataApiHub.callApi("campus_getCurrentCampusAndCampusList", true, param);
JSONObject campusJson = JsonUtil.formatJSONObject(json);
return campusJson;
}
......@@ -581,8 +511,7 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// String json = baseDataApiHub.callApi("stu_getExemplaryStudent", true, param);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"stu_getExemplaryStudent", JSONObject.toJSONString(param), "", "");
String json = baseDataApiHub.callApi("stu_getExemplaryStudent", true, param);
return JsonUtil.formatJSONObject(json);
}
......@@ -590,8 +519,7 @@ public class ProviderService {
JSONObject param = new JSONObject();
param.put("campusid", campusid);
// String json = baseDataApiHub.callApi("user_listAdminUser", true, param);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL + "user_listAdminUser", JSONObject.toJSONString(param), "", "");
String json = baseDataApiHub.callApi("user_listAdminUser", true, param);
return JsonUtil.formatJSONArray(json);
}
......@@ -600,8 +528,7 @@ public class ProviderService {
param.put("campusid", campusid);
param.put("classid", classid);
// String json = baseDataApiHub.callApi("user_isHaveParentByClassid", true, param);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL + "user_isHaveParentByClassid", JSONObject.toJSONString(param), "", "");
String json = baseDataApiHub.callApi("user_isHaveParentByClassid", true, param);
JSONObject resultJson = JSONObject.parseObject(json);
ApiUtil.verifyResponse(resultJson);
......@@ -611,8 +538,7 @@ public class ProviderService {
public JSONObject wechatCorpGetCorpInfo(String corpid) {
JSONObject params = new JSONObject();
params.put("corpid", corpid);
// String json = wechatApiHub.callApi("corp_getCorpInfo", true, params);
String json = HttpClientUtil.callApi(BASE_URL, WECHAT_URL + "corp_getCorpInfo", JSONObject.toJSONString(params), "", "");
String json = wechatApiHub.callApi("corp_getCorpInfo", true, params);
try {
return JsonUtil.formatJSONObject(json);
} catch (Exception e) {
......@@ -623,8 +549,7 @@ public class ProviderService {
public JSONObject baseGradeFindOneGrade(Long gradeid) {
JSONObject param = new JSONObject();
param.put("id", gradeid);
// String json = baseDataApiHub.callApi("grade_findOneGrade", true, param);
String json = HttpClientUtil.callApi(BASE_URL, BASEDATA_URL+"grade_findOneGrade", JSONObject.toJSONString(param), "", "");
String json = baseDataApiHub.callApi("grade_findOneGrade", true, param);
return JsonUtil.formatJSONObject(json);
}
}
......@@ -56,22 +56,26 @@ dubbo:
protocol:
name: dubbo
port: -1
id: dubbo
registries:
zk:
address: zookeeper://localhost:2181
# nacos:
# address: nacos://10.10.10.221:8848
cloud:
address: spring-cloud://10.10.10.221:8848
# registries:
# zk:
# address: zookeeper://localhost:2181
## nacos:
## address: nacos://10.10.10.221:8848
# cloud:
# address: spring-cloud://10.10.10.221:8848
cloud:
subscribed-services: '*'
scan:
base-packages: com.spacetech.service
registry:
address: spring-cloud://10.10.10.221:8848
consumer:
check: false
#system:
# context:
# memcacheIp: 10.10.10.190:33332
......
......@@ -23,12 +23,6 @@
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<exclusions>
<exclusion>
<artifactId>jsr311-api</artifactId>
<groupId>javax.ws.rs</groupId>
</exclusion>
</exclusions>
</dependency>
<!--sentinel 流控-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment