kkelleher (10) [Avatar] Offline
#1
Hi ,

Within STS I am seeing an error reported for both application.yml ( licensing & organization services)

organization-service yml
      kafka:
          binder:
            zkNodes: localhost
            brokers: localhost


error reported against zkNodes line **Expecting a 'String' but got a 'Mapping' node **

licensing-service yml
      binder:
          zkNodes: localhost
          brokers: localhost


error reported against zkNodes line **Unknown property 'zkNodes' for type 'org.springframework.cloud.stream.config.BindingProperties'

error reported against brokers line **Unknown property 'brokers' for type 'org.springframework.cloud.stream.config.BindingProperties''


**



When I try & start the organization service from within STS I error on
2017-03-10 16:55:32.660  INFO 8128 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@957e06: startup date [Fri Mar 10 16:55:32 GMT 2017]; root of context hierarchy
2017-03-10 16:55:32.990  INFO 8128 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-10 16:55:33.033  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$b5313d31] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

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

2017-03-10 16:55:33.528  INFO 8128 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8888
2017-03-10 16:55:38.680  WARN 8128 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: label not found
2017-03-10 16:55:38.683  INFO 8128 --- [           main] c.t.organization.Application             : The following profiles are active: default
2017-03-10 16:55:38.707  INFO 8128 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@410ae9a3: startup date [Fri Mar 10 16:55:38 GMT 2017]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@957e06
2017-03-10 16:55:39.575  INFO 8128 --- [           main] o.s.core.annotation.AnnotationUtils      : Failed to introspect annotations on [class org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration]: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2017-03-10 16:55:39.575  INFO 8128 --- [           main] o.s.core.annotation.AnnotationUtils      : Failed to introspect annotations on [class org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration]: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2017-03-10 16:55:40.060  INFO 8128 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'userContextFilter' with a different definition: replacing [Generic bean: class [com.thoughtmechanix.organization.utils.UserContextFilter]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\smia\spmia-chapter8-master\organization-service\target\classes\com\thoughtmechanix\organization\utils\UserContextFilter.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=application; factoryMethodName=userContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in com.thoughtmechanix.organization.Application]
2017-03-10 16:55:40.063  INFO 8128 --- [           main] o.s.b.f.config.PropertiesFactoryBean     : Loading properties file from URL [jar:file:/C:/Users/kevin_kelleher/.m2/repository/org/springframework/integration/spring-integration-core/4.3.7.RELEASE/spring-integration-core-4.3.7.RELEASE.jar!/META-INF/spring.integration.default.properties]
2017-03-10 16:55:40.067  INFO 8128 --- [           main] o.s.i.config.IntegrationRegistrar        : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2017-03-10 16:55:40.087  INFO 8128 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'hystrixFeature' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration$HystrixWebConfiguration; factoryMethodName=hystrixFeature; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/hystrix/HystrixCircuitBreakerConfiguration$HystrixWebConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration; factoryMethodName=hystrixFeature; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/hystrix/HystrixCircuitBreakerConfiguration.class]]
2017-03-10 16:55:40.484  INFO 8128 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'retryTemplate' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration$RetryAutoConfiguration; factoryMethodName=retryTemplate; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/client/loadbalancer/LoadBalancerAutoConfiguration$RetryAutoConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.feign.ribbon.FeignRibbonClientAutoConfiguration; factoryMethodName=retryTemplate; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/feign/ribbon/FeignRibbonClientAutoConfiguration.class]]
2017-03-10 16:55:40.573  WARN 8128 --- [           main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance @Configuration bean definition 'refreshScope' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2017-03-10 16:55:40.862  INFO 8128 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=00d36a90-b854-3a2f-9fb2-7109f67326ad
2017-03-10 16:55:40.885  INFO 8128 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2017-03-10 16:55:40.889  INFO 8128 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2017-03-10 16:55:40.912  INFO 8128 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-10 16:55:41.213  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$99173a34] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-10 16:55:41.508  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.BindingServiceConfiguration$PostProcessorConfiguration' of type [class org.springframework.cloud.stream.config.BindingServiceConfiguration$PostProcessorConfiguration$$EnhancerBySpringCGLIB$$5aded839] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-10 16:55:41.629  INFO 8128 --- [           main] o.s.b.f.config.PropertiesFactoryBean     : Loading properties file from URL [jar:file:/C:/Users/kevin_kelleher/.m2/repository/org/springframework/integration/spring-integration-core/4.3.7.RELEASE/spring-integration-core-4.3.7.RELEASE.jar!/META-INF/spring.integration.default.properties]
2017-03-10 16:55:41.630  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-10 16:55:41.637  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-10 16:55:41.724  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$b5313d31] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-10 16:55:42.417  INFO 8128 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8082 (http)
2017-03-10 16:55:42.431  INFO 8128 --- [           main] o.apache.catalina.core.StandardService   : Starting service Tomcat
2017-03-10 16:55:42.432  INFO 8128 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.11
2017-03-10 16:55:42.620  INFO 8128 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2017-03-10 16:55:43.332  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [/]
2017-03-10 16:55:43.338  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'metricsFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'userContextFilter' to: [/*]
2017-03-10 16:55:43.339  INFO 8128 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'applicationContextIdFilter' to: [/*]
2017-03-10 16:55:43.805  INFO 8128 --- [           main] o.s.jdbc.datasource.init.ScriptUtils     : Executing SQL script from URL [file:/C:/smia/spmia-chapter8-master/organization-service/target/classes/schema.sql]
2017-03-10 16:55:43.820  INFO 8128 --- [           main] o.s.jdbc.datasource.init.ScriptUtils     : Executed SQL script from URL [file:/C:/smia/spmia-chapter8-master/organization-service/target/classes/schema.sql] in 14 ms.
2017-03-10 16:55:43.944  INFO 8128 --- [           main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-10 16:55:43.965  INFO 8128 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
	name: default
	...]
2017-03-10 16:55:44.047  INFO 8128 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.0.11.Final}
2017-03-10 16:55:44.048  INFO 8128 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2017-03-10 16:55:44.050  INFO 8128 --- [           main] org.hibernate.cfg.Environment            : HHH000021: Bytecode provider name : javassist
2017-03-10 16:55:44.109  INFO 8128 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-03-10 16:55:44.251  INFO 8128 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2017-03-10 16:55:44.679  INFO 8128 --- [           main] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000227: Running hbm2ddl schema export
2017-03-10 16:55:44.686  INFO 8128 --- [           main] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000230: Schema export complete
2017-03-10 16:55:44.728  INFO 8128 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2017-03-10 16:55:45.647  WARN 8128 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2017-03-10 16:55:45.854  INFO 8128 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService  'taskScheduler'
2017-03-10 16:55:48.461  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/health || /health.json],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(java.security.Principal)
2017-03-10 16:55:48.462  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/pause || /pause.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2017-03-10 16:55:48.462  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/resume || /resume.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2017-03-10 16:55:48.463  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : 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>)
2017-03-10 16:55:48.463  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/env/reset],methods=[POST]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.reset()
2017-03-10 16:55:48.464  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/restart || /restart.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.restart.RestartMvcEndpoint.invoke()
2017-03-10 16:55:48.466  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
2017-03-10 16:55:48.466  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.467  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.467  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.467  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/refresh || /refresh.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2017-03-10 16:55:48.468  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.468  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/hystrix.stream/**]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.cloud.netflix.endpoint.ServletWrappingEndpoint.handle(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception
2017-03-10 16:55:48.469  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : 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
2017-03-10 16:55:48.470  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.471  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.471  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/info || /info.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.473  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/features || /features.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.474  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
2017-03-10 16:55:48.474  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/env || /env.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.474  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/channels || /channels.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.475  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/archaius || /archaius.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:48.475  INFO 8128 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2017-03-10 16:55:49.075  WARN 8128 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2017-03-10 16:55:49.280  INFO 8128 --- [           main] o.s.i.codec.kryo.CompositeKryoRegistrar  : configured Kryo registration [40, java.io.File] with serializer org.springframework.integration.codec.kryo.FileSerializer
2017-03-10 16:55:49.474  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2017-03-10 16:55:49.482  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'refreshScope' has been autodetected for JMX exposure
2017-03-10 16:55:49.483  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'environmentManager' has been autodetected for JMX exposure
2017-03-10 16:55:49.484  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'integrationMbeanExporter' has been autodetected for JMX exposure
2017-03-10 16:55:49.485  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2017-03-10 16:55:49.485  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'refreshEndpoint' has been autodetected for JMX exposure
2017-03-10 16:55:49.486  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'restartEndpoint' has been autodetected for JMX exposure
2017-03-10 16:55:49.489  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2017-03-10 16:55:49.500  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'restartEndpoint': registering with JMX server as MBean [org.springframework.cloud.context.restart:name=restartEndpoint,type=RestartEndpoint]
2017-03-10 16:55:49.510  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2017-03-10 16:55:49.523  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'integrationMbeanExporter': registering with JMX server as MBean [org.springframework.integration.monitor:name=integrationMbeanExporter,type=IntegrationMBeanExporter]
2017-03-10 16:55:49.544  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=410ae9a3,type=ConfigurationPropertiesRebinder]
2017-03-10 16:55:49.548  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'refreshEndpoint': registering with JMX server as MBean [org.springframework.cloud.endpoint:name=refreshEndpoint,type=RefreshEndpoint]
2017-03-10 16:55:49.552  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Registering beans for JMX exposure on startup
2017-03-10 16:55:49.553  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Registering MessageChannel nullChannel
2017-03-10 16:55:49.556  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Located managed bean 'org.springframework.integration:type=MessageChannel,name=nullChannel': registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=nullChannel]
2017-03-10 16:55:49.565  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Registering MessageChannel output
2017-03-10 16:55:49.566  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Located managed bean 'org.springframework.integration:type=MessageChannel,name=output': registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=output]
2017-03-10 16:55:49.599  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Registering MessageChannel errorChannel
2017-03-10 16:55:49.601  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Located managed bean 'org.springframework.integration:type=MessageChannel,name=errorChannel': registering with JMX server as MBean [org.springframework.integration:type=MessageChannel,name=errorChannel]
2017-03-10 16:55:49.629  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Registering MessageHandler errorLogger
2017-03-10 16:55:49.631  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Located managed bean 'org.springframework.integration:type=MessageHandler,name=errorLogger,bean=internal': registering with JMX server as MBean [org.springframework.integration:type=MessageHandler,name=errorLogger,bean=internal]
2017-03-10 16:55:49.961  INFO 8128 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase -2147482648
2017-03-10 16:55:50.152  INFO 8128 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@73864c16: startup date [Fri Mar 10 16:55:50 GMT 2017]; root of context hierarchy
2017-03-10 16:55:50.170  INFO 8128 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-10 16:55:50.172  INFO 8128 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$b5313d31] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-10 16:55:50.388  INFO 8128 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8888
2017-03-10 16:55:55.424  WARN 8128 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: label not found
2017-03-10 16:55:55.426  INFO 8128 --- [           main] c.t.organization.Application             : The following profiles are active: default
2017-03-10 16:55:55.429  INFO 8128 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@10f64bc3: startup date [Fri Mar 10 16:55:55 GMT 2017]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@410ae9a3
2017-03-10 16:55:55.761  INFO 8128 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-10 16:55:55.831  INFO 8128 --- [           main] o.s.c.s.b.k.c.KafkaBinderConfiguration   : AdminUtils selected: Kafka 0.9 AdminUtils
2017-03-10 16:55:55.881  INFO 8128 --- [           main] c.t.organization.Application             : Started Application in 5.896 seconds (JVM running for 24.648)
2017-03-10 16:55:55.908  INFO 8128 --- [           main] o.s.c.s.b.k.KafkaMessageChannelBinder    : Using kafka topic for outbound: orgChangeTopic
2017-03-10 16:55:55.945  INFO 8128 --- [-localhost:2181] org.I0Itec.zkclient.ZkEventThread        : Starting ZkClient event thread.
2017-03-10 16:55:55.953  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
2017-03-10 16:55:55.953  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:host.name=WDUBCOLHP16109.education.gov.ie
2017-03-10 16:55:55.953  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.version=1.8.0_25
2017-03-10 16:55:55.953  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.vendor=Oracle Corporation
2017-03-10 16:55:55.953  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.home=C:\Program Files\Java\jre1.8.0_25
2017-03-10 16:55:55.953  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.class.path=C:\smia\spmia-chapter8-master\organization-service\target\classes;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\1.4.4.RELEASE\spring-boot-starter-data-jpa-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter\1.4.4.RELEASE\spring-boot-starter-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot\1.4.4.RELEASE\spring-boot-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-logging\1.4.4.RELEASE\spring-boot-starter-logging-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\ch\qos\logback\logback-classic\1.1.9\logback-classic-1.1.9.jar;C:\Users\kevin_kelleher\.m2\repository\ch\qos\logback\logback-core\1.1.9\logback-core-1.1.9.jar;C:\Users\kevin_kelleher\.m2\repository\org\slf4j\jul-to-slf4j\1.7.22\jul-to-slf4j-1.7.22.jar;C:\Users\kevin_kelleher\.m2\repository\org\slf4j\log4j-over-slf4j\1.7.22\log4j-over-slf4j-1.7.22.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-core\4.3.6.RELEASE\spring-core-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-aop\1.4.4.RELEASE\spring-boot-starter-aop-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-aop\4.3.6.RELEASE\spring-aop-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\1.4.4.RELEASE\spring-boot-starter-jdbc-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\tomcat\tomcat-jdbc\8.5.11\tomcat-jdbc-8.5.11.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\tomcat\tomcat-juli\8.5.11\tomcat-juli-8.5.11.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-jdbc\4.3.6.RELEASE\spring-jdbc-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\hibernate\hibernate-core\5.0.11.Final\hibernate-core-5.0.11.Final.jar;C:\Users\kevin_kelleher\.m2\repository\org\jboss\logging\jboss-logging\3.3.0.Final\jboss-logging-3.3.0.Final.jar;C:\Users\kevin_kelleher\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.0.Final\hibernate-jpa-2.1-api-1.0.0.Final.jar;C:\Users\kevin_kelleher\.m2\repository\org\javassist\javassist\3.20.0-GA\javassist-3.20.0-GA.jar;C:\Users\kevin_kelleher\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\kevin_kelleher\.m2\repository\org\jboss\jandex\2.0.0.Final\jandex-2.0.0.Final.jar;C:\Users\kevin_kelleher\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\kevin_kelleher\.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\kevin_kelleher\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.1.Final\hibernate-commons-annotations-5.0.1.Final.jar;C:\Users\kevin_kelleher\.m2\repository\org\hibernate\hibernate-entitymanager\5.0.11.Final\hibernate-entitymanager-5.0.11.Final.jar;C:\Users\kevin_kelleher\.m2\repository\javax\transaction\javax.transaction-api\1.2\javax.transaction-api-1.2.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\data\spring-data-jpa\1.10.7.RELEASE\spring-data-jpa-1.10.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\data\spring-data-commons\1.12.7.RELEASE\spring-data-commons-1.12.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-orm\4.3.6.RELEASE\spring-orm-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-context\4.3.6.RELEASE\spring-context-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-tx\4.3.6.RELEASE\spring-tx-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-beans\4.3.6.RELEASE\spring-beans-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\slf4j\slf4j-api\1.7.22\slf4j-api-1.7.22.jar;C:\Users\kevin_kelleher\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.22\jcl-over-slf4j-1.7.22.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-aspects\4.3.6.RELEASE\spring-aspects-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-web\1.4.4.RELEASE\spring-boot-starter-web-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\1.4.4.RELEASE\spring-boot-starter-tomcat-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.11\tomcat-embed-core-8.5.11.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.11\tomcat-embed-el-8.5.11.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.11\tomcat-embed-websocket-8.5.11.jar;C:\Users\kevin_kelleher\.m2\repository\org\hibernate\hibernate-validator\5.2.4.Final\hibernate-validator-5.2.4.Final.jar;C:\Users\kevin_kelleher\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\kevin_kelleher\.m2\repository\com\fasterxml\classmate\1.3.3\classmate-1.3.3.jar;C:\Users\kevin_kelleher\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.8.6\jackson-databind-2.8.6.jar;C:\Users\kevin_kelleher\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.8.6\jackson-core-2.8.6.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-web\4.3.6.RELEASE\spring-web-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-webmvc\4.3.6.RELEASE\spring-webmvc-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-expression\4.3.6.RELEASE\spring-expression-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\1.4.4.RELEASE\spring-boot-starter-actuator-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-actuator\1.4.4.RELEASE\spring-boot-actuator-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-eureka\1.2.5.RELEASE\spring-cloud-starter-eureka-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter\1.1.7.RELEASE\spring-cloud-starter-1.1.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-netflix-core\1.2.5.RELEASE\spring-cloud-netflix-core-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.2.5.RELEASE\spring-cloud-netflix-eureka-client-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\eureka\eureka-client\1.4.12\eureka-client-1.4.12.jar;C:\Users\kevin_kelleher\.m2\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;C:\Users\kevin_kelleher\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;C:\Users\kevin_kelleher\.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\kevin_kelleher\.m2\repository\joda-time\joda-time\2.9.7\joda-time-2.9.7.jar;C:\Users\kevin_kelleher\.m2\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;C:\Users\kevin_kelleher\.m2\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\google\code\gson\gson\2.7\gson-2.7.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;C:\Users\kevin_kelleher\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\kevin_kelleher\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\kevin_kelleher\.m2\repository\com\google\inject\guice\4.0\guice-4.0.jar;C:\Users\kevin_kelleher\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\kevin_kelleher\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\governator\governator-api\1.12.10\governator-api-1.12.10.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\eureka\eureka-core\1.4.12\eureka-core-1.4.12.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\governator\governator\1.12.10\governator-1.12.10.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\governator\governator-core\1.12.10\governator-core-1.12.10.jar;C:\Users\kevin_kelleher\.m2\repository\com\google\inject\extensions\guice-multibindings\4.0\guice-multibindings-4.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\google\inject\extensions\guice-grapher\4.0\guice-grapher-4.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\google\inject\extensions\guice-assistedinject\4.0\guice-assistedinject-4.0.jar;C:\Users\kevin_kelleher\.m2\repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;C:\Users\kevin_kelleher\.m2\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;C:\Users\kevin_kelleher\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-archaius\1.2.5.RELEASE\spring-cloud-starter-archaius-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;C:\Users\kevin_kelleher\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-ribbon\1.2.5.RELEASE\spring-cloud-starter-ribbon-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\ribbon\ribbon\2.2.0\ribbon-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\ribbon\ribbon-transport\2.2.0\ribbon-transport-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;C:\Users\kevin_kelleher\.m2\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;C:\Users\kevin_kelleher\.m2\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\ribbon\ribbon-core\2.2.0\ribbon-core-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\ribbon\ribbon-httpclient\2.2.0\ribbon-httpclient-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.0\ribbon-loadbalancer-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;C:\Users\kevin_kelleher\.m2\repository\io\reactivex\rxjava\1.1.10\rxjava-1.1.10.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\ribbon\ribbon-eureka\2.2.0\ribbon-eureka-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\com\thoughtworks\xstream\xstream\1.4.9\xstream-1.4.9.jar;C:\Users\kevin_kelleher\.m2\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;C:\Users\kevin_kelleher\.m2\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-feign\1.2.5.RELEASE\spring-cloud-starter-feign-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-commons\1.1.7.RELEASE\spring-cloud-commons-1.1.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\security\spring-security-crypto\4.1.4.RELEASE\spring-security-crypto-4.1.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\io\github\openfeign\feign-core\9.3.1\feign-core-9.3.1.jar;C:\Users\kevin_kelleher\.m2\repository\org\jvnet\animal-sniffer-annotation\1.0\animal-sniffer-annotation-1.0.jar;C:\Users\kevin_kelleher\.m2\repository\io\github\openfeign\feign-slf4j\9.3.1\feign-slf4j-9.3.1.jar;C:\Users\kevin_kelleher\.m2\repository\io\github\openfeign\feign-hystrix\9.3.1\feign-hystrix-9.3.1.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-config\1.2.2.RELEASE\spring-cloud-starter-config-1.2.2.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-config-client\1.2.2.RELEASE\spring-cloud-config-client-1.2.2.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\1.4.4.RELEASE\spring-boot-autoconfigure-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-context\1.1.7.RELEASE\spring-cloud-context-1.1.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.6\jackson-annotations-2.8.6.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-hystrix\1.2.5.RELEASE\spring-cloud-starter-hystrix-1.2.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\hystrix\hystrix-core\1.5.6\hystrix-core-1.5.6.jar;C:\Users\kevin_kelleher\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.6\hystrix-metrics-event-stream-1.5.6.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\hystrix\hystrix-serialization\1.5.6\hystrix-serialization-1.5.6.jar;C:\Users\kevin_kelleher\.m2\repository\com\fasterxml\jackson\module\jackson-module-afterburner\2.7.5\jackson-module-afterburner-2.7.5.jar;C:\Users\kevin_kelleher\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-cbor\2.8.6\jackson-dataformat-cbor-2.8.6.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-stream\1.1.1.RELEASE\spring-cloud-stream-1.1.1.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\boot\spring-boot-starter-validation\1.4.4.RELEASE\spring-boot-starter-validation-1.4.4.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-messaging\4.3.6.RELEASE\spring-messaging-4.3.6.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\integration\spring-integration-core\4.3.7.RELEASE\spring-integration-core-4.3.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\integration\spring-integration-jmx\4.3.7.RELEASE\spring-integration-jmx-4.3.7.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\spring-tuple\1.0.0.RELEASE\spring-tuple-1.0.0.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\com\esotericsoftware\kryo-shaded\3.0.3\kryo-shaded-3.0.3.jar;C:\Users\kevin_kelleher\.m2\repository\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;C:\Users\kevin_kelleher\.m2\repository\org\objenesis\objenesis\2.1\objenesis-2.1.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\integration\spring-integration-tuple\1.0.0.RELEASE\spring-integration-tuple-1.0.0.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\retry\spring-retry\1.1.5.RELEASE\spring-retry-1.1.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-starter-stream-kafka\1.1.1.RELEASE\spring-cloud-starter-stream-kafka-1.1.1.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-stream-binder-kafka\1.1.1.RELEASE\spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\cloud\spring-cloud-stream-codec\1.1.1.RELEASE\spring-cloud-stream-codec-1.1.1.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\integration\spring-integration-kafka\2.0.1.RELEASE\spring-integration-kafka-2.0.1.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\kafka\kafka_2.11\0.9.0.1\kafka_2.11-0.9.0.1.jar;C:\Users\kevin_kelleher\.m2\repository\com\101tec\zkclient\0.7\zkclient-0.7.jar;C:\Users\kevin_kelleher\.m2\repository\com\yammer\metrics\metrics-core\2.2.0\metrics-core-2.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\org\scala-lang\modules\scala-xml_2.11\1.0.4\scala-xml_2.11-1.0.4.jar;C:\Users\kevin_kelleher\.m2\repository\org\scala-lang\scala-library\2.11.7\scala-library-2.11.7.jar;C:\Users\kevin_kelleher\.m2\repository\org\scala-lang\modules\scala-parser-combinators_2.11\1.0.4\scala-parser-combinators_2.11-1.0.4.jar;C:\Users\kevin_kelleher\.m2\repository\net\sf\jopt-simple\jopt-simple\3.2\jopt-simple-3.2.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\zookeeper\zookeeper\3.4.6\zookeeper-3.4.6.jar;C:\Users\kevin_kelleher\.m2\repository\jline\jline\0.9.94\jline-0.9.94.jar;C:\Users\kevin_kelleher\.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\kevin_kelleher\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\kevin_kelleher\.m2\repository\io\netty\netty\3.7.0.Final\netty-3.7.0.Final.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\kafka\kafka-clients\0.9.0.1\kafka-clients-0.9.0.1.jar;C:\Users\kevin_kelleher\.m2\repository\org\xerial\snappy\snappy-java\1.1.1.7\snappy-java-1.1.1.7.jar;C:\Users\kevin_kelleher\.m2\repository\net\jpountz\lz4\lz4\1.2.0\lz4-1.2.0.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\kafka\spring-kafka\1.0.5.RELEASE\spring-kafka-1.0.5.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\com\h2database\h2\1.4.193\h2-1.4.193.jar;C:\Users\kevin_kelleher\.m2\repository\postgresql\postgresql\9.1-901.jdbc4\postgresql-9.1-901.jdbc4.jar;C:\Users\kevin_kelleher\.m2\repository\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;C:\Users\kevin_kelleher\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.55\bcpkix-jdk15on-1.55.jar;C:\Users\kevin_kelleher\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.55\bcprov-jdk15on-1.55.jar;C:\Users\kevin_kelleher\.m2\repository\com\netflix\hystrix\hystrix-javanica\1.5.9\hystrix-javanica-1.5.9.jar;C:\Users\kevin_kelleher\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\kevin_kelleher\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\kevin_kelleher\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\kevin_kelleher\.m2\repository\org\aspectj\aspectjweaver\1.8.9\aspectjweaver-1.8.9.jar;C:\Users\kevin_kelleher\.m2\repository\com\google\guava\guava\18.0\guava-18.0.jar
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.library.path=C:\Program Files\Java\jre1.8.0_25\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_25/bin/server;C:/Program Files/Java/jre1.8.0_25/bin;C:/Program Files/Java/jre1.8.0_25/lib/amd64;C:\Program Files (x86)\Java\jdk1.5.0_09\bin;C:\apache-ant-1.7.0\bin;C:\apache-maven-3.1.1\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Oracle\Oracle6i\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Oracle6i\jdk\bin;C:\Program Files\TortoiseSVN\bin;;C:\sts-bundle\sts-3.8.3.RELEASE;;.
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.io.tmpdir=C:\Users\KEVIN_~1\AppData\Local\Temp\
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.compiler=<NA>
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.name=Windows 7
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.arch=amd64
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.version=6.1
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.name=kevin_kelleher
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.home=C:\Users\kevin_kelleher
2017-03-10 16:55:55.954  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.dir=C:\smia\spmia-chapter8-master\organization-service
2017-03-10 16:55:55.955  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Initiating client connection, connectString=localhost:2181 sessionTimeout=10000 watcher=org.I0Itec.zkclient.ZkClient@2fb171f5
2017-03-10 16:55:55.983  INFO 8128 --- [           main] org.I0Itec.zkclient.ZkClient             : Waiting for keeper state SyncConnected
2017-03-10 16:55:55.988  INFO 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server WDUBCOLHP16109.education.gov.ie/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:55:56.991  WARN 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_25]
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_25]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]

2017-03-10 16:55:57.095  INFO 8128 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:55:58.098  WARN 8128 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_25]
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_25]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]

2017-03-10 16:55:59.198  INFO 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server WDUBCOLHP16109.education.gov.ie/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:56:00.199  WARN 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_25]
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_25]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]

2017-03-10 16:56:00.300  INFO 8128 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:56:01.307  WARN 8128 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_25]
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_25]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]

2017-03-10 16:56:02.408  INFO 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server WDUBCOLHP16109.education.gov.ie/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:56:03.410  WARN 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_25]
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_25]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]

2017-03-10 16:56:03.511  INFO 8128 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:56:03.944  INFO 8128 --- [n(2)-10.0.17.17] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
2017-03-10 16:56:04.519  WARN 8128 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect

java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_25]
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.8.0_25]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965]

2017-03-10 16:56:05.620  INFO 8128 --- [on.gov.ie:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server WDUBCOLHP16109.education.gov.ie/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-03-10 16:56:05.984  INFO 8128 --- [-localhost:2181] org.I0Itec.zkclient.ZkEventThread        : Terminate ZkClient event thread.
2017-03-10 16:56:06.735  INFO 8128 --- [           main] org.apache.zookeeper.ZooKeeper           : Session: 0x0 closed
2017-03-10 16:56:06.735  INFO 8128 --- [ain-EventThread] org.apache.zookeeper.ClientCnxn          : EventThread shut down
2017-03-10 16:56:06.736  WARN 8128 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
2017-03-10 16:56:06.744  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Unregistering JMX-exposed beans on shutdown
2017-03-10 16:56:06.745  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Unregistering JMX-exposed beans
2017-03-10 16:56:06.746  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: nullChannel
2017-03-10 16:56:06.746  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: output
2017-03-10 16:56:06.746  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: errorChannel
2017-03-10 16:56:06.746  INFO 8128 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: _org.springframework.integration.errorLogger.handler
2017-03-10 16:56:06.746  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2017-03-10 16:56:06.746  INFO 8128 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans
2017-03-10 16:56:06.772  INFO 8128 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'taskScheduler'
2017-03-10 16:56:06.772  INFO 8128 --- [           main] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@10f64bc3: startup date [Fri Mar 10 16:55:55 GMT 2017]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@410ae9a3
2017-03-10 16:56:06.774  WARN 8128 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception thrown from ApplicationListener handling ContextClosedEvent

org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration': 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) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1081) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.event.ApplicationListenerMethodAdapter.getTargetBean(ApplicationListenerMethodAdapter.java:280) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:250) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:174) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:137) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:389) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:337) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:994) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:961) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.cloud.stream.binder.DefaultBinderFactory.destroy(DefaultBinderFactory.java:90) [spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:272) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) [spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555) [spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at com.thoughtmechanix.organization.Application.main(Application.java:26) [classes/:na]

2017-03-10 16:56:06.775  INFO 8128 --- [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-10 16:56:06.775  INFO 8128 --- [           main] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000227: Running hbm2ddl schema export
2017-03-10 16:56:06.778  INFO 8128 --- [           main] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000230: Schema export complete
2017-03-10 16:56:06.797  INFO 8128 --- [           main] utoConfigurationReportLoggingInitializer : 

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2017-03-10 16:56:06.803 ERROR 8128 --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:176) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:879) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144) ~[spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at com.thoughtmechanix.organization.Application.main(Application.java:26) [classes/:na]
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
	at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1223) ~[zkclient-0.7.jar:0.7]
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155) ~[zkclient-0.7.jar:0.7]
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129) ~[zkclient-0.7.jar:0.7]
	at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:89) ~[kafka_2.11-0.9.0.1.jar:na]
	at kafka.utils.ZkUtils$.apply(ZkUtils.scala:71) ~[kafka_2.11-0.9.0.1.jar:na]
	at kafka.utils.ZkUtils.apply(ZkUtils.scala) ~[kafka_2.11-0.9.0.1.jar:na]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createTopicAndPartitions(KafkaMessageChannelBinder.java:438) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createTopicsIfAutoCreateEnabledAndAdminUtilsPresent(KafkaMessageChannelBinder.java:421) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createProducerDestinationIfNecessary(KafkaMessageChannelBinder.java:229) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createProducerDestinationIfNecessary(KafkaMessageChannelBinder.java:93) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindProducer(AbstractMessageChannelBinder.java:101) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindProducer(AbstractMessageChannelBinder.java:55) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.AbstractBinder.bindProducer(AbstractBinder.java:150) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:125) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binding.BindableProxyFactory.bindOutputs(BindableProxyFactory.java:225) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:57) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	... 14 common frames omitted



385181 (6) [Avatar] Offline
#2
Hi KKellher,

Let met take a look at this and see if I can reproduce the problem. I have written the code using Intellij and running things from the command line. So let me dig in a little bit.

Thanks,
John
385181 (6) [Avatar] Offline
#3
Hi KKheller,

I think I stepped on the config at some point for the Kafka broker in Kafka. I made my changes (I have to double check the Chapter 8 text to make sure I have the right config), but verified that kafka and all the Spring services were loading. Please let me know if you are still having an issue.

Thanks,
John
kkelleher (10) [Avatar] Offline
#4

Hi John,

Two things ...

First off the yml files now look correct ... no longer getting a warning ... merci

Second .. still getting error when I launch the organization service .. Look I think if may be a simple as needing to load up a kafka instance externally ... Initially I assumed spring boot was smart enough to do that automatically ,, However if I am wrong please let me know how to go about it ...

thanks for update,
Kevin

385181 wrote:Hi KKheller,

I think I stepped on the config at some point for the Kafka broker in Kafka. I made my changes (I have to double check the Chapter 8 text to make sure I have the right config), but verified that kafka and all the Spring services were loading. Please let me know if you are still having an issue.

Thanks,
John
kkelleher (10) [Avatar] Offline
#5
Hi John,

Do I need to start zookeeper & kafka?

The documentation says "The zknodes and brokers property tells Spring Cloud Stream the network location of our Kafka and Zookeeper" ? I thought we were using Spring Cloud Configuration Server instead of zookkeeper ( V6 P.58 pdf)

All the best,
Kevin


org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:176) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:879) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144) ~[spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:372) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1187) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1176) [spring-boot-1.4.4.RELEASE.jar:1.4.4.RELEASE]
	at com.thoughtmechanix.organization.Application.main(Application.java:26) [classes/:na]
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
	at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1223) ~[zkclient-0.7.jar:0.7]
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155) ~[zkclient-0.7.jar:0.7]
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129) ~[zkclient-0.7.jar:0.7]
	at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:89) ~[kafka_2.11-0.9.0.1.jar:na]
	at kafka.utils.ZkUtils$.apply(ZkUtils.scala:71) ~[kafka_2.11-0.9.0.1.jar:na]
	at kafka.utils.ZkUtils.apply(ZkUtils.scala) ~[kafka_2.11-0.9.0.1.jar:na]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createTopicAndPartitions(KafkaMessageChannelBinder.java:438) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createTopicsIfAutoCreateEnabledAndAdminUtilsPresent(KafkaMessageChannelBinder.java:421) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createProducerDestinationIfNecessary(KafkaMessageChannelBinder.java:229) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder.createProducerDestinationIfNecessary(KafkaMessageChannelBinder.java:93) ~[spring-cloud-stream-binder-kafka-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindProducer(AbstractMessageChannelBinder.java:101) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.doBindProducer(AbstractMessageChannelBinder.java:55) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binder.AbstractBinder.bindProducer(AbstractBinder.java:150) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:125) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binding.BindableProxyFactory.bindOutputs(BindableProxyFactory.java:225) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:57) ~[spring-cloud-stream-1.1.1.RELEASE.jar:1.1.1.RELEASE]
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]
	... 14 common frames omitted


kkelleher wrote:
Hi John,

Two things ...

First off the yml files now look correct ... no longer getting a warning ... merci

Second .. still getting error when I launch the organization service .. Look I think if may be a simple as needing to load up a kafka instance externally ... Initially I assumed spring boot was smart enough to do that automatically ,, However if I am wrong please let me know how to go about it ...

thanks for update,
Kevin

385181 wrote:Hi KKheller,

I think I stepped on the config at some point for the Kafka broker in Kafka. I made my changes (I have to double check the Chapter 8 text to make sure I have the right config), but verified that kafka and all the Spring services were loading. Please let me know if you are still having an issue.

Thanks,
John
385181 (6) [Avatar] Offline
#6
Hi Kevin,

You do need to start Zookeeper and Kafka. However, they should automatically be started when you launch your docker-compose script. if you are trying to run the services independently, then Zookeeper and Kafka will need to be launched by hand.

Let me know if that helps

- John