Joining Fabrics, receiving the error message- org.apache.zookeeper.KeeperException$ConnectionLossException

Solution Verified - Updated -

Issue

  • When Joining Fabrics, we are getting the below error
2016-02-09 18:57:39,098 | WARN  | Thread-91        | ConnectionState                  | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Connection attempt unsuccessful after 61275 (greater than max timeout of 60000). Resetting connection and trying again with a new connection.
2016-02-09 18:57:39,773 | INFO  | Thread-91        | ZooKeeper                        | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Session: 0x0 closed
2016-02-09 18:57:39,777 | INFO  | Thread-91        | ZooKeeper                        | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Initiating client connection, connectString=IP sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@15feec70
2016-02-09 18:57:40,982 | INFO  | Thread-91        | ZooKeeper                        | 145 - io.fabric8.fabric-zookeeper - 1.2.0.redhat-621084 | Session: 0x0 closed
2016-02-09 18:57:40,986 | ERROR | Thread-91        | Console                          | 38 - org.apache.karaf.shell.console - 2.4.0.redhat-621084 | Exception caught while executing command
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /fabric/registry/containers/config/pt_s2bv4_gg_01
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
        at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:172)
        at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:161)
        at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
        at org.apache.curator.framework.imps.ExistsBuilderImpl.pathInForeground(ExistsBuilderImpl.java:157)
        at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:148)
        at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:36)
        at io.fabric8.zookeeper.utils.ZooKeeperUtils.exists(ZooKeeperUtils.java:277)
        at io.fabric8.boot.commands.JoinAction.registerContainer(JoinAction.java:241)
        at io.fabric8.boot.commands.JoinAction.doExecute(JoinAction.java:193)
        at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_79]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_79]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_79]
        at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_79]
        at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
        at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
        at io.fabric8.boot.commands.$JoinCommand1584937434.execute(Unknown Source)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)
        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:173)[122:org.apache.karaf.shell.ssh:2.4.0.redhat-621084]
        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:125)
        at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_79]
        at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[25:org.apache.karaf.jaas.modules:2.4.0.redhat-621084]
        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:123)[122:org.apache.karaf.shell.ssh:2.4.0.redhat-621084]

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.