2012-03-02 12:00:18,258 - INFO  [main:TestPubSubServerStartup@86][] - Zookeeper server up and running!
2012-03-02 12:00:18,258 - INFO  [main:ZooKeeper@433][] - Initiating client connection, connectString=127.0.0.1 sessionTimeout=2181 watcher=null
2012-03-02 12:00:18,259 - INFO  [main-SendThread():ClientCnxn$SendThread@933][] - Opening socket connection to server /127.0.0.1:2181
2012-03-02 12:00:18,259 - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@213][] - Accepted socket connection from /127.0.0.1:55558
2012-03-02 12:00:18,259 - INFO  [main-SendThread(localhost:2181):ClientCnxn$SendThread@846][] - Socket connection established to localhost/127.0.0.1:2181, initiating session
2012-03-02 12:00:18,259 - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@830][] - Client attempting to establish new session at /127.0.0.1:55558
2012-03-02 12:00:18,260 - INFO  [SyncThread:0:FileTxnLog@200][] - Creating new log file: log.1
2012-03-02 12:00:18,260 - INFO  [SyncThread:0:ZooKeeperServer@596][] - Established session 0x135d4ffa5470000 with negotiated timeout 4362 for client /127.0.0.1:55558
2012-03-02 12:00:18,260 - INFO  [main-SendThread(localhost:2181):ClientCnxn$SendThread@1181][] - Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x135d4ffa5470000, negotiated timeout = 4362
2012-03-02 12:00:18,261 - ERROR [main-EventThread:ClientCnxn$EventThread@523][] - Error while calling watcher 
java.lang.NullPointerException
	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:521)
	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:497)
2012-03-02 12:00:18,261 - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@466][] - Processed session termination for sessionid: 0x135d4ffa5470000
2012-03-02 12:00:18,262 - INFO  [main:ZooKeeper@679][] - Session: 0x135d4ffa5470000 closed
2012-03-02 12:00:18,262 - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1000][] - Closed socket connection for client /127.0.0.1:55558 which had sessionid 0x135d4ffa5470000
2012-03-02 12:00:18,262 - INFO  [main-EventThread:ClientCnxn$EventThread@511][] - EventThread shut down
2012-03-02 12:00:18,262 - INFO  [main:TestPubSubServerStartup@97][] - starting hedwig broker!
2012-03-02 12:00:18,263 - INFO  [Thread-2860:ZooKeeper@433][] - Initiating client connection, connectString=localhost sessionTimeout=2000 watcher=org.apache.hedwig.server.netty.PubSubServer$1@1cf4af1e
2012-03-02 12:00:18,263 - INFO  [Thread-2860-SendThread():ClientCnxn$SendThread@933][] - Opening socket connection to server /fe80:0:0:0:0:0:0:1%1:2181
2012-03-02 12:00:18,478 - INFO  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:33221
2012-03-02 12:00:18,479 - WARN  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@1063][] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:19,351 - INFO  [main-SendThread(localhost:11292):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:11292
2012-03-02 12:00:19,351 - WARN  [main-SendThread(localhost:11292):ClientCnxn$SendThread@1063][] - Session 0x135d4ffa2eb0005 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:19,581 - INFO  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:33221
2012-03-02 12:00:19,581 - WARN  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@1063][] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:20,659 - INFO  [main-SendThread(localhost:11292):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:11292
2012-03-02 12:00:20,659 - WARN  [main-SendThread(localhost:11292):ClientCnxn$SendThread@1063][] - Session 0x135d4ffa2eb0005 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:20,682 - INFO  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:33221
2012-03-02 12:00:20,682 - WARN  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@1063][] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:21,001 - INFO  [SessionTracker:SessionTrackerImpl@162][] - SessionTrackerImpl exited loop!
2012-03-02 12:00:21,784 - INFO  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:33221
2012-03-02 12:00:21,785 - WARN  [New I/O server worker #257-1-SendThread(localhost:33221):ClientCnxn$SendThread@1063][] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:21,980 - INFO  [main-SendThread(localhost:11292):ClientCnxn$SendThread@933][] - Opening socket connection to server localhost/127.0.0.1:11292
2012-03-02 12:00:21,980 - WARN  [main-SendThread(localhost:11292):ClientCnxn$SendThread@1063][] - Session 0x135d4ffa2eb0005 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
2012-03-02 12:00:22,264 - ERROR [Thread-2860:PubSubServer@164][] - Could not establish connection with ZooKeeper after zk_timeout*2 = 4000 ms. (Default value for zk_timeout is 2000).