first of all, ide idea,jdk 1.8 ide idea,jdk spring cloud version finchley sr5
successfully wrote and started the eurekaserver application according to the online tutorial:
write client according to the online tutorial failed to start:
client pom:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud.version>Finchley.SR1</spring-cloud.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
server bootstrap.yml (application.yml with the same content configured at the same time)
server:
port: 9918
eureka:
instance:
hostname: localhost
client:
register-with-eureka: false
fetch-registry: false
service-url:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka
client bootstrap.yml (application.yml with the same content configured at the same time)
server:
port: 9919
spring:
application:
name: my-client1
eureka:
client:
service-url:
defaultZone: http://localhost:9918/eureka
app
package oh.ssej.client1;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient
public class Client1Application {
public static void main(String[] args) {
SpringApplication.run(Client1Application.class, args);
}
}
error content (port 8888 is still requested)
"B:\Program Files\Java\jdk1.8.0_172\bin\java" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=57349 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:B:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\lib\idea_rt.jar=57350:B:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\bin" -Dfile.encoding=UTF-8 -classpath "B:\Program Files\Java\jdk1.8.0_172\jre\lib\charsets.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\deploy.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\access-bridge-64.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\cldrdata.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\dnsns.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\jaccess.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\jfxrt.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\localedata.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\nashorn.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunec.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunjce_provider.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunmscapi.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunpkcs11.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\zipfs.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\javaws.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\jce.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\jfr.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\jfxswt.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\jsse.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\management-agent.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\plugin.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\resources.jar;B:\Program Files\Java\jdk1.8.0_172\jre\lib\rt.jar;B:\idea_workspace\client1\target\classes;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-starter-config\2.0.1.RELEASE\spring-cloud-starter-config-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-starter\2.0.1.RELEASE\spring-cloud-starter-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-context\2.0.1.RELEASE\spring-cloud-context-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\security\spring-security-crypto\5.0.7.RELEASE\spring-security-crypto-5.0.7.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-commons\2.0.1.RELEASE\spring-cloud-commons-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\security\spring-security-rsa\1.0.5.RELEASE\spring-security-rsa-1.0.5.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.56\bcpkix-jdk15on-1.56.jar;A:\Users\Jess Ho\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.56\bcprov-jdk15on-1.56.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-config-client\2.0.1.RELEASE\spring-cloud-config-client-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.0.4.RELEASE\spring-boot-autoconfigure-2.0.4.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;A:\Users\Jess Ho\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;A:\Users\Jess Ho\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\2.0.1.RELEASE\spring-cloud-starter-netflix-eureka-client-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-netflix-core\2.0.1.RELEASE\spring-cloud-netflix-core-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.0.4.RELEASE\spring-boot-starter-aop-2.0.4.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.0.1.RELEASE\spring-cloud-netflix-eureka-client-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\eureka\eureka-client\1.9.3\eureka-client-1.9.3.jar;A:\Users\Jess Ho\.m2\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;A:\Users\Jess Ho\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;A:\Users\Jess Ho\.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;A:\Users\Jess Ho\.m2\repository\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;A:\Users\Jess Ho\.m2\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;A:\Users\Jess Ho\.m2\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;A:\Users\Jess Ho\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;A:\Users\Jess Ho\.m2\repository\com\google\code\gson\gson\2.8.5\gson-2.8.5.jar;A:\Users\Jess Ho\.m2\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;A:\Users\Jess Ho\.m2\repository\com\google\guava\guava\16.0\guava-16.0.jar;A:\Users\Jess Ho\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;A:\Users\Jess Ho\.m2\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;A:\Users\Jess Ho\.m2\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;A:\Users\Jess Ho\.m2\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;A:\Users\Jess Ho\.m2\repository\org\apache\httpcomponents\httpclient\4.5.6\httpclient-4.5.6.jar;A:\Users\Jess Ho\.m2\repository\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;A:\Users\Jess Ho\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;A:\Users\Jess Ho\.m2\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;A:\Users\Jess Ho\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;A:\Users\Jess Ho\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;A:\Users\Jess Ho\.m2\repository\com\github\vlsi\compactmap\compactmap\1.2.1\compactmap-1.2.1.jar;A:\Users\Jess Ho\.m2\repository\com\github\andrewoma\dexx\dexx-collections\0.2\dexx-collections-0.2.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\eureka\eureka-core\1.9.3\eureka-core-1.9.3.jar;A:\Users\Jess Ho\.m2\repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;A:\Users\Jess Ho\.m2\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;A:\Users\Jess Ho\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.0.1.RELEASE\spring-cloud-starter-netflix-archaius-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.0.1.RELEASE\spring-cloud-netflix-ribbon-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.0.1.RELEASE\spring-cloud-netflix-archaius-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;A:\Users\Jess Ho\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.0.1.RELEASE\spring-cloud-starter-netflix-ribbon-2.0.1.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;A:\Users\Jess Ho\.m2\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;A:\Users\Jess Ho\.m2\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;A:\Users\Jess Ho\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;A:\Users\Jess Ho\.m2\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-codec-http\4.1.27.Final\netty-codec-http-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-codec\4.1.27.Final\netty-codec-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-transport-native-epoll\4.1.27.Final\netty-transport-native-epoll-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-common\4.1.27.Final\netty-common-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-buffer\4.1.27.Final\netty-buffer-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-transport-native-unix-common\4.1.27.Final\netty-transport-native-unix-common-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-transport\4.1.27.Final\netty-transport-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\io\netty\netty-resolver\4.1.27.Final\netty-resolver-4.1.27.Final.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\ribbon\ribbon-httpclient\2.2.5\ribbon-httpclient-2.2.5.jar;A:\Users\Jess Ho\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;A:\Users\Jess Ho\.m2\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;A:\Users\Jess Ho\.m2\repository\com\netflix\ribbon\ribbon-eureka\2.2.5\ribbon-eureka-2.2.5.jar;A:\Users\Jess Ho\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;A:\Users\Jess Ho\.m2\repository\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;A:\Users\Jess Ho\.m2\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;A:\Users\Jess Ho\.m2\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\boot\spring-boot-starter\2.0.4.RELEASE\spring-boot-starter-2.0.4.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\boot\spring-boot\2.0.4.RELEASE\spring-boot-2.0.4.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.0.4.RELEASE\spring-boot-starter-logging-2.0.4.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;A:\Users\Jess Ho\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;A:\Users\Jess Ho\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;A:\Users\Jess Ho\.m2\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;A:\Users\Jess Ho\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;A:\Users\Jess Ho\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-web\5.0.8.RELEASE\spring-web-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-beans\5.0.8.RELEASE\spring-beans-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-aop\5.0.8.RELEASE\spring-aop-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-context\5.0.8.RELEASE\spring-context-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-expression\5.0.8.RELEASE\spring-expression-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-core\5.0.8.RELEASE\spring-core-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\springframework\spring-jcl\5.0.8.RELEASE\spring-jcl-5.0.8.RELEASE.jar;A:\Users\Jess Ho\.m2\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar" oh.ssej.client1.Client1Application
2018-09-12 11:13:29.824 INFO 19044 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@445b295b: startup date [Wed Sep 12 11:13:29 CST 2018]; root of context hierarchy
2018-09-12 11:13:30.195 INFO 19044 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 "javax.inject.Inject" annotation found and supported for autowiring
2018-09-12 11:13:30.251 INFO 19044 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "configurationPropertiesRebinderAutoConfiguration" of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$f3f6c3e5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___"_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | "_ | "_| | "_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
" |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.4.RELEASE)
2018-09-12 11:13:31.044 INFO 19044 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888
2018-09-12 11:13:32.432 INFO 19044 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available
2018-09-12 11:13:32.433 WARN 19044 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/my-client1/default": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
2018-09-12 11:13:32.435 INFO 19044 --- [ main] oh.ssej.client1.Client1Application : No active profile set, falling back to default profiles: default
2018-09-12 11:13:32.454 INFO 19044 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@413f69cc: startup date [Wed Sep 12 11:13:32 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@445b295b
2018-09-12 11:13:33.214 INFO 19044 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=c354accd-2f29-3102-b188-06315ecdd2d5
2018-09-12 11:13:33.241 INFO 19044 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 "javax.inject.Inject" annotation found and supported for autowiring
2018-09-12 11:13:33.338 INFO 19044 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean "org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration" of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$f3f6c3e5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-09-12 11:13:33.411 WARN 19044 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-09-12 11:13:33.411 INFO 19044 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-09-12 11:13:33.418 WARN 19044 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2018-09-12 11:13:33.418 INFO 19044 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-09-12 11:13:35.358 INFO 19044 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2018-09-12 11:13:35.373 INFO 19044 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "configurationPropertiesRebinder" has been autodetected for JMX exposure
2018-09-12 11:13:35.373 INFO 19044 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "environmentManager" has been autodetected for JMX exposure
2018-09-12 11:13:35.375 INFO 19044 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name "refreshScope" has been autodetected for JMX exposure
2018-09-12 11:13:35.380 INFO 19044 --- [ 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]
2018-09-12 11:13:35.407 INFO 19044 --- [ 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]
2018-09-12 11:13:35.431 INFO 19044 --- [ 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=413f69cc,type=ConfigurationPropertiesRebinder]
2018-09-12 11:13:35.447 INFO 19044 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0
2018-09-12 11:13:35.473 INFO 19044 --- [ main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING
2018-09-12 11:13:35.543 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1
2018-09-12 11:13:36.382 INFO 19044 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson
2018-09-12 11:13:36.382 INFO 19044 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson
2018-09-12 11:13:36.651 INFO 19044 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml
2018-09-12 11:13:36.651 INFO 19044 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml
2018-09-12 11:13:36.963 INFO 19044 --- [ main] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Disable delta property : false
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Application is null : false
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Application version is -1: true
2018-09-12 11:13:37.273 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server
2018-09-12 11:13:37.552 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : The response status is 200
2018-09-12 11:13:37.555 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Starting heartbeat executor: renew interval is: 30
2018-09-12 11:13:37.558 INFO 19044 --- [ main] c.n.discovery.InstanceInfoReplicator : InstanceInfoReplicator onDemand update allowed rate per min is 4
2018-09-12 11:13:37.565 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1536722017562 with initial instances count: 0
2018-09-12 11:13:37.571 INFO 19044 --- [ main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application my-client1 with eureka with status UP
2018-09-12 11:13:37.572 INFO 19044 --- [ main] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1536722017572, current=UP, previous=STARTING]
2018-09-12 11:13:37.575 INFO 19044 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_MY-CLIENT1/NBRMTHEYL:my-client1:9919: registering service...
2018-09-12 11:13:37.598 INFO 19044 --- [ main] oh.ssej.client1.Client1Application : Started Client1Application in 9.869 seconds (JVM running for 12.992)
2018-09-12 11:13:37.621 INFO 19044 --- [ Thread-25] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@413f69cc: startup date [Wed Sep 12 11:13:32 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@445b295b
2018-09-12 11:13:37.625 INFO 19044 --- [ Thread-25] o.s.c.n.e.s.EurekaServiceRegistry : Unregistering application my-client1 with eureka with status DOWN
2018-09-12 11:13:37.626 WARN 19044 --- [ Thread-25] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1536722017626, current=DOWN, previous=UP]
2018-09-12 11:13:37.629 INFO 19044 --- [ Thread-25] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 0
2018-09-12 11:13:37.640 INFO 19044 --- [ Thread-25] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
2018-09-12 11:13:37.642 INFO 19044 --- [ Thread-25] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans
2018-09-12 11:13:37.649 INFO 19044 --- [ Thread-25] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ...
2018-09-12 11:13:37.652 WARN 19044 --- [ Thread-25] .s.c.a.CommonAnnotationBeanPostProcessor : Invocation of destroy method failed on bean with name "scopedTarget.eurekaClient": org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name "eurekaInstanceConfigBean": 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!)
Process finished with exit code 0