Dubbo 的provider启动时bboShutdownHook自动关闭

/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61598,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=61597 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/tools.jar:/Users/5yl/dubbo-springboot/springboot-dubbo-server/target/classes:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot-starter/1.5.9.RELEASE/spring-boot-starter-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot/1.5.9.RELEASE/spring-boot-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.5.9.RELEASE/spring-boot-autoconfigure-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.5.9.RELEASE/spring-boot-starter-logging-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/Users/5yl/.m2/repository/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:/Users/5yl/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/5yl/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Users/5yl/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/5yl/.m2/repository/org/springframework/spring-core/4.3.13.RELEASE/spring-core-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/Users/5yl/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/5yl/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/5yl/.m2/repository/com/alibaba/dubbo/2.5.8/dubbo-2.5.8.jar:/Users/5yl/.m2/repository/org/springframework/spring-context/4.3.13.RELEASE/spring-context-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-aop/4.3.13.RELEASE/spring-aop-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-expression/4.3.13.RELEASE/spring-expression-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-beans/4.3.13.RELEASE/spring-beans-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-web/4.3.13.RELEASE/spring-web-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar:/Users/5yl/.m2/repository/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final.jar:/Users/5yl/.m2/repository/com/101tec/zkclient/0.10/zkclient-0.10.jar:/Users/5yl/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/5yl/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/5yl/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/Users/5yl/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/5yl/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" com.yulam.springbootdubboserver.SpringbootDubboServerApplication
Connected to the target VM, address: '127.0.0.1:61598', transport: 'socket'

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

2018-01-24 14:32:41.298  INFO 43603 --- [           main] c.y.s.SpringbootDubboServerApplication   : Starting SpringbootDubboServerApplication on 5YL-Pro.local with PID 43603 (/Users/5yl/dubbo-springboot/springboot-dubbo-server/target/classes started by 5yl in /Users/5yl/dubbo-springboot)
2018-01-24 14:32:41.303  INFO 43603 --- [           main] c.y.s.SpringbootDubboServerApplication   : No active profile set, falling back to default profiles: default
2018-01-24 14:32:41.347  INFO 43603 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4066c471: startup date [Wed Jan 24 14:32:41 CST 2018]; root of context hierarchy
2018-01-24 14:32:41.573  INFO 43603 --- [           main] c.a.dubbo.common.logger.LoggerFactory    : using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
2018-01-24 14:32:41.576  INFO 43603 --- [           main] b.f.a.ServiceAnnotationBeanPostProcessor :  [DUBBO] BeanNameGenerator bean can't be found in BeanFactory with name [org.springframework.context.annotation.internalConfigurationBeanNameGenerator], dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:41.576  INFO 43603 --- [           main] b.f.a.ServiceAnnotationBeanPostProcessor :  [DUBBO] BeanNameGenerator will be a instance of org.springframework.context.annotation.AnnotationBeanNameGenerator , it maybe a potential problem on bean name generation., dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:41.581  INFO 43603 --- [           main] b.f.a.ServiceAnnotationBeanPostProcessor :  [DUBBO] 1 annotated Dubbo's @Service Components { [Bean definition with name 'annotationServiceImpl': Generic bean: class [com.yulam.springbootdubboserver.serviceimpl.AnnotationServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/Users/5yl/dubbo-springboot/springboot-dubbo-server/target/classes/com/yulam/springbootdubboserver/serviceimpl/AnnotationServiceImpl.class]] } were scanned under package[com.yulam.springbootdubboserver.serviceimpl], dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:41.977  INFO 43603 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-01-24 14:32:41.984  INFO 43603 --- [           main] com.alibaba.dubbo.config.AbstractConfig  :  [DUBBO] The service ready on spring started. service: com.yulam.springbootdubboserver.service.AnnotationService, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.073  INFO 43603 --- [           main] com.alibaba.dubbo.config.AbstractConfig  :  [DUBBO] Export dubbo service com.yulam.springbootdubboserver.service.AnnotationService to local registry, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.074  INFO 43603 --- [           main] com.alibaba.dubbo.config.AbstractConfig  :  [DUBBO] Export dubbo service com.yulam.springbootdubboserver.service.AnnotationService to url dubbo://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&bind.ip=10.30.4.224&bind.port=20880&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.074  INFO 43603 --- [           main] com.alibaba.dubbo.config.AbstractConfig  :  [DUBBO] Register dubbo service com.yulam.springbootdubboserver.service.AnnotationService url dubbo://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&bind.ip=10.30.4.224&bind.port=20880&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007 to registry registry://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=provider-test&client=zkclient&dubbo=2.5.8&pid=43603&registry=zookeeper×tamp=1516775561987, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.156  INFO 43603 --- [           main] c.a.d.remoting.transport.AbstractServer  :  [DUBBO] Start NettyServer bind /0.0.0.0:20880, export /10.30.4.224:20880, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.166  INFO 43603 --- [           main] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Load registry store file /Users/5yl/.dubbo/dubbo-registry-provider-test-127.0.0.1:2181.cache, data: {com.yulam.springbootdubboserver.service.AnnotationService=empty://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&category=configurators&check=false&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43585&side=provider&timeout=5000×tamp=1516775216803}, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.192  INFO 43603 --- [           main] c.a.d.common.concurrent.ExecutionList    :  [DUBBO] Executor for listenablefuture is null, will use default executor!, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:52.195  INFO 43603 --- [-127.0.0.1:2181] org.I0Itec.zkclient.ZkEventThread        : Starting ZkClient event thread.
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:host.name=10.30.4.224
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.version=1.8.0_144
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.vendor=Oracle Corporation
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.class.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/tools.jar:/Users/5yl/dubbo-springboot/springboot-dubbo-server/target/classes:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot-starter/1.5.9.RELEASE/spring-boot-starter-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot/1.5.9.RELEASE/spring-boot-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.5.9.RELEASE/spring-boot-autoconfigure-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.5.9.RELEASE/spring-boot-starter-logging-1.5.9.RELEASE.jar:/Users/5yl/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/Users/5yl/.m2/repository/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:/Users/5yl/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar:/Users/5yl/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Users/5yl/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar:/Users/5yl/.m2/repository/org/springframework/spring-core/4.3.13.RELEASE/spring-core-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar:/Users/5yl/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/5yl/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/5yl/.m2/repository/com/alibaba/dubbo/2.5.8/dubbo-2.5.8.jar:/Users/5yl/.m2/repository/org/springframework/spring-context/4.3.13.RELEASE/spring-context-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-aop/4.3.13.RELEASE/spring-aop-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-expression/4.3.13.RELEASE/spring-expression-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-beans/4.3.13.RELEASE/spring-beans-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/springframework/spring-web/4.3.13.RELEASE/spring-web-4.3.13.RELEASE.jar:/Users/5yl/.m2/repository/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar:/Users/5yl/.m2/repository/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final.jar:/Users/5yl/.m2/repository/com/101tec/zkclient/0.10/zkclient-0.10.jar:/Users/5yl/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Users/5yl/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/5yl/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/Users/5yl/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/5yl/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.library.path=/Users/5yl/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.io.tmpdir=/var/folders/xd/cp2f7bzs2qsbp4jbhnsww4sc0000gn/T/
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:java.compiler=<NA>
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:os.name=Mac OS X
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:os.arch=x86_64
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:os.version=10.12.6
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:user.name=5yl
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:user.home=/Users/5yl
2018-01-24 14:32:57.207  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Client environment:user.dir=/Users/5yl/dubbo-springboot
2018-01-24 14:32:57.211  INFO 43603 --- [clientConnector] org.apache.zookeeper.ZooKeeper           : Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=30000 watcher=org.I0Itec.zkclient.ZkClient@3937e6cd
2018-01-24 14:32:57.219  INFO 43603 --- [clientConnector] org.I0Itec.zkclient.ZkClient             : Waiting for keeper state SyncConnected
2018-01-24 14:32:57.223  INFO 43603 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2018-01-24 14:32:57.227  INFO 43603 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Socket connection established to 127.0.0.1/127.0.0.1:2181, initiating session
2018-01-24 14:32:57.273  INFO 43603 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn          : Session establishment complete on server 127.0.0.1/127.0.0.1:2181, sessionid = 0x16126d886180001, negotiated timeout = 30000
2018-01-24 14:32:57.275  INFO 43603 --- [tor-EventThread] org.I0Itec.zkclient.ZkClient             : zookeeper state changed (SyncConnected)
2018-01-24 14:32:57.277  INFO 43603 --- [           main] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Register: dubbo://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.289  INFO 43603 --- [           main] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Subscribe: provider://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&category=configurators&check=false&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.300  INFO 43603 --- [           main] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Notify urls for subscribe url provider://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&category=configurators&check=false&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007, urls: [empty://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&category=configurators&check=false&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007], dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.321  INFO 43603 --- [           main] c.y.s.SpringbootDubboServerApplication   : Started SpringbootDubboServerApplication in 26.295 seconds (JVM running for 36.949)
2018-01-24 14:32:57.322  INFO 43603 --- [bboShutdownHook] com.alibaba.dubbo.config.AbstractConfig  :  [DUBBO] Run shutdown hook now., dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.322  INFO 43603 --- [       Thread-4] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4066c471: startup date [Wed Jan 24 14:32:41 CST 2018]; root of context hierarchy
2018-01-24 14:32:57.322  INFO 43603 --- [bboShutdownHook] c.a.d.r.support.AbstractRegistryFactory  :  [DUBBO] Close all registries [zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=provider-test&client=zkclient&dubbo=2.5.8&interface=com.alibaba.dubbo.registry.RegistryService&pid=43603×tamp=1516775561987], dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.322  INFO 43603 --- [bboShutdownHook] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Destroy registry:zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=provider-test&client=zkclient&dubbo=2.5.8&interface=com.alibaba.dubbo.registry.RegistryService&pid=43603×tamp=1516775561987, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.322  INFO 43603 --- [bboShutdownHook] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Destroy unregister url dubbo://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.323  INFO 43603 --- [bboShutdownHook] c.a.d.r.zookeeper.ZookeeperRegistry      :  [DUBBO] Destroy unsubscribe url provider://10.30.4.224:20880/com.yulam.springbootdubboserver.service.AnnotationService?anyhost=true&application=provider-test&category=configurators&check=false&dubbo=2.5.8&generic=false&interface=com.yulam.springbootdubboserver.service.AnnotationService&methods=sayHello&pid=43603&side=provider&timeout=5000×tamp=1516775567007, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.323  INFO 43603 --- [-127.0.0.1:2181] org.I0Itec.zkclient.ZkEventThread        : Terminate ZkClient event thread.
2018-01-24 14:32:57.324  INFO 43603 --- [       Thread-4] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2018-01-24 14:32:57.324  INFO 43603 --- [       Thread-4] f.a.ReferenceAnnotationBeanPostProcessor : class com.alibaba.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!
2018-01-24 14:32:57.324  INFO 43603 --- [bboShutdownHook] org.apache.zookeeper.ZooKeeper           : Session: 0x16126d886180001 closed
2018-01-24 14:32:57.325  INFO 43603 --- [bboShutdownHook] c.a.d.rpc.protocol.dubbo.DubboProtocol   :  [DUBBO] Close dubbo server: /10.30.4.224:20880, dubbo version: 2.5.8, current host: 127.0.0.1
2018-01-24 14:32:57.325  INFO 43603 --- [tor-EventThread] org.apache.zookeeper.ClientCnxn          : EventThread shut down
Disconnected from the target VM, address: '127.0.0.1:61598', transport: 'socket'
2018-01-24 14:32:57.326  INFO 43603 --- [bboShutdownHook] c.a.d.remoting.transport.AbstractServer  :  [DUBBO] Close NettyServer bind /0.0.0.0:20880, export /10.30.4.224:20880, dubbo version: 2.5.8, current host: 127.0.0.1

Process finished with exit code 0
 这是在初学的时候遇到的问题。后来看了才发现,其实是因为自己的provider这一整个项目本来有问题,和dubbo本身没关系。要先确保项目本身是可以启动的才行,不然很难看出问题。
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值