`
pengfeifei26
  • 浏览: 244799 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

springcloud 测试用例异常

 
阅读更多
'eurekaAutoServiceRegistration': Singleton bean creation not allowed while singletons of this factory are in destruction



  .   ____          _            __ _ _
/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot ::        (v1.5.8.RELEASE)

2018-05-16 16:03:59 INFO  org.springframework.boot.SpringApplication.logStartupProfileInfo(SpringApplication.java:597)    : The following profiles are active: alpha
2018-05-16 16:03:59 INFO  org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:583)    : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@49dbaaf3: startup date [Wed May 16 16:03:59 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1d470d0
2018-05-16 16:04:00 INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate.multipleStoresDetected(RepositoryConfigurationDelegate.java:165)    : Multiple Spring Data modules found, entering strict repository configuration mode!
2018-05-16 16:04:00 INFO  org.springframework.cloud.context.scope.GenericScope.setSerializationId(GenericScope.java:263)    : BeanFactory id=93c6efc3-5d52-3b9a-995a-6650099788f8
2018-05-16 16:04:00 INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.<init>(AutowiredAnnotationBeanPostProcessor.java:155)    : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2018-05-16 16:04:00 INFO  org.springframework.scheduling.concurrent.ExecutorConfigurationSupport.initialize(ExecutorConfigurationSupport.java:165)    : Initializing ExecutorService
2018-05-16 16:04:00 INFO  org.springframework.scheduling.concurrent.ExecutorConfigurationSupport.initialize(ExecutorConfigurationSupport.java:165)    : Initializing ExecutorService  'threadPoolTaskExecutor'
2018-05-16 16:04:00 INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:327)    : Bean 'threadPoolTaskExecutor' of type [org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-16 16:04:00 INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:327)    : Bean 'org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration' of type [org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration$$EnhancerBySpringCGLIB$$67dff932] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-16 16:04:00 INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:327)    : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$51cd55ee] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-05-16 16:04:00 INFO  org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:583)    : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@34c53688: startup date [Wed May 16 16:04:00 CST 2018]; parent: org.springframework.web.context.support.GenericWebApplicationContext@49dbaaf3
2018-05-16 16:04:00 INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.<init>(AutowiredAnnotationBeanPostProcessor.java:155)    : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2018-05-16 16:04:01 WARN  com.netflix.config.sources.URLConfigurationSource.<init>(URLConfigurationSource.java:121)    : No URLs will be polled as dynamic configuration sources.
2018-05-16 16:04:01 INFO  com.netflix.config.sources.URLConfigurationSource.<init>(URLConfigurationSource.java:122)    : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-05-16 16:04:01 WARN  com.netflix.config.sources.URLConfigurationSource.<init>(URLConfigurationSource.java:121)    : No URLs will be polled as dynamic configuration sources.
2018-05-16 16:04:01 INFO  com.netflix.config.sources.URLConfigurationSource.<init>(URLConfigurationSource.java:122)    : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache(RequestMappingHandlerAdapter.java:534)    : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@49dbaaf3: startup date [Wed May 16 16:03:59 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1d470d0

2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362)    : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362)    : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.initExceptionHandlerAdviceCache(ExceptionHandlerExceptionResolver.java:273)    : Detected @ExceptionHandler methods in payExceptionController
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362)    : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/refresh || /refresh.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/features || /features.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/service-registry/instance-status],methods=[GET]}" onto public org.springframework.http.ResponseEntity org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint.getStatus()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/service-registry/instance-status],methods=[POST]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint.setStatus(java.lang.String)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/env],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.value(java.util.Map<java.lang.String, java.lang.String>)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/env/reset],methods=[POST]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.reset()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/restart || /restart.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.restart.RestartMvcEndpoint.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/pause || /pause.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/archaius || /archaius.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2018-05-16 16:04:02 INFO  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)    : Mapped "{[/resume || /resume.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2018-05-16 16:04:03 INFO  org.springframework.ui.freemarker.SpringTemplateLoader.<init>(SpringTemplateLoader.java:61)    : SpringTemplateLoader for FreeMarker: using resource loader [org.springframework.web.context.support.GenericWebApplicationContext@49dbaaf3: startup date [Wed May 16 16:03:59 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1d470d0] and template loader path [classpath:/templates/]
2018-05-16 16:04:03 INFO  org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer.postProcessTemplateLoaders(FreeMarkerConfigurer.java:127)    : ClassTemplateLoader for Spring macros added to FreeMarker configuration
2018-05-16 16:04:03 WARN  org.springframework.boot.starter.redis.RedisStarterDeprecationWarningAutoConfiguration.logWarning(RedisStarterDeprecationWarningAutoConfiguration.java:43)    : spring-boot-starter-redis is deprecated as of Spring Boot 1.4, please migrate to spring-boot-starter-data-redis
2018-05-16 16:04:03 INFO  org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:343)    : Starting beans in phase 0
2018-05-16 16:04:03 INFO  org.springframework.boot.StartupInfoLogger.logStarted(StartupInfoLogger.java:57)    : Started ServerTest in 5.797 seconds (JVM running for 6.519)
HttpPost请求数据;url:http://localhost:98/test ;content:{"appVession":"v1.1","imei":"111111","mobileType":"三星","osType":1,"token":"e81a9cb5ef1e4d67b181bd8758397cb3"}
s=========>>true
2018-05-16 16:04:04 INFO  result=====>>>{"code":"102","msg":"token有效!","data":{"userId":13,"token":"e81a9cb5ef1e4d67b181bd8758397cb3","expireTime":"13140000","createTime":1522051219000,"updateTime":1525944884000}}
2018-05-16 16:04:04 INFO  org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:984)    : Closing org.springframework.web.context.support.GenericWebApplicationContext@49dbaaf3: startup date [Wed May 16 16:03:59 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1d470d0
2018-05-16 16:04:04 INFO  org.springframework.cloud.netflix.eureka.InstanceInfoFactory.create(InstanceInfoFactory.java:70)    : Setting initial instance status as: STARTING

2018-05-16 16:04:04 INFO  com.netflix.discovery.DiscoveryClient.<init>(DiscoveryClient.java:344)    : Initializing Eureka in region us-east-1
2018-05-16 16:04:04 INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider.<init>(DiscoveryJerseyProvider.java:70)    : Using JSON encoding codec LegacyJacksonJson
2018-05-16 16:04:04 INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider.<init>(DiscoveryJerseyProvider.java:71)    : Using JSON decoding codec LegacyJacksonJson
2018-05-16 16:04:04 INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider.<init>(DiscoveryJerseyProvider.java:80)    : Using XML encoding codec XStreamXml
2018-05-16 16:04:04 INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider.<init>(DiscoveryJerseyProvider.java:81)    : Using XML decoding codec XStreamXml
2018-05-16 16:04:04 INFO  com.netflix.discovery.shared.resolver.aws.ConfigClusterResolver.getClusterEndpoints(ConfigClusterResolver.java:43)    : Resolving eureka endpoints via configuration
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:920)    : Disable delta property : false
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:921)    : Single vip registry refresh property : null
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:922)    : Force full registry fetch : false
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:923)    : Application is null : false
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:924)    : Registered Applications size is zero : true
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:926)    : Application version is -1: true
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.getAndStoreFullRegistry(DiscoveryClient.java:1009)    : Getting all instance registry info from the eureka server
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.getAndStoreFullRegistry(DiscoveryClient.java:1018)    : The response status is 200
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.initScheduledTasks(DiscoveryClient.java:1244)    : Starting heartbeat executor: renew interval is: 30
2018-05-16 16:04:05 INFO  com.netflix.discovery.InstanceInfoReplicator.<init>(InstanceInfoReplicator.java:59)    : InstanceInfoReplicator onDemand update allowed rate per min is 4
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.<init>(DiscoveryClient.java:425)    : Discovery Client initialized at timestamp 1526457845223 with initial instances count: 4
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.shutdown(DiscoveryClient.java:852)    : Shutting down DiscoveryClient ...
2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.unregister(DiscoveryClient.java:884)    : Unregistering ...

2018-05-16 16:04:05 INFO  com.netflix.discovery.DiscoveryClient.shutdown(DiscoveryClient.java:873)    : Completed shut down of DiscoveryClient
2018-05-16 16:04:05 INFO  org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:358)    : Stopping beans in phase 0
2018-05-16 16:04:05 INFO  org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:984)    : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@34c53688: startup date [Wed May 16 16:04:00 CST 2018]; parent: org.springframework.web.context.support.GenericWebApplicationContext@49dbaaf3
Disconnected from the target VM, address: '127.0.0.1:52206', transport: 'socket'
2018-05-16 16:04:05 WARN  org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:994)    : Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:216)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1078)
at org.springframework.context.event.ApplicationListenerMethodAdapter.getTargetBean(ApplicationListenerMethodAdapter.java:283)
at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:253)
at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:177)
at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:140)
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:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:399)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:991)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:958)
at org.springframework.cloud.context.named.NamedContextFactory.destroy(NamedContextFactory.java:76)
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:272)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1006)
at org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:929)
2018-05-16 16:04:05 INFO  org.springframework.scheduling.concurrent.ExecutorConfigurationSupport.shutdown(ExecutorConfigurationSupport.java:202)    : Shutting down ExecutorService 'threadPoolTaskExecutor'

Process finished with exit code 0
分享到:
评论

相关推荐

    基于SpringCloud+Kubernetes ,微服务3

    总结起来,SpringCloud和Kubernetes的结合为微服务架构提供了强大的支持,而通过编写多维度测试用例和设置Jenkins流水线,可以确保系统的质量和高效的迭代速度。运维开发人员应当熟练掌握这些工具和技术,以构建出...

    SpringCloud使用Feign做断路由

    在TDCloud这个项目中,可能包含了上述所有步骤的配置文件、服务接口定义、以及测试用例等资源。通过分析这些文件,我们可以深入理解SpringCloud中Feign的使用以及与Eureka、Hystrix的集成。对于开发者来说,熟练掌握...

    ServerTechTest:服务端技术选型测试用例

    Java平台提供了一整套服务器端开发框架,如Spring Boot、Spring Cloud等,这些框架极大地简化了开发过程,增强了系统的可维护性和可扩展性。在进行技术选型时,我们需要考虑Java的性能、社区支持、生态系统以及与...

    springcloud-mybatis.zip

    6. 测试验证:编写测试用例,检查在分布式事务下,各个服务的数据一致性是否得到保证。 四、注意事项 1. Seata的性能影响:虽然Seata提供了高性能的事务处理能力,但其引入了一定的网络延迟和额外的数据库操作,...

    分布式事务框架Fescar在SpringCloud环境下的应用实践-fescar-demo.zip

    - **示例测试**:通过测试用例演示了分布式事务的正常流程和异常处理。 理解并实践这个示例项目,可以帮助我们深入掌握Fescar在SpringCloud中的应用。需要注意的是,在实际生产环境中,还需要考虑性能优化、事务...

    Thrift-server与spring集成

    - 编写JUnit测试用例,模拟客户端调用,测试Thrift服务的功能和性能。 集成Thrift和Spring后,开发者可以享受到Spring的优雅和Thrift的高效,实现复杂分布式系统的快速开发和部署。同时,这种集成方式也有利于团队...

    springcloud-starter-netflix-hystrix-demo

    在“springcloud-starter-netflix-hystrix-demo-master”文件夹下,你将找到项目的源代码,包括配置文件、Java源码、测试用例等,这些都是理解Hystrix与Swagger集成的实践案例。通过分析这些代码,你可以深入学习...

    cloud2021.zip

    最后,项目中可能还包含了一些测试用例和运行脚本,以便于验证服务的正确性和部署流程。对于初学者来说,一步步按照这些资源来实践,可以深入理解Spring Cloud的工作原理和优势。 总的来说,"cloud2021.zip"提供的...

    详解springcloud Feign的Hystrix支持

    在上面的代码中,我们使用 `@Autowired` 注解将 `UserFeignClient` 实例注入到测试用例中,然后使用 `findById` 方法来测试 Hystrix 支持。当断路器打开时,方法将返回一个 fallback 对象,而不是抛出异常。 Spring...

    SagaProducer-Springcloud-rabbitmq-

    - 测试用例,验证Saga的正确性和完整性 通过以上分析,我们可以看出这个项目旨在演示如何在Spring Cloud环境中利用RabbitMQ实现分布式事务的Saga模式,这对于理解和实践分布式系统的设计与开发具有重要的参考价值。

    spring-websocket-test:SpringWebsocket测试

    4. **模拟服务器响应**:在服务器端,我们需要编写测试用例来模拟WebSocket消息的处理,包括控制器方法的测试,确保消息能够正确路由到相应的业务逻辑。 5. **测试工具**:Spring提供了`WebSocketTestClient`工具,...

    zfly:分布式事务 LCN实例 spring cloud

    7. **测试**:编写测试用例,模拟不同的事务场景,如正常提交、回滚、超时等,验证LCN的分布式事务功能是否正常工作。 通过这个"zfly"项目,你可以深入理解LCN如何与Spring Cloud协同工作,实现分布式事务的管理。...

    seata-samples

    6. **测试用例**:项目通常会包含测试类,演示如何启动TCC事务,模拟转账流程,包括正常流程和异常情况。 通过深入学习Seata-Samples,开发者可以掌握如何在实际项目中运用Seata实现分布式事务,尤其是TCC模式。这...

    springBoot_txLcn.rar

    6. **测试验证**:通过编写测试用例,验证在分布式环境中,事务的正确性和一致性。 总的来说,Spring Boot和Spring Cloud结合tx-lcn框架,为分布式事务提供了一种高效、易用的解决方案。通过这样的集成,开发者可以...

    junit测试demo

    JUnit是Java编程语言中最常用的单元测试框架之一,它使得开发者能够编写可重复运行的测试用例,以确保代码的功能正确性。在这个“junit测试demo”中,包含了两种类型的测试:纯Java和基于SSH(Spring、Struts和...

    spring学习总结

    4. **单元测试与集成测试**:Spring 提供了 Spring Test 模块,可以方便地编写测试用例。 通过以上知识点的学习,我们可以更好地理解 Spring 框架的核心概念和技术细节,从而提高我们的开发效率和代码质量。希望...

    spring 源码

    通过Mock对象和TestNG或JUnit,开发者可以方便地编写测试用例,验证代码的正确性。 8. **Spring Boot**: Spring Boot是近年来Spring的热门子项目,它简化了Spring应用程序的初始搭建和配置工作。通过自动配置和...

    cmpp.zip_cmpp_cmpp 3.0_cmpp java_cmpp3.0 java_java spring cmp

    6. **Spring Cloud**:如果项目规模较大,可能还采用了Spring Cloud来实现服务发现、负载均衡、熔断和限流等功能,提升系统的稳定性和可用性。 这个压缩包中的"cmpp"文件可能是一个Java项目,包含了实现CMPP 3.0...

    springboot-integration-examples,springboot与其他常用技术的集成.zip

    项目可能包含使用 @SpringBootTest 和 @WebMvcTest 注解的测试用例。 9. **定时任务**:SpringBoot 可以集成 Quartz 或 Spring Task 来实现定时任务。示例可能展示如何配置和执行周期性任务。 10. **微服务架构**...

Global site tag (gtag.js) - Google Analytics