### my Env: - window 10 - jdk 1.8.x - test module *dubbo-registry-zookeeper-samples* - closed firewall - zkcli can get data - zk address is 127.0.0.1:2181 ### steps 1. i run provider service and success, as follow ~~~java 2019-09-29 10:53:24.677 INFO 6644 --- [ SyncThread:0] o.a.zookeeper.server.ZooKeeperServer : Established session 0x100e22482340000 with negotiated timeout 60000 for client /127.0.0.1:6106 2019-09-29 10:53:24.677 INFO 6644 --- [127.0.0.1:2181)] org.apache.zookeeper.ClientCnxn : Session establishment complete on server 127.0.0.1/127.0.0.1:2181, sessionid = 0x100e22482340000, negotiated timeout = 60000 2019-09-29 10:53:24.684 INFO 6644 --- [ain-EventThread] o.a.c.f.state.ConnectionStateManager : State change: CONNECTED 2019-09-29 10:53:25.401 INFO 6644 --- [ main] .DubboRegistryZooKeeperProviderBootstrap : Started DubboRegistryZooKeeperProviderBootstrap in 2.431 seconds (JVM running for 3.013) 2019-09-29 10:53:25.405 INFO 6644 --- [pool-1-thread-1] .b.c.e.AwaitingNonWebApplicationListener : [Dubbo] Current Spring Boot Application is await... ~~~
2. when i run consumer,i get the Error: ~~~java org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dubboRegistryZooKeeperConsumerBootstrap': Injection of @org.apache.dubbo.config.annotation.Reference dependencies is failed; nested exception is java.lang.UnsupportedOperationException ~~~ 3. In provider console,I get these messages ~~~java 2019-09-29 10:54:06.757 INFO 6644 --- [.0/0.0.0.0:2181] o.a.z.server.NIOServerCnxnFactory : Accepted socket connection from /127.0.0.1:6141 2019-09-29 10:54:06.760 INFO 6644 --- [.0/0.0.0.0:2181] o.a.zookeeper.server.ZooKeeperServer : Client attempting to establish new session at /127.0.0.1:6141 2019-09-29 10:54:06.764 INFO 6644 --- [ SyncThread:0] o.a.zookeeper.server.ZooKeeperServer : Established session 0x100e22482340001 with negotiated timeout 60000 for client /127.0.0.1:6141 2019-09-29 10:54:07.224 WARN 6644 --- [.0/0.0.0.0:2181] o.apache.zookeeper.server.NIOServerCnxn : Exception causing close of session 0x100e22482340001: 远程主机强迫关闭了一个现有的连接。 2019-09-29 10:54:07.224 INFO 6644 --- [.0/0.0.0.0:2181] o.apache.zookeeper.server.NIOServerCnxn : Closed socket connection for client /127.0.0.1:6141 which had sessionid 0x100e22482340001 2019-09-29 10:55:07.877 INFO 6644 --- [ SessionTracker] o.a.zookeeper.server.ZooKeeperServer : Expiring session 0x100e22482340001, timeout of 60000ms exceeded 2019-09-29 10:55:07.877 INFO 6644 --- [:0 cport:2181):] o.a.z.server.PrepRequestProcessor : Processed session termination for sessionid: 0x100e22482340001 ~~~ Maybe my environment is not configured correctly Can someone helps me [ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/609 ] This message was relayed via gitbox.apache.org for [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
