Dubbo Registration Center Zookeeper exception occurred

Source: Internet
Author: User
Tags zookeeper

Linux, zookeeper installed and started up

When demo, the Java console appears:

INFO 2014-03-06 09:48:41,276 (clientcnxn.java:966)-Opening socket connection to server 10.70.42.99/10.70.42.99:2181. Will isn't attempt to authenticate using SASL (Unable to locate login configuration)
 WARN 2014-03-06 09:49:02,320 (clientcnxn.java:1089)-Session 0 X0 for server null, unexpected error, closing socket connection and attempting reconnect
Java.net.ConnectException:Co Nnection timed Out:no Further information at
	Sun.nio.ch.SocketChannelImpl.checkConnect (Native Method)
	at Sun.nio.ch.SocketChannelImpl.finishConnect (socketchannelimpl.java:574) at
	Org.apache.zookeeper.ClientCnxnSocketNIO.doTransport (clientcnxnsocketnio.java:350) at
	Org.apache.zookeeper.clientcnxn$sendthread.run (clientcnxn.java:1068)


Zookeeper Console Log

2014-03-05 17:59:32,173 [myID:]-INFO [nioservercxn.factory:0.0.0.0/0.0.0.0:2181:nioservercnxn@1001]-Closed socket Connection for client/10.70.41.42:44726 (no session established for client) 2014-03-06 09:59:54,754 [myID:]-INFO [NIOS
ERVERCXN.FACTORY:0.0.0.0/0.0.0.0:2181:NIOSERVERCNXNFACTORY@197]-Accepted socket connection from/127.0.0.1:39106 2014-03-06 09:59:54,783 [myID:]-INFO [nioservercxn.factory:0.0.0.0/0.0.0.0:2181:zookeeperserver@839]-Client Attempting to establish new session at/127.0.0.1:39106 2014-03-06 09:59:54,835 [myID:]-INFO [Syncthread:0:zookeeperser VER@595]-established session 0x14491611e2f0002 with negotiated timeout 30000 for client/127.0.0.1:39106 2014-03-06 10:0 0:47,193 [myID:]-WARN [nioservercxn.factory:0.0.0.0/0.0.0.0:2181:nioservercnxn@349]-caught end of stream exception En Dofstreamexception:unable to read additional data from client SessionID 0x14491611e2f0002, likely client had closed Socke T 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:736) 2014-03-06 10:00:47,195 [myID:]-INFO [N IOSERVERCXN.FACTORY:0.0.0.0/0.0.0.0:2181:NIOSERVERCNXN@1001]-Closed socket connection for client/127.0.0.1:39106 which had SessionID 0x14491611e2f0002 2014-03-06 10:01:16,015 [myID:]-INFO [sessiontracker:zookeeperserver@325]-Expir ing session 0x14491611e2f0002, timeout of 30000ms exceeded 2014-03-06 10:01:16,016 [myID:]-INFO [ProcessThread (sid:0 CP ort:-1)::P reprequestprocessor@476]-processed session termination for SESSIONID:0X14491611E2F0002


The JVM uses the socket proxy and does not know whether it is related to the agent, and the installation is not the root user's

It's not settled, just record it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.