Fabric Join is Giving Connection Loss Exception

Solution Verified - Updated -

Issue

  • We are ready with individual Standalone servers with JbossFuse 6.1.0 Installed (3 environment cluster), While executing fabric:join --zookeeper-password ******** --resolver localip *.*.*.* prod-node1 we are getting the below Connection loss exception.,
  • While Joining the fabric Container, Found KB Document which is unverified. Need Support Urgently.
2016-06-02 09:17:52,356 | INFO  | Thread-14575     | CuratorFrameworkImpl             | mework.imps.CuratorFrameworkImpl  222 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Starting
2016-06-02 09:17:52,356 | INFO  | Thread-14575     | ZooKeeper                        | org.apache.zookeeper.ZooKeeper    438 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Initiating client connection, connectString=*.*.*.* sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@4219e5fc
2016-06-02 09:19:54,052 | WARN  | Thread-14575     | ConnectionState                  | g.apache.curator.ConnectionState  185 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Connection attempt unsuccessful after 121696 (greater than max timeout of 60000). Resetting connection and trying again with a new connection.
2016-06-02 09:20:04,238 | INFO  | Thread-14575     | ZooKeeper                        | org.apache.zookeeper.ZooKeeper    684 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Session: 0x0 closed
2016-06-02 09:20:04,238 | INFO  | Thread-14575     | ZooKeeper                        | org.apache.zookeeper.ZooKeeper    438 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Initiating client connection, connectString=*.*.*.* sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@4219e5fc
2016-06-02 09:21:27,230 | WARN  | Thread-14575     | ConnectionState                  | g.apache.curator.ConnectionState  185 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Connection attempt unsuccessful after 93178 (greater than max timeout of 60000). Resetting connection and trying again with a new connection.
2016-06-02 09:21:31,848 | INFO  | Thread-14575     | ZooKeeper                        | org.apache.zookeeper.ZooKeeper    684 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Session: 0x0 closed
2016-06-02 09:21:31,848 | INFO  | Thread-14575     | ZooKeeper                        | org.apache.zookeeper.ZooKeeper    438 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Initiating client connection, connectString=*.*.*.* sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@4219e5fc
2016-06-02 09:22:15,138 | INFO  | Thread-14575     | ZooKeeper                        | org.apache.zookeeper.ZooKeeper    684 | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-379 | Session: 0x0 closed
2016-06-02 09:22:15,138 | INFO  | Thread-14575     | Console                          | araf.shell.console.jline.Console  220 | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-610379 | Exception caught while executing command
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /fabric/registry/containers/config/esb-prod-node1
    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:1041)
    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:259)
    at io.fabric8.boot.commands.JoinAction.registerContainer(JoinAction.java:199)
    at io.fabric8.boot.commands.JoinAction.doExecute(JoinAction.java:157)
    at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
    at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
    at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
    at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
    at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
    at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
    at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
    at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
    at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
    at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)
    at java.lang.Thread.run(Unknown Source)[:1.7.0_67]
    at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:158)[49:org.apache.karaf.shell.ssh:2.3.0.redhat-610379]
    at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:149)
    at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_67]
    at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[27:org.apache.karaf.jaas.modules:2.3.0.redhat-610379]
    at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:147)[49:org.apache.karaf.shell.ssh:2.3.0.redhat-610379]

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content