callistaenterprise / blog-microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java.net.BindException: Address already in use

Dreampie opened this issue · comments

lsof -i:8989
lsof -i:8990

return nothing,but i got java.net.BindException: Address already in use

config:

server:
  port: 8989

management:
  port: 8990

code:https://github.com/Dreampie/cloud-server/tree/master/turbine

2015-12-14 18:38:24.433  INFO 1242 --- [           main] i.reactivex.netty.server.AbstractServer  : Rx server started at port: 8989
2015-12-14 18:38:24.433  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2015-12-14 18:38:24.433  INFO 1242 --- [           main] o.s.i.channel.PublishSubscribeChannel    : Channel 'turbine.errorChannel' has 1 subscriber(s).
2015-12-14 18:38:24.433  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started _org.springframework.integration.errorLogger
2015-12-14 18:38:24.433  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {filter} as a subscriber to the 'cloudBusOutboundFlow.channel#0' channel
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusOutboundFlow.channel#0' has 1 subscriber(s).
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#0
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {filter} as a subscriber to the 'cloudBusInboundChannel' channel
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusInboundChannel' has 1 subscriber(s).
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#1
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {message-handler} as a subscriber to the 'cloudBusInboundFlow.channel#0' channel
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusInboundFlow.channel#0' has 1 subscriber(s).
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#2
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {logging-channel-adapter} as a subscriber to the 'cloudBusWiretapChannel' channel
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusWiretapChannel' has 1 subscriber(s).
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#3
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {amqp:outbound-channel-adapter} as a subscriber to the 'cloudBusOutboundChannel' channel
2015-12-14 18:38:24.434  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusOutboundChannel' has 1 subscriber(s).
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#4
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {bridge} as a subscriber to the 'cloudBusAmqpInboundFlow.channel#0' channel
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusAmqpInboundFlow.channel#0' has 1 subscriber(s).
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#5
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {bridge} as a subscriber to the 'hystrixStreamAggregatorInboundFlow.channel#0' channel
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.hystrixStreamAggregatorInboundFlow.channel#0' has 1 subscriber(s).
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started org.springframework.integration.config.ConsumerEndpointFactoryBean#6
2015-12-14 18:38:24.435  INFO 1242 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 1073741823
2015-12-14 18:38:24.435  INFO 1242 --- [           main] ApplicationEventListeningMessageProducer : started org.springframework.integration.event.inbound.ApplicationEventListeningMessageProducer#0
2015-12-14 18:38:24.604  INFO 1242 --- [cTaskExecutor-1] o.s.amqp.rabbit.core.RabbitAdmin         : Auto-declaring a non-durable, auto-delete, or exclusive Queue (spring.cloud.hystrix.stream) durable:false, auto-delete:false, exclusive:false. It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.
2015-12-14 18:38:24.648  INFO 1242 --- [cTaskExecutor-1] o.s.amqp.rabbit.core.RabbitAdmin         : Auto-declaring a non-durable, auto-delete, or exclusive Queue (c606e395-1cae-4fe2-b5d1-ddf52f91c89e) durable:false, auto-delete:true, exclusive:true. It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.
2015-12-14 18:38:24.648  INFO 1242 --- [cTaskExecutor-1] o.s.amqp.rabbit.core.RabbitAdmin         : Auto-declaring a non-durable, auto-delete, or exclusive Queue (spring.cloud.hystrix.stream) durable:false, auto-delete:false, exclusive:false. It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.
2015-12-14 18:38:24.684  INFO 1242 --- [           main] o.s.i.a.i.AmqpInboundChannelAdapter      : started org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter#0
2015-12-14 18:38:24.699  INFO 1242 --- [           main] o.s.i.a.i.AmqpInboundChannelAdapter      : started org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter#1
2015-12-14 18:38:24.699  INFO 1242 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 2147483647
2015-12-14 18:38:24.779  INFO 1242 --- [           main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/ant-javafx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/dt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/javafx-mx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/jconsole.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/packager.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/sa-jdi.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/lib/tools.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/charsets.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/deploy.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/javaws.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/jce.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/jfr.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/jfxswt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/jsse.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/management-agent.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/plugin.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/resources.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/rt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/cldrdata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/dnsns.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/jfxrt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/localedata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/nashorn.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/sunec.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/ext/zipfs.jar, file:/Users/Dreampie/Projects/DreampieProjects/cloud-server/turbine/build/classes/main/, file:/Users/Dreampie/Projects/DreampieProjects/cloud-server/turbine/build/resources/main/, file:/Users/Dreampie/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.2.3.RELEASE/spring-boot-starter-web-1.2.3.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-undertow/1.2.3.RELEASE/a6253b9bb72c65b188dc17ab4eb61abcbbac6a36/spring-boot-starter-undertow-1.2.3.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-starter-turbine-amqp/1.0.2.RELEASE/8ae98d637b4e688c6f85784300de7de57e1628d9/spring-cloud-starter-turbine-amqp-1.0.2.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-starter-config/1.0.1.RELEASE/bcc87821d2099dbf7cb4c2a48bc1355d666776f4/spring-cloud-starter-config-1.0.1.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/cloud/spring-cloud-starter-bus-amqp/1.0.1.RELEASE/spring-cloud-starter-bus-amqp-1.0.1.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/boot/spring-boot-starter/1.2.3.RELEASE/spring-boot-starter-1.2.3.RELEASE.jar, file:/Users/Dreampie/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.4.5/jackson-databind-2.4.5.jar, file:/Users/Dreampie/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-core/4.1.6.RELEASE/spring-core-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-web/4.1.6.RELEASE/spring-web-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-webmvc/4.1.6.RELEASE/spring-webmvc-4.1.6.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/io.undertow/undertow-core/1.1.3.Final/ad1616ea8d2104d08b92614cbd7a24d8a350302f/undertow-core-1.1.3.Final.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/io.undertow/undertow-servlet/1.1.3.Final/1c02b4c7a1b1282208d1954ce1aa64884f6023ac/undertow-servlet-1.1.3.Final.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/io.undertow/undertow-websockets-jsr/1.1.3.Final/eaecb4acf2fd500b7d3677d1110589d9f79c1a28/undertow-websockets-jsr-1.1.3.Final.jar, file:/Users/Dreampie/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar, file:/Users/Dreampie/.m2/repository/org/glassfish/javax.el/3.0.0/javax.el-3.0.0.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-starter-eureka/1.0.2.RELEASE/d70f3629826616a4d6b8dc591ddbff5e02efe99e/spring-cloud-starter-eureka-1.0.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/cloud/spring-cloud-commons/1.0.1.RELEASE/spring-cloud-commons-1.0.1.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-netflix-turbine-amqp/1.0.2.RELEASE/c5f2c2825ac08577925d9dcb231e0d8ed7267d64/spring-cloud-netflix-turbine-amqp-1.0.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/integration/spring-integration-java-dsl/1.0.0.RELEASE/spring-integration-java-dsl-1.0.0.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/integration/spring-integration-amqp/4.1.2.RELEASE/spring-integration-amqp-4.1.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/integration/spring-integration-event/4.1.2.RELEASE/spring-integration-event-4.1.2.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-amqp/1.2.3.RELEASE/cb416b3ea6d8e2773894b737910e2a90681c6479/spring-boot-starter-amqp-1.2.3.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-integration/1.2.3.RELEASE/7a3967f0bb215299bf8653fcc4b935d1d576bf14/spring-boot-starter-integration-1.2.3.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/com.netflix.turbine/turbine-core/2.0.0-DP.2/247af294a2eb5e30cc9f2bba68ad166f9a188a48/turbine-core-2.0.0-DP.2.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.0.17/1a653d18a3e41fae66a473d172649a0625cff107/rxjava-1.0.17.jar, file:/Users/Dreampie/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.20/tomcat-embed-el-8.0.20.jar, file:/Users/Dreampie/.m2/repository/org/springframework/cloud/spring-cloud-starter/1.0.1.RELEASE/spring-cloud-starter-1.0.1.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/cloud/spring-cloud-config-client/1.0.1.RELEASE/spring-cloud-config-client-1.0.1.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/cloud/spring-cloud-bus/1.0.1.RELEASE/spring-cloud-bus-1.0.1.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/boot/spring-boot/1.2.3.RELEASE/spring-boot-1.2.3.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.2.3.RELEASE/spring-boot-autoconfigure-1.2.3.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.2.3.RELEASE/spring-boot-starter-logging-1.2.3.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar, file:/Users/Dreampie/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.5/jackson-annotations-2.4.5.jar, file:/Users/Dreampie/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.4.5/jackson-core-2.4.5.jar, file:/Users/Dreampie/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/Users/Dreampie/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-aop/4.1.6.RELEASE/spring-aop-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-beans/4.1.6.RELEASE/spring-beans-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-context/4.1.6.RELEASE/spring-context-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-expression/4.1.6.RELEASE/spring-expression-4.1.6.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.jboss.xnio/xnio-api/3.3.0.Final/48bf27cfce579e20f863c96ca05e7f3d46897827/xnio-api-3.3.0.Final.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.jboss.xnio/xnio-nio/3.3.0.Final/ff7b2861703130a2d43608e80e7052b15e05a267/xnio-nio-3.3.0.Final.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.jboss.spec.javax.annotation/jboss-annotations-api_1.2_spec/1.0.0.Final/6d7ff02a645227876ed550900d32d618b8f0d556/jboss-annotations-api_1.2_spec-1.0.0.Final.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.jboss.spec.javax.websocket/jboss-websocket-api_1.1_spec/1.1.0.Final/a89cc6c8f15c06aed6fe81482e168248ad7c76d3/jboss-websocket-api_1.1_spec-1.1.0.Final.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-netflix-core/1.0.2.RELEASE/e9f7436c5bdddd9fdc54c8d2523c4e093f969ed7/spring-cloud-netflix-core-1.0.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/com/netflix/eureka/eureka-client/1.1.147/eureka-client-1.1.147.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.cloud/spring-cloud-starter-ribbon/1.0.2.RELEASE/6cd91aec6133b654cdfc1fe901ed4c3f54420afe/spring-cloud-starter-ribbon-1.0.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/com/netflix/ribbon/ribbon-eureka/2.0.0/ribbon-eureka-2.0.0.jar, file:/Users/Dreampie/.m2/repository/com/thoughtworks/xstream/xstream/1.4.2/xstream-1.4.2.jar, file:/Users/Dreampie/.m2/repository/org/springframework/security/spring-security-crypto/3.2.7.RELEASE/spring-security-crypto-3.2.7.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/integration/spring-integration-core/4.1.2.RELEASE/spring-integration-core-4.1.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/amqp/spring-rabbit/1.4.3.RELEASE/spring-rabbit-1.4.3.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-messaging/4.1.6.RELEASE/spring-messaging-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/spring-tx/4.1.6.RELEASE/spring-tx-4.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/boot/spring-boot-starter-aop/1.2.3.RELEASE/spring-boot-starter-aop-1.2.3.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.integration/spring-integration-file/4.1.2.RELEASE/cdf2cb93cca5ac98e1c464c052dd61517e1e7170/spring-integration-file-4.1.2.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.integration/spring-integration-http/4.1.2.RELEASE/89dd54a646a108e43405853104f4f1a1ab1723d4/spring-integration-http-4.1.2.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.integration/spring-integration-ip/4.1.2.RELEASE/cad3d4b64b19de62d19dee97280c6ccdd72ca7a8/spring-integration-ip-4.1.2.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.springframework.integration/spring-integration-stream/4.1.2.RELEASE/3c01bd36164ef5d044d96fc8cabb90f929b22071/spring-integration-stream-4.1.2.RELEASE.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.8/457ac8fb446301588580604fa877cc56285ff74a/jopt-simple-4.8.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/com.netflix.rxnetty/rx-netty/0.3.18/a95119081e0a1db227f1d9561decb3716da8f6e2/rx-netty-0.3.18.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-mapper-asl/1.9.2/95400a7922ce75383866eb72f6ef4a7897923945/jackson-mapper-asl-1.9.2.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-core-asl/1.9.2/8493982bba1727106d767034bd0d8e77bc1931a9/jackson-core-asl-1.9.2.jar, file:/Users/Dreampie/.m2/repository/org/springframework/cloud/spring-cloud-context/1.0.1.RELEASE/spring-cloud-context-1.0.1.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.11/jcl-over-slf4j-1.7.11.jar, file:/Users/Dreampie/.m2/repository/org/slf4j/jul-to-slf4j/1.7.11/jul-to-slf4j-1.7.11.jar, file:/Users/Dreampie/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.11/log4j-over-slf4j-1.7.11.jar, file:/Users/Dreampie/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar, file:/Users/Dreampie/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/Users/Dreampie/.m2/repository/com/netflix/ribbon/ribbon/2.0.0/ribbon-2.0.0.jar, file:/Users/Dreampie/.m2/repository/com/netflix/ribbon/ribbon-core/2.0.0/ribbon-core-2.0.0.jar, file:/Users/Dreampie/.m2/repository/com/netflix/ribbon/ribbon-httpclient/2.0.0/ribbon-httpclient-2.0.0.jar, file:/Users/Dreampie/.m2/repository/com/netflix/ribbon/ribbon-loadbalancer/2.0.0/ribbon-loadbalancer-2.0.0.jar, file:/Users/Dreampie/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar, file:/Users/Dreampie/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar, file:/Users/Dreampie/.m2/repository/org/codehaus/jettison/jettison/1.2/jettison-1.2.jar, file:/Users/Dreampie/.m2/repository/com/netflix/netflix-commons/netflix-eventbus/0.1.2/netflix-eventbus-0.1.2.jar, file:/Users/Dreampie/.m2/repository/com/netflix/archaius/archaius-core/0.6.5/archaius-core-0.6.5.jar, file:/Users/Dreampie/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar, file:/Users/Dreampie/.m2/repository/com/sun/jersey/jersey-core/1.13/jersey-core-1.13.jar, file:/Users/Dreampie/.m2/repository/com/sun/jersey/jersey-client/1.13/jersey-client-1.13.jar, file:/Users/Dreampie/.m2/repository/com/sun/jersey/contribs/jersey-apache-client4/1.11/jersey-apache-client4-1.11.jar, file:/Users/Dreampie/.m2/repository/org/apache/httpcomponents/httpclient/4.3.6/httpclient-4.3.6.jar, file:/Users/Dreampie/.m2/repository/com/netflix/governator/governator/1.2.10/governator-1.2.10.jar, file:/Users/Dreampie/.m2/repository/org/slf4j/slf4j-api/1.7.11/slf4j-api-1.7.11.jar, file:/Users/Dreampie/.m2/repository/org/projectreactor/reactor-core/1.1.6.RELEASE/reactor-core-1.1.6.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/springframework/retry/spring-retry/1.1.2.RELEASE/spring-retry-1.1.2.RELEASE.jar, file:/Users/Dreampie/.m2/repository/com/rabbitmq/amqp-client/3.4.2/amqp-client-3.4.2.jar, file:/Users/Dreampie/.m2/repository/org/springframework/amqp/spring-amqp/1.4.3.RELEASE/spring-amqp-1.4.3.RELEASE.jar, file:/Users/Dreampie/.m2/repository/org/aspectj/aspectjrt/1.8.5/aspectjrt-1.8.5.jar, file:/Users/Dreampie/.m2/repository/org/aspectj/aspectjweaver/1.8.5/aspectjweaver-1.8.5.jar, file:/Users/Dreampie/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/Users/Dreampie/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar, file:/Users/Dreampie/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar, file:/Users/Dreampie/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar, file:/Users/Dreampie/.m2/repository/commons-configuration/commons-configuration/1.8/commons-configuration-1.8.jar, file:/Users/Dreampie/.m2/repository/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar, file:/Users/Dreampie/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar, file:/Users/Dreampie/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar, file:/Users/Dreampie/.m2/repository/com/netflix/netflix-commons/netflix-commons-util/0.1.1/netflix-commons-util-0.1.1.jar, file:/Users/Dreampie/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar, file:/Users/Dreampie/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar, file:/Users/Dreampie/.m2/repository/com/netflix/ribbon/ribbon-transport/2.0.0/ribbon-transport-2.0.0.jar, file:/Users/Dreampie/.m2/repository/com/netflix/hystrix/hystrix-core/1.4.4/hystrix-core-1.4.4.jar, file:/Users/Dreampie/.m2/repository/io/reactivex/rxnetty/0.4.6/rxnetty-0.4.6.jar, file:/Users/Dreampie/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/Users/Dreampie/.m2/repository/com/netflix/netflix-commons/netflix-statistics/0.1.1/netflix-statistics-0.1.1.jar, file:/Users/Dreampie/.m2/repository/com/goldmansachs/gs-collections/5.1.0/gs-collections-5.1.0.jar, file:/Users/Dreampie/.m2/repository/com/lmax/disruptor/3.2.1/disruptor-3.2.1.jar, file:/Users/Dreampie/.m2/repository/io/gatling/jsr166e/1.0/jsr166e-1.0.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.sonatype.sisu.inject/cglib/2.2.1-v20090111/7ce5e983fd0e6c78346f4c9cbfa39d83049dda2/cglib-2.2.1-v20090111.jar, file:/Users/Dreampie/.m2/repository/io/reactivex/rxnetty-contexts/0.4.6/rxnetty-contexts-0.4.6.jar, file:/Users/Dreampie/.m2/repository/io/reactivex/rxnetty-servo/0.4.6/rxnetty-servo-0.4.6.jar, file:/Users/Dreampie/.m2/repository/com/goldmansachs/gs-collections-api/5.1.0/gs-collections-api-5.1.0.jar, file:/Users/Dreampie/.m2/repository/asm/asm/3.1/asm-3.1.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging/3.1.4.GA/90fdefa08d8ad069b86f4ea6033671970459a078/jboss-logging-3.1.4.GA.jar, file:/Users/Dreampie/.gradle/caches/modules-2/files-2.1/com.netflix.servo/servo-core/0.7.5/53295cd28d868fd3d60ff74a4e521ae83aa28197/servo-core-0.7.5.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-codec-http/4.0.25.Final/netty-codec-http-4.0.25.Final.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-transport-native-epoll/4.0.25.Final/netty-transport-native-epoll-4.0.25.Final.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-codec/4.0.25.Final/netty-codec-4.0.25.Final.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-handler/4.0.25.Final/netty-handler-4.0.25.Final.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-common/4.0.25.Final/netty-common-4.0.25.Final.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-buffer/4.0.25.Final/netty-buffer-4.0.25.Final.jar, file:/Users/Dreampie/.m2/repository/io/netty/netty-transport/4.0.25.Final/netty-transport-4.0.25.Final.jar, file:/Applications/IntelliJ%20IDEA%2015.app/Contents/lib/idea_rt.jar, file:/Users/Dreampie/Library/Caches/IntelliJIdea15/groovyHotSwap/gragent.jar]
2015-12-14 18:38:24.780  INFO 1242 --- [           main] utoConfigurationReportLoggingInitializer : 

Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)


2015-12-14 18:38:25.016 ERROR 1242 --- [           main] o.s.boot.SpringApplication               : Application startup failed

java.lang.RuntimeException: java.net.BindException: Address already in use
    at io.undertow.Undertow.start(Undertow.java:177)
    at org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:82)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
    at cn.dreampie.server.TurbineApplication.main(TurbineApplication.java:13)
Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Net.java:437)
    at sun.nio.ch.Net.bind(Net.java:429)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
    at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:182)
    at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
    at io.undertow.Undertow.start(Undertow.java:140)
    ... 9 common frames omitted

2015-12-14 18:38:25.017  INFO 1242 --- [           main] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@77b21474: startup date [Mon Dec 14 18:38:18 CST 2015]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@5f77d0f9
2015-12-14 18:38:25.021  INFO 1242 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 2147483647
2015-12-14 18:38:25.022  INFO 1242 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 1073741823
2015-12-14 18:38:25.025  INFO 1242 --- [           main] ApplicationEventListeningMessageProducer : stopped org.springframework.integration.event.inbound.ApplicationEventListeningMessageProducer#0
2015-12-14 18:38:25.036  INFO 1242 --- [           main] o.s.a.r.l.SimpleMessageListenerContainer : Waiting for workers to finish.
2015-12-14 18:38:25.698  INFO 1242 --- [           main] o.s.a.r.l.SimpleMessageListenerContainer : Successfully waited for workers to finish.
2015-12-14 18:38:25.699  INFO 1242 --- [           main] o.s.i.a.i.AmqpInboundChannelAdapter      : stopped org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter#0
2015-12-14 18:38:30.925  INFO 1242 --- [           main] o.s.a.r.l.SimpleMessageListenerContainer : Waiting for workers to finish.
2015-12-14 18:38:30.927  INFO 1242 --- [           main] o.s.a.r.l.SimpleMessageListenerContainer : Successfully waited for workers to finish.
2015-12-14 18:38:30.928  INFO 1242 --- [           main] o.s.i.a.i.AmqpInboundChannelAdapter      : stopped org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter#1
2015-12-14 18:38:30.928  INFO 1242 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 0
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {service-activator:hystrixStreamAggregator.handle.serviceActivator} as a subscriber to the 'hystrixStreamAggregator' channel
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.hystrixStreamAggregator' has 0 subscriber(s).
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped hystrixStreamAggregator.handle.serviceActivator
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.channel.PublishSubscribeChannel    : Channel 'turbine.errorChannel' has 0 subscriber(s).
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped _org.springframework.integration.errorLogger
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {filter} as a subscriber to the 'cloudBusOutboundFlow.channel#0' channel
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusOutboundFlow.channel#0' has 0 subscriber(s).
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#0
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {filter} as a subscriber to the 'cloudBusInboundChannel' channel
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusInboundChannel' has 0 subscriber(s).
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#1
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {message-handler} as a subscriber to the 'cloudBusInboundFlow.channel#0' channel
2015-12-14 18:38:30.929  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusInboundFlow.channel#0' has 0 subscriber(s).
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#2
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {logging-channel-adapter} as a subscriber to the 'cloudBusWiretapChannel' channel
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusWiretapChannel' has 0 subscriber(s).
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#3
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {amqp:outbound-channel-adapter} as a subscriber to the 'cloudBusOutboundChannel' channel
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusOutboundChannel' has 0 subscriber(s).
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#4
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {bridge} as a subscriber to the 'cloudBusAmqpInboundFlow.channel#0' channel
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.cloudBusAmqpInboundFlow.channel#0' has 0 subscriber(s).
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#5
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Removing {bridge} as a subscriber to the 'hystrixStreamAggregatorInboundFlow.channel#0' channel
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.integration.channel.DirectChannel    : Channel 'turbine.hystrixStreamAggregatorInboundFlow.channel#0' has 0 subscriber(s).
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : stopped org.springframework.integration.config.ConsumerEndpointFactoryBean#6
2015-12-14 18:38:30.930  INFO 1242 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase -2147483648
2015-12-14 18:38:30.936  INFO 1242 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2015-12-14 18:38:30.937  INFO 1242 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans
Exception in thread "main" java.lang.RuntimeException: java.net.BindException: Address already in use
    at io.undertow.Undertow.start(Undertow.java:177)
    at org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:82)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
    at cn.dreampie.server.TurbineApplication.main(TurbineApplication.java:13)
Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Net.java:437)
    at sun.nio.ch.Net.bind(Net.java:429)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
    at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:182)
    at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
    at io.undertow.Undertow.start(Undertow.java:140)
    ... 9 more
2015-12-14 18:38:30.957  INFO 1242 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'taskScheduler'
Disconnected from the target VM, address: '127.0.0.1:50665', transport: 'socket'
2015-12-14 19:01:02.577  INFO 1242 --- [       Thread-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@5f77d0f9: startup date [Mon Dec 14 18:38:15 CST 2015]; root of context hierarchy

server:
port: 8990
turbine:
stream:
port: 8989

use the above config instead