Using BRMS 6 cluster with Helix and Zookeeper it throws "git://0.0.0.0:9418/system: Connection refused" ERROR

Solution Verified - Updated -

Issue

  • While using Helix and Zookeeper with BRMS 6.1.0 the following ERROR message is seen in the server log during server start-up. What could be the root cause behind this issue?
...
INFO  [org.apache.helix.messaging.handling.HelixTask] (pool-11-thread-2) handling task: 4f74509f-c0db-4763-922d-c11cd887fee0 begin, at: 1438972303420
ERROR [org.uberfire.io.impl.AbstractIOService] (pool-11-thread-2) Failed to register filesystem default://system?sync=git%3A%2F%2F0.0.0.0%3A9418%2Fsystem&force with DEFAULT_FS_TYPE. Returning null.: org.uberfire.java.nio.IOException: java.lang.RuntimeException: org.eclipse.jgit.api.errors.TransportException: git://0.0.0.0:9418/system: Connection refused
    at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:656) [uberfire-nio2-jgit-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    at org.uberfire.java.nio.file.FileSystems.getFileSystem(FileSystems.java:66) [uberfire-nio2-api-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    at org.uberfire.io.impl.AbstractIOService.getFileSystem(AbstractIOService.java:214) [uberfire-io-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    at org.uberfire.io.impl.cluster.IOServiceClusterImpl$SyncFileSystemMessageHandler.handleMessage(IOServiceClusterImpl.java:1027) [uberfire-io-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    at org.uberfire.io.impl.cluster.helix.ClusterServiceHelix$MessageHandlerResolverWrapper$1$1.handleMessage(ClusterServiceHelix.java:306) [uberfire-io-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:93) [helix-core-0.6.2-incubating.jar:0.6.2-incubating]
    at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:50) [helix-core-0.6.2-incubating.jar:0.6.2-incubating]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
Caused by: java.lang.RuntimeException: org.eclipse.jgit.api.errors.TransportException: git://0.0.0.0:9418/system: Connection refused
    at org.uberfire.java.nio.fs.jgit.util.JGitUtil.syncRepository(JGitUtil.java:318) [uberfire-nio2-jgit-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:652) [uberfire-nio2-jgit-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    ... 10 more
Caused by: org.eclipse.jgit.api.errors.TransportException: git://0.0.0.0:9418/system: Connection refused
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.uberfire.java.nio.fs.jgit.util.JGitUtil.syncRepository(JGitUtil.java:273) [uberfire-nio2-jgit-0.5.4.Final-redhat-2.jar:0.5.4.Final-redhat-2]
    ... 11 more
Caused by: org.eclipse.jgit.errors.TransportException: git://0.0.0.0:9418/system: Connection refused
    at org.eclipse.jgit.transport.TransportGitAnon.openConnection(TransportGitAnon.java:141) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.eclipse.jgit.transport.TransportGitAnon$TcpFetchConnection.<init>(TransportGitAnon.java:170) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.eclipse.jgit.transport.TransportGitAnon.openFetch(TransportGitAnon.java:111) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
    ... 12 more

INFO  [org.apache.helix.messaging.handling.HelixTask] (pool-11-thread-2) Message 4f74509f-c0db-4763-922d-c11cd887fee0 completed.
INFO  [org.apache.helix.messaging.handling.HelixTaskExecutor] (pool-11-thread-2) message finished: 4f74509f-c0db-4763-922d-c11cd887fee0, took 20
...

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 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