{"action":"closed","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8/issues/3776","labels_url":"https://api.github.com/repos/fabric8io/fabric8/issues/3776/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8/issues/3776/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8/issues/3776/events","html_url":"https://github.com/fabric8io/fabric8/issues/3776","id":69789259,"number":3776,"title":"ZK error when start jube 2.0.44","user":{"login":"jimma","id":91742,"avatar_url":"https://avatars.githubusercontent.com/u/91742?v=3","gravatar_id":"","url":"https://api.github.com/users/jimma","html_url":"https://github.com/jimma","followers_url":"https://api.github.com/users/jimma/followers","following_url":"https://api.github.com/users/jimma/following{/other_user}","gists_url":"https://api.github.com/users/jimma/gists{/gist_id}","starred_url":"https://api.github.com/users/jimma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimma/subscriptions","organizations_url":"https://api.github.com/users/jimma/orgs","repos_url":"https://api.github.com/users/jimma/repos","events_url":"https://api.github.com/users/jimma/events{/privacy}","received_events_url":"https://api.github.com/users/jimma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fabric8io/fabric8/labels/jube","name":"jube","color":"eb6420"},{"url":"https://api.github.com/repos/fabric8io/fabric8/labels/V2","name":"V2","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-21T09:03:02Z","updated_at":"2015-04-27T17:36:37Z","closed_at":"2015-04-27T17:36:37Z","body":"When start jube 2.0.44 on Fedora 20 with jdk 1.7.0_60, there are bunch of connection refused exception thrown.  I already set env  ZOOKEEPER_URL=localhost:2181 and -Djava.net.preferIPv4Stack=true.  Is this ZK configuration issue in jube ?\r\n```\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:java.io.tmpdir=/tmp\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:java.compiler=<NA>\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:os.name=Linux\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:os.arch=amd64\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:os.version=3.15.8-200.fc20.x86_64\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:user.name=jimma\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:user.home=/home/jimma\r\n2015-04-21 16:47:50,620 [main           ] INFO  ZooKeeper                      - Client environment:user.dir=/home/jimma/code/fabric8v2/jube/jube-2.0.44-image\r\n2015-04-21 16:47:50,621 [main           ] INFO  ZooKeeper                      - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@6697724f\r\n2015-04-21 16:47:50,637 [127.0.0.1:2181)] INFO  ClientCnxn                     - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)\r\n2015-04-21 16:47:50,646 [127.0.0.1:2181)] WARN  ClientCnxn                     - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect\r\njava.net.ConnectException: Connection refused\r\n\tat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[:1.7.0_60]\r\n\tat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)[:1.7.0_60]\r\n\tat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)[zookeeper-3.4.6.jar:3.4.6-1569965]\r\n\tat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)[zookeeper-3.4.6.jar:3.4.6-1569965]\r\nStarting the replicator with poll time: 2000\r\nStarting the process monitor with poll time: 2000\r\nWriting to path: /jube/hostNodes/60a3ae6d-1993-4f80-9e09-47a9c68a21d7 createMode: EPHEMERAL json: {\r\n  \"id\" : \"60a3ae6d-1993-4f80-9e09-47a9c68a21d7\",\r\n  \"hostName\" : \"localhost\",\r\n  \"webUrl\" : \"http://localhost:8585/\"\r\n}\r\n2015-04-21 16:47:51,747 [127.0.0.1:2181)] INFO  ClientCnxn                     - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)\r\n2015-04-21 16:47:51,747 [127.0.0.1:2181)] WARN  ClientCnxn                     - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect\r\njava.net.ConnectException: Connection refused\r\n\tat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[:1.7.0_60]\r\n\tat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)[:1.7.0_60]\r\n\tat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)[zookeeper-3.4.6.jar:3.4.6-1569965]\r\n\tat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)[zookeeper-3.4.6.jar:3.4.6-1569965]\r\n2015-04-21 16:47:52,848 [127.0.0.1:2181)] INFO  ClientCnxn                     - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)\r\n2015-04-21 16:47:52,848 [127.0.0.1:2181)] WARN  ClientCnxn                     - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect\r\njava.net.ConnectException: Connection refused\r\n\tat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[:1.7.0_60]\r\n\tat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)[:1.7.0_60]\r\n\tat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)[zookeeper-3.4.6.jar:3.4.6-1569965]\r\n\tat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)[zookeeper-3.4.6.jar:3.4.6-1569965]\r\n2015-04-21 16:47:53,949 [127.0.0.1:2181)] INFO  ClientCnxn                     - Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)\r\n```\r\n \r\n"}}