zookeeper超时报错 caught end of stream exception

w137 发布于 2017/06/17 21:11
阅读 3K+
收藏 0

最近在做一个分布式项目 当练练手框架都搭完了在本地测试无问题,但是一上linux BUG就来了,求好心人帮帮忙给看看,万分感谢

1.问题描述

     在myeclipse中做测试 可以连接到zookeeper上,并注册dubbo服务没有任何问题。但是将项目打包成jar在linux上运行就连接不上zookeeper了。

2.客户端报错日至如下:

[root@localhost myservice]# java -jar jtys-sys-service.jar 
2017-06-17 20:34:40,875 INFO [com.alibaba.dubbo.common.logger.LoggerFactory] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
2017-06-17 20:34:41,035 INFO [com.alibaba.dubbo.container.Main] -  [DUBBO] Use container type([spring]) to run dubbo serivce., dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:34:44,208 INFO [com.alibaba.dubbo.config.AbstractConfig] -  [DUBBO] Export dubbo service paic.sys.facade.SysUserFacade to local registry, dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:34:44,208 INFO [com.alibaba.dubbo.config.AbstractConfig] -  [DUBBO] Export dubbo service paic.sys.facade.SysUserFacade to url rest://192.168.60.222:8888/jtys-sys-service/paic.sys.facade.SysUserFacade?accepts=500&anyhost=true&application=jtys-sys-service&dubbo=2.8.4&generic=false&interface=paic.sys.facade.SysUserFacade&methods=getList,getById,insert,generateKey&organization=dubbox&owner=programmer&pid=37642&revision=0.0.1-SNAPSHOT&server=tomcat&side=provider&threads=500&timestamp=1497702883951, dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:34:44,208 INFO [com.alibaba.dubbo.config.AbstractConfig] -  [DUBBO] Register dubbo service paic.sys.facade.SysUserFacade url rest://192.168.60.222:8888/jtys-sys-service/paic.sys.facade.SysUserFacade?accepts=500&anyhost=true&application=jtys-sys-service&dubbo=2.8.4&generic=false&interface=paic.sys.facade.SysUserFacade&methods=getList,getById,insert,generateKey&organization=dubbox&owner=programmer&pid=37642&revision=0.0.1-SNAPSHOT&server=tomcat&side=provider&threads=500&timestamp=1497702883951 to registry registry://192.168.60.11:2181/com.alibaba.dubbo.registry.RegistryService?application=jtys-sys-service&backup=192.168.60.12:2181,192.168.60.13:2181&dubbo=2.8.4&organization=dubbox&owner=programmer&pid=37642&registry=zookeeper&timestamp=1497702883868, dubbo version: 2.8.4, current host: 127.0.0.1
Jun 17, 2017 8:34:45 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8888"]
Jun 17, 2017 8:34:45 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jun 17, 2017 8:34:45 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jun 17, 2017 8:34:45 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.11
Jun 17, 2017 8:34:45 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8888"]
2017-06-17 20:34:45,698 INFO [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry] -  [DUBBO] Load registry store file /root/.dubbo/dubbo-registry-192.168.60.11.cache, data: {paic.sys.facade.SysUserFacade=empty://192.168.122.1/paic.sys.facade.SysUserFacade?application=paic-sys&category=providers&dubbo=2.8.4&interface=paic.sys.facade.SysUserFacade&methods=testget,getUser,postUser,testpost&organization=dubbox&owner=programmer&pid=33099&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1497514133285 empty://192.168.122.1/paic.sys.facade.SysUserFacade?application=paic-sys&category=configurators&dubbo=2.8.4&interface=paic.sys.facade.SysUserFacade&methods=testget,getUser,postUser,testpost&organization=dubbox&owner=programmer&pid=33099&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1497514133285 empty://192.168.122.1/paic.sys.facade.SysUserFacade?application=paic-sys&category=routers&dubbo=2.8.4&interface=paic.sys.facade.SysUserFacade&methods=testget,getUser,postUser,testpost&organization=dubbox&owner=programmer&pid=33099&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1497514133285}, dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:34:45,778 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
2017-06-17 20:34:45,778 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:host.name=localhost
2017-06-17 20:34:45,778 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.version=1.7.0_25
2017-06-17 20:34:45,778 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.vendor=Oracle Corporation
2017-06-17 20:34:45,778 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.home=/usr/java/jdk1.7.0_25/jre
2017-06-17 20:34:45,778 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.class.path=jtys-sys-service.jar
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.library.path=/wls/oracle/instantclient_11_2::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.io.tmpdir=/tmp
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:java.compiler=<NA>
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:os.name=Linux
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:os.arch=amd64
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:os.version=3.10.0-514.el7.x86_64
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:user.name=root
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:user.home=/root
2017-06-17 20:34:45,779 INFO [org.apache.zookeeper.ZooKeeper] - Client environment:user.dir=/wls/myservice
2017-06-17 20:34:45,780 INFO [org.apache.zookeeper.ZooKeeper] - Initiating client connection, connectString=192.168.60.11:2181,192.168.60.12:2181,192.168.60.13:2181 sessionTimeout=60000 watcher=org.I0Itec.zkclient.ZkClient@4036e1ed
2017-06-17 20:34:45,793 INFO [org.I0Itec.zkclient.ZkEventThread] - Starting ZkClient event thread.
2017-06-17 20:34:45,814 INFO [org.I0Itec.zkclient.ZkClient] - Waiting for keeper state SyncConnected
2017-06-17 20:34:50,814 INFO [org.I0Itec.zkclient.ZkEventThread] - Terminate ZkClient event thread.
2017-06-17 20:35:00,859 INFO [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server 192.168.60.13/192.168.60.13:2181. Will not attempt to authenticate using SASL (unknown error)
2017-06-17 20:35:00,862 INFO [org.apache.zookeeper.ClientCnxn] - Socket connection established to 192.168.60.13/192.168.60.13:2181, initiating session
2017-06-17 20:35:00,886 INFO [org.apache.zookeeper.ClientCnxn] - Session establishment complete on server 192.168.60.13/192.168.60.13:2181, sessionid = 0x25cb48d69b80000, negotiated timeout = 800000
2017-06-17 20:35:00,892 INFO [org.apache.zookeeper.ZooKeeper] - Session: 0x25cb48d69b80000 closed
2017-06-17 20:35:00,894 WARN [org.springframework.context.support.ClassPathXmlApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KnowledgeService' defined in URL [jar:file:/wls/myservice/jtys-sys-service.jar!/com/sys/service/KnowledgeService.class]: Initialization of bean failed; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
        at com.alibaba.dubbo.container.spring.SpringContainer.start(SpringContainer.java:50)
        at com.alibaba.dubbo.container.Main.main(Main.java:80)
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
        at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1223)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:125)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:92)
        at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient.<init>(ZkclientZookeeperClient.java:26)
        at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperTransporter.connect(ZkclientZookeeperTransporter.java:10)
        at com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter$Adpative.connect(ZookeeperTransporter$Adpative.java)
        at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.<init>(ZookeeperRegistry.java:69)
        at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistryFactory.createRegistry(ZookeeperRegistryFactory.java:37)
        at com.alibaba.dubbo.registry.support.AbstractRegistryFactory.getRegistry(AbstractRegistryFactory.java:94)
        at com.alibaba.dubbo.registry.RegistryFactory$Adpative.getRegistry(RegistryFactory$Adpative.java)
        at com.alibaba.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:190)
        at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:109)
        at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:53)
        at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:54)
        at com.alibaba.dubbo.rpc.Protocol$Adpative.export(Protocol$Adpative.java)
        at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:489)
        at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:285)
        at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:246)
        at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:145)
        at com.alibaba.dubbo.config.spring.AnnotationBean.postProcessAfterInitialization(AnnotationBean.java:202)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1571)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        ... 12 more
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KnowledgeService' defined in URL [jar:file:/wls/myservice/jtys-sys-service.jar!/com/sys/service/KnowledgeService.class]: Initialization of bean failed; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
        at com.alibaba.dubbo.container.spring.SpringContainer.start(SpringContainer.java:50)
        at com.alibaba.dubbo.container.Main.main(Main.java:80)
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
        at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1223)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:125)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:92)
        at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient.<init>(ZkclientZookeeperClient.java:26)
        at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperTransporter.connect(ZkclientZookeeperTransporter.java:10)
        at com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter$Adpative.connect(ZookeeperTransporter$Adpative.java)
        at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.<init>(ZookeeperRegistry.java:69)
        at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistryFactory.createRegistry(ZookeeperRegistryFactory.java:37)
        at com.alibaba.dubbo.registry.support.AbstractRegistryFactory.getRegistry(AbstractRegistryFactory.java:94)
        at com.alibaba.dubbo.registry.RegistryFactory$Adpative.getRegistry(RegistryFactory$Adpative.java)
        at com.alibaba.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:190)
        at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:109)
        at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:53)
        at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:54)
        at com.alibaba.dubbo.rpc.Protocol$Adpative.export(Protocol$Adpative.java)
        at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:489)
        at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:285)
        at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:246)
        at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:145)
        at com.alibaba.dubbo.config.spring.AnnotationBean.postProcessAfterInitialization(AnnotationBean.java:202)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1571)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        ... 12 more
2017-06-17 20:35:00,897 INFO [org.apache.zookeeper.ClientCnxn] - EventThread shut down
2017-06-17 20:35:00,899 ERROR [com.alibaba.dubbo.container.Main] -  [DUBBO] Error creating bean with name 'KnowledgeService' defined in URL [jar:file:/wls/myservice/jtys-sys-service.jar!/com/sys/service/KnowledgeService.class]: Initialization of bean failed; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000, dubbo version: 2.8.4, current host: 127.0.0.1
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KnowledgeService' defined in URL [jar:file:/wls/myservice/jtys-sys-service.jar!/com/sys/service/KnowledgeService.class]: Initialization of bean failed; nested exception is org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
        at com.alibaba.dubbo.container.spring.SpringContainer.start(SpringContainer.java:50)
        at com.alibaba.dubbo.container.Main.main(Main.java:80)
Caused by: org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 5000
        at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1223)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:155)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:129)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:125)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:92)
        at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient.<init>(ZkclientZookeeperClient.java:26)
        at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperTransporter.connect(ZkclientZookeeperTransporter.java:10)
        at com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter$Adpative.connect(ZookeeperTransporter$Adpative.java)
        at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.<init>(ZookeeperRegistry.java:69)
        at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistryFactory.createRegistry(ZookeeperRegistryFactory.java:37)
        at com.alibaba.dubbo.registry.support.AbstractRegistryFactory.getRegistry(AbstractRegistryFactory.java:94)
        at com.alibaba.dubbo.registry.RegistryFactory$Adpative.getRegistry(RegistryFactory$Adpative.java)
        at com.alibaba.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:190)
        at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:109)
        at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:53)
        at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:54)
        at com.alibaba.dubbo.rpc.Protocol$Adpative.export(Protocol$Adpative.java)
        at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:489)
        at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:285)
        at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:246)
        at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:145)
        at com.alibaba.dubbo.config.spring.AnnotationBean.postProcessAfterInitialization(AnnotationBean.java:202)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1571)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        ... 12 more
2017-06-17 20:35:00,901 INFO [org.logicalcobwebs.proxool.null] - Shutting down 'null' pool immediately [Shutdown Hook]
2017-06-17 20:35:00,902 INFO [com.alibaba.dubbo.config.AbstractConfig] -  [DUBBO] Run shutdown hook now., dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:35:00,902 INFO [com.alibaba.dubbo.registry.support.AbstractRegistryFactory] -  [DUBBO] Close all registries [], dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:35:00,904 INFO [com.alibaba.dubbo.rpc.protocol.rest.RestProtocol] -  [DUBBO] Closing the rest server at 192.168.60.222:8888, dubbo version: 2.8.4, current host: 127.0.0.1
Jun 17, 2017 8:35:00 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-8888"]
2017-06-17 20:35:00,963 INFO [com.alibaba.dubbo.rpc.protocol.rest.RestProtocol] -  [DUBBO] Closing rest clients, dubbo version: 2.8.4, current host: 127.0.0.1
2017-06-17 20:35:00,994 INFO [org.logicalcobwebs.proxool.PrototyperController] - Stopping Prototyper thread
2017-06-17 20:35:00,994 INFO [org.logicalcobwebs.proxool.HouseKeeperController] - Stopping HouseKeeper thread

___________________________________我是分割线______________________________________

3.zookeeper集群日志报错如下:

2017-06-17 19:44:26,482 [myid:0] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@821] - Processing srvr command from /127.0.0.1:48816
2017-06-17 19:44:26,487 [myid:0] - INFO  [Thread-2:NIOServerCnxn@1001] - Closed socket connection for client /127.0.0.1:48816 (no session established for client)
2017-06-17 19:44:40,568 [myid:0] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /192.168.60.222:50318
2017-06-17 19:44:40,570 [myid:0] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@349] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
        at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
        at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
        at java.lang.Thread.run(Thread.java:724)
2017-06-17 19:44:40,571 [myid:0] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for client /192.168.60.222:50318 (no session established for client)

 

加载中
返回顶部
顶部