zookeeper注册失败

dawang325 2017-05-18 06:13:09
java.lang.IllegalStateException: Failed to unregister dubbo://192.168.120.171:20880/com.bksx.dubbo.remote.TestService?anyhost=true&application=bubbo-provider&dubbo=2.4.10&interface=com.bksx.dubbo.remote.TestService&methods=sayHello&owner=bubbo-provider&pid=4700&side=provider&timeout=10000×tamp=1495101856650 to registry 192.168.120.171:2181, cause: Failed to unregister dubbo://192.168.120.171:20880/com.bksx.dubbo.remote.TestService?anyhost=true&application=bubbo-provider&dubbo=2.4.10&interface=com.bksx.dubbo.remote.TestService&methods=sayHello&owner=bubbo-provider&pid=4700&side=provider&timeout=10000×tamp=1495101856650 to zookeeper zookeeper://192.168.120.171:2181/com.alibaba.dubbo.registry.RegistryService?application=bubbo-provider&client=zkclient&dubbo=2.4.10&interface=com.alibaba.dubbo.registry.RegistryService&owner=bubbo-provider&pid=4700×tamp=1495101856645, cause: null
at com.alibaba.dubbo.registry.support.FailbackRegistry.unregister(FailbackRegistry.java:173) ~[dubbo-2.4.10.jar:2.4.10]
at com.alibaba.dubbo.registry.integration.RegistryProtocol$1.unexport(RegistryProtocol.java:130) ~[dubbo-2.4.10.jar:2.4.10]
at com.alibaba.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:267) [dubbo-2.4.10.jar:2.4.10]
at com.alibaba.dubbo.config.spring.ServiceBean.destroy(ServiceBean.java:255) [dubbo-2.4.10.jar:2.4.10]
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:272) [spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) [spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) [spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) [spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) [spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) [spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1009) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:928) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
Caused by: com.alibaba.dubbo.rpc.RpcException: Failed to unregister dubbo://192.168.120.171:20880/com.bksx.dubbo.remote.TestService?anyhost=true&application=bubbo-provider&dubbo=2.4.10&interface=com.bksx.dubbo.remote.TestService&methods=sayHello&owner=bubbo-provider&pid=4700&side=provider&timeout=10000×tamp=1495101856650 to zookeeper zookeeper://192.168.120.171:2181/com.alibaba.dubbo.registry.RegistryService?application=bubbo-provider&client=zkclient&dubbo=2.4.10&interface=com.alibaba.dubbo.registry.RegistryService&owner=bubbo-provider&pid=4700×tamp=1495101856645, cause: null
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doUnregister(ZookeeperRegistry.java:110) ~[dubbo-2.4.10.jar:2.4.10]
at com.alibaba.dubbo.registry.support.FailbackRegistry.unregister(FailbackRegistry.java:160) ~[dubbo-2.4.10.jar:2.4.10]
... 12 common frames omitted
Caused by: java.lang.NullPointerException: null
at org.I0Itec.zkclient.ZkClient$8.call(ZkClient.java:720) ~[zkclient-0.1.jar:na]
at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:675) ~[zkclient-0.1.jar:na]
at org.I0Itec.zkclient.ZkClient.delete(ZkClient.java:716) ~[zkclient-0.1.jar:na]
at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient.delete(ZkclientZookeeperClient.java:57) ~[dubbo-2.4.10.jar:2.4.10]
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doUnregister(ZookeeperRegistry.java:108) ~[dubbo-2.4.10.jar:2.4.10]
... 13 common frames omitted
...全文
910 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
广益_简放 2017-08-25
  • 打赏
  • 举报
回复
上下文完整的调用栈,贴出来
dawang325 2017-05-18
  • 打赏
  • 举报
回复
自己做个小练习,没想到,那我大神懂,麻烦帮忙看看

50,526

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧