Closed michaelkrog closed 8 years ago
Same issue.
Looking into this.
Sent from my iPhone
On Mar 14, 2016, at 11:40 AM, Michael Krog notifications@github.com<mailto:notifications@github.com> wrote:
I can build it fine. I can execute 'docker-compose up' fine, but when the instances boot I get an exception which I am unable to resolve:
gateway_1 | 2016-03-14 18:30:06.103 WARN 1 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
gateway_1 | 2016-03-14 18:30:06.248 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application startup failed
gateway_1 |
gateway_1 | org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
gateway_1 | at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:133) ~[spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
gateway_1 | at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at services.Application.main(Application.java:11) [app.jar!/:0.1.0]
gateway_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72-internal]
gateway_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_72-internal]
gateway_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_72-internal]
gateway_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_72-internal]
gateway_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) [app.jar!/:0.1.0]
gateway_1 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-internal]
gateway_1 | Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
gateway_1 | at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:99) ~[spring-boot-1.3.2.RELEASE.jar!/:1.3.2.RELEASE]
gateway_1 | at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.
Reply to this email directly or view it on GitHubhttps://github.com/kbastani/spring-cloud-microservice-example/issues/23.
PR merged from #24
I can build it fine. I can execute 'docker-compose up' fine, but when the instances boot I get an exception which I am unable to resolve: