cer / event-sourcing-examples

Example code for my building and deploying microservices with event sourcing, CQRS and Docker presentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hostname can't be null

vachacz opened this issue · comments

Hi,

I was able to start docker mongo image and build the code with gradle. When i run either java or scala examples by calling ../run-all-services.sh i get an exception "hostname can't be null". I tried to analyse the stacktrace but didn't figure out what is the problem. I'm using Ubuntu virtualbox. Can you please have a look on it ?

Log file:

12:08:55,353 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
12:08:55,356 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
12:08:55,366 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/hadoop/EventSourcing/event-sourcing-examples/scala-spring/accounts-command-side-service/build/libs/accounts-command-side-service.jar!/lib/utils-0.7.jar!/logback.xml]
12:08:55,831 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@46441b45 - URL [jar:file:/home/hadoop/EventSourcing/event-sourcing-examples/scala-spring/accounts-command-side-service/build/libs/accounts-command-side-service.jar!/lib/utils-0.7.jar!/logback.xml] is not of type file
12:08:57,040 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
12:08:57,131 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:08:57,269 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
12:08:57,841 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead.
12:08:57,841 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
12:08:57,841 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
12:08:57,844 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
12:08:57,844 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [scala.slick.session.BaseSession] to INFO
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.chrisrichardson.eventstore] to INFO
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.web.client] to DEBUG
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.chrisrichardson.shopping.web] to INFO
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.chrisrichardson.shopping] to DEBUG
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.chrisrichardson.readside] to DEBUG
12:08:57,850 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.chrisrichardson.eventstore.subscriptions.EventHandlerRegistrar] to DEBUG
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [akka.actor] to DEBUG
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.web] to DEBUG
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.context] to INFO
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.http] to DEBUG
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.typesafe] to DEBUG
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [kafka] to INFO
12:08:57,851 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:08:57,863 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@215a730d - Registering current configuration as safe fallback point


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

12:09:00.719  DEBUG o.s.w.c.s.StandardServletEnvironment - Adding [servletConfigInitParams] PropertySource with lowest search precedence
12:09:00.736  DEBUG o.s.w.c.s.StandardServletEnvironment - Adding [servletContextInitParams] PropertySource with lowest search precedence
12:09:00.736  DEBUG o.s.w.c.s.StandardServletEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
12:09:00.736  DEBUG o.s.w.c.s.StandardServletEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
12:09:00.736  DEBUG o.s.w.c.s.StandardServletEnvironment - Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,systemProperties,systemEnvironment]
12:09:01.180  INFO  n.c.e.e.b.w.m.AccountsCommandSideServiceMain$ - Starting AccountsCommandSideServiceMain. on osboxes with PID 3940 (/home/hadoop/EventSourcing/event-sourcing-examples/scala-spring/accounts-command-side-service/build/libs/accounts-command-side-service.jar started by hadoop in /home/hadoop/EventSourcing/event-sourcing-examples/scala-spring)
12:09:15.858  DEBUG o.s.w.c.s.StandardServletEnvironment - Removing [applicationConfigurationProperties] PropertySource
12:09:15.858  DEBUG o.s.w.c.s.StandardServletEnvironment - Removing [defaultProperties] PropertySource
12:09:21.350  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'net.chrisrichardson.utils.config.MetricRegistryConfiguration' of type [class net.chrisrichardson.utils.config.MetricRegistryConfiguration$$EnhancerBySpringCGLIB$$d0f69b86] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:21.475  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'metricRegistry' of type [class com.codahale.metrics.MetricRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:21.691  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'net.chrisrichardson.eventstore.idgeneration.IdGeneratorConfiguration' of type [class net.chrisrichardson.eventstore.idgeneration.IdGeneratorConfiguration$$EnhancerBySpringCGLIB$$6b9193fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:21.888  INFO  n.c.e.i.BoundaryFlakeIdGenerator - found these hardware network interfaces: Stream(name:vetha5e8773 (vetha5e8773), ?)
12:09:22.076  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'idGenerator' of type [class net.chrisrichardson.eventstore.idgeneration.BoundaryFlakeIdGenerator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:22.077  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration' of type [class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration$$EnhancerBySpringCGLIB$$92c83738] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:22.230  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'net.chrisrichardson.utils.config.ActorSystemConfiguration' of type [class net.chrisrichardson.utils.config.ActorSystemConfiguration$$EnhancerBySpringCGLIB$$ab4c7ff3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[DEBUG] [09/25/2015 12:09:24.213] [main] [EventStream] StandardOutLogger started
[DEBUG] [09/25/2015 12:09:26.726] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/] started (akka.actor.LocalActorRefProvider$Guardian@1980077e)
[DEBUG] [09/25/2015 12:09:26.843] [eventStore-akka.actor.default-dispatcher-4] [akka://eventStore/system] started (akka.actor.LocalActorRefProvider$SystemGuardian@38512bcf)
[DEBUG] [09/25/2015 12:09:26.842] [eventStore-akka.actor.default-dispatcher-3] [akka://eventStore/user] started (akka.actor.LocalActorRefProvider$Guardian@5258c839)
[DEBUG] [09/25/2015 12:09:26.853] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/] now supervising Actor[akka://eventStore/user]
[DEBUG] [09/25/2015 12:09:26.854] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/] now supervising Actor[akka://eventStore/system]
[DEBUG] [09/25/2015 12:09:26.966] [eventStore-akka.actor.default-dispatcher-3] [akka://eventStore/user] now watched by Actor[akka://eventStore/system]
[DEBUG] [09/25/2015 12:09:26.966] [eventStore-akka.actor.default-dispatcher-3] [akka://eventStore/system] now watched by Actor[akka://eventStore/]
[DEBUG] [09/25/2015 12:09:26.980] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/system] now supervising Actor[akka://eventStore/system/log1-Slf4jLogger#-971910177]
[DEBUG] [09/25/2015 12:09:26.981] [eventStore-akka.actor.default-dispatcher-4] [akka://eventStore/system/log1-Slf4jLogger] started (akka.event.slf4j.Slf4jLogger@65076fbc)
[DEBUG] [09/25/2015 12:09:27.184] [main] [EventStream(akka://eventStore)] logger log1-Slf4jLogger started
[DEBUG] [09/25/2015 12:09:27.226] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/system] now supervising Actor[akka://eventStore/system/UnhandledMessageForwarder#1518443680]
[DEBUG] [09/25/2015 12:09:27.235] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/system/UnhandledMessageForwarder] started (akka.event.LoggingBus$$anonfun$startDefaultLoggers$2$$anon$3@7824edc2)
[DEBUG] [09/25/2015 12:09:27.237] [main] [EventStream(akka://eventStore)] Default Loggers started
12:09:27.249  DEBUG a.a.LocalActorRefProvider$SystemGuardian - now supervising Actor[akka://eventStore/system/UnhandledMessageForwarder#1518443680]
12:09:27.257  DEBUG a.a.LocalActorRefProvider$SystemGuardian - now supervising Actor[akka://eventStore/system/deadLetterListener#-697444365]
12:09:27.348  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'actorSystem' of type [class akka.actor.ActorSystemImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:27.974  INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'eventStore.CONFIGURATION_PROPERTIES' of type [class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12:09:33.889  DEBUG a.a.LocalActorRefProvider$Guardian - stopped
12:09:33.920  DEBUG a.a.LocalActorRefProvider$SystemGuardian - received AutoReceiveMessage Envelope(Terminated(Actor[akka://eventStore/user]),Actor[akka://eventStore/user])
[DEBUG] [09/25/2015 12:09:33.937] [eventStore-akka.actor.default-dispatcher-3] [EventStream] shutting down: StandardOutLogger started
12:09:33.968  ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.chrisrichardson.eventstore.subscriptions.config.EventStoreSubscriptionsConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private net.chrisrichardson.eventstore.EventStoreSubscriptionManagement net.chrisrichardson.eventstore.subscriptions.config.EventStoreSubscriptionsConfiguration.eventStoreSubscriptionManagement; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'eventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [net.chrisrichardson.eventstore.EntityEventStore]: : Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:232) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:615) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:465) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:957) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:946) [spring-boot-1.2.5.RELEASE.jar!/:1.2.5.RELEASE]
    at net.chrisrichardson.eventstore.examples.bank.web.main.AccountsCommandSideServiceMain$.main(AccountsCommandSideServiceMain.scala:8) [accounts-command-side-service.jar!/:na]
    at net.chrisrichardson.eventstore.examples.bank.web.main.AccountsCommandSideServiceMain.main(AccountsCommandSideServiceMain.scala) [accounts-command-side-service.jar!/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [accounts-command-side-service.jar!/:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private net.chrisrichardson.eventstore.EventStoreSubscriptionManagement net.chrisrichardson.eventstore.subscriptions.config.EventStoreSubscriptionsConfiguration.eventStoreSubscriptionManagement; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'eventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [net.chrisrichardson.eventstore.EntityEventStore]: : Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    ... 32 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'eventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [net.chrisrichardson.eventstore.EntityEventStore]: : Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:464) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    ... 34 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityEventStore' defined in class net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    ... 47 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.chrisrichardson.eventstore.client.HttpEntityEventStore]: Factory method 'entityEventStore' threw exception; nested exception is java.lang.IllegalArgumentException: hostname can't be null
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    ... 60 common frames omitted
Caused by: java.lang.IllegalArgumentException: hostname can't be null
    at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149) ~[na:1.7.0_79]
    at java.net.InetSocketAddress.(InetSocketAddress.java:216) ~[na:1.7.0_79]
    at net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration.entityEventStore(EventStoreHttpClientConfiguration.scala:65) ~[eventstore-http-stomp-client-0.7.jar!/:na]
    at net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration$$EnhancerBySpringCGLIB$$92c83738.CGLIB$entityEventStore$1() ~[spring-core-4.1.7.RELEASE.jar!/:na]
    at net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration$$EnhancerBySpringCGLIB$$92c83738$$FastClassBySpringCGLIB$$96cef477.invoke() ~[spring-core-4.1.7.RELEASE.jar!/:na]
    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) ~[spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    at net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration$$EnhancerBySpringCGLIB$$92c83738.entityEventStore() ~[spring-core-4.1.7.RELEASE.jar!/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
    ... 61 common frames omitted
[DEBUG] [09/25/2015 12:09:33.985] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/system/log1-Slf4jLogger] stopped
[DEBUG] [09/25/2015 12:09:33.985] [eventStore-akka.actor.default-dispatcher-3] [EventStream] all default loggers stopped
[DEBUG] [09/25/2015 12:09:34.091] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/system/UnhandledMessageForwarder] stopped
[DEBUG] [09/25/2015 12:09:34.092] [eventStore-akka.actor.default-dispatcher-2] [akka://eventStore/system/deadLetterListener] stopped
[DEBUG] [09/25/2015 12:09:34.092] [eventStore-akka.actor.default-dispatcher-3] [akka://eventStore/system] stopping

Sorry for the confusion. As briefly mentioned here in order to run individual services (using Docker) you need to signup for the event store and set some environment variables.