Trying to use Standalone-HA in cluster mode , Zookeeper and Helix , jbpm-console fails to deploy
sanjay05222 Nov 11, 2015 7:51 PMHi Guys
I am using following strategy.
1. Jboss 7.1.1.FInal
2. jbmp-console 6.2.0.final
3. zookeeper
4. helix
On same Machine which two different sets of ports.
Server Settings are as below
Node One
<property name="org.quartz.properties" value="E:/Dev-Home/cluster-ha/jboss-as-7.1.1.Final-Node-One/standalone/configuration/org.quartz-standalone.properties"/>
<property name="org.uberfire.nio.git.dir" value="E:/Dev-Home/cluster-ha/jboss-as-7.1.1.Final-Node-One"/>
<property name="org.uberfire.metadata.index.dir" value="E:/Dev-Home/cluster-ha/jboss-as-7.1.1.Final-Node-One"/>
<property name="jboss.node.name" value="nodeOne"/>
<property name="org.uberfire.nio.git.daemon.port" value="10419"/>
<property name="org.uberfire.cluster.autostart" value="false"/>
<property name="org.kie.demo" value="false"/>
<property name="org.kie.example" value="false"/>
<property name="org.uberfire.nio.git.daemon.enabled" value="false"/>
<property name="org.uberfire.nio.git.ssh.enabled" value="false"/>
<property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
<property name="org.uberfire.cluster.zk" value="127.0.0.1:55181"/>
<property name="org.uberfire.cluster.local.id" value="nodeOne_12345"/>
<property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
Node Two
<property name="org.quartz.properties" value="E:/Dev-Home/cluster-ha/jboss-as-7.1.1.Final-Node-Two/standalone/configuration/org.quartz-standalone.properties"/>
<property name="org.uberfire.nio.git.dir" value="E:/Dev-Home/cluster-ha/jboss-as-7.1.1.Final-Node-Two"/>
<property name="org.uberfire.metadata.index.dir" value="E:/Dev-Home/cluster-ha/jboss-as-7.1.1.Final-Node-Two"/>
<property name="jboss.node.name" value="nodeTwo"/>
<property name="org.uberfire.nio.git.daemon.port" value="10418"/>
<property name="org.uberfire.cluster.autostart" value="false"/>
<property name="org.kie.demo" value="false"/>
<property name="org.kie.example" value="false"/>
<!--
<property name="org.kie.nio.git.daemon.enabled" value="false"/>
-->
<property name="org.uberfire.nio.git.daemon.enabled" value="false"/>
<property name="org.uberfire.nio.git.ssh.enabled" value="false"/>
<property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
<property name="org.uberfire.cluster.zk" value="127.0.0.1:55181"/>
<property name="org.uberfire.cluster.local.id" value="nodeTwo_12346"/>
<property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
What is the problem ?
In one node the jbpm-console war gets deploys successfully while in the other it does not get deployed.
What is the error ?
Error which I can see is as below .
16:31:17,272 INFO [org.apache.helix.messaging.handling.HelixTask] (pool-35-thread-2) handling task: 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7 begin, at: 1447288277272
16:31:17,274 INFO [org.apache.helix.messaging.handling.AsyncCallbackService] (pool-35-thread-2) Verified reply message 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7 correlation:adeb0864-e8b7-467b-8470-9f29834628e7
16:31:17,277 INFO [org.apache.helix.messaging.handling.AsyncCallbackService] (pool-35-thread-2) invoking reply message 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7, correlationid:adeb0864-e8b7-467b-8470-9f29834628e7
16:31:17,279 INFO [org.apache.helix.messaging.AsyncCallback] (pool-35-thread-2) OnReply msg 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7
16:31:17,282 INFO [org.apache.helix.messaging.handling.AsyncCallbackService] (pool-35-thread-2) Removing finished callback, correlationid:adeb0864-e8b7-467b-8470-9f29834628e7
16:31:17,286 INFO [org.apache.helix.messaging.handling.HelixTask] (pool-35-thread-2) Message 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7 completed.
16:31:17,300 ERROR [org.uberfire.io.impl.AbstractIOService] (Thread-87) Failed to register filesystem default://plugins?sync=git://plugins&force with DEFAULT_FS_TYPE. Returning null.: org.uberfire.java.nio.IOException: java.lang.RuntimeException: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:655) [uberfire-nio2-jgit-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileSystems.getFileSystem(FileSystems.java:66) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.io.impl.AbstractIOService.getFileSystem(AbstractIOService.java:214) [uberfire-io-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.IOServiceIndexedImpl.getFileSystem(IOServiceIndexedImpl.java:176) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.io.impl.cluster.IOServiceClusterImpl$3$1$1.run(IOServiceClusterImpl.java:193) [uberfire-io-0.5.0.Final.jar:0.5.0.Final]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]
Caused by: java.lang.RuntimeException: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
at org.uberfire.java.nio.fs.jgit.util.JGitUtil.syncRepository(JGitUtil.java:294) [uberfire-nio2-jgit-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:651) [uberfire-nio2-jgit-0.5.0.Final.jar:0.5.0.Final]
... 9 more
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:145) [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.0.Final.jar:0.5.0.Final]
... 10 more
Caused by: org.eclipse.jgit.errors.NotSupportedException: URI not supported: git:///plugins
at org.eclipse.jgit.transport.Transport.open(Transport.java:559) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
at org.eclipse.jgit.transport.Transport.open(Transport.java:316) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
at org.eclipse.jgit.transport.Transport.open(Transport.java:287) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120) [org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r]
... 11 more
16:31:17,325 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Got notification sessionid:0x150f90c68100004
16:31:17,328 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Got WatchedEvent state:SyncConnected type:NodeChildrenChanged path:/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES for sessionid 0x150f90c68100004
16:31:17,331 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Reading reply sessionid:0x150f90c68100004, packet:: clientPath:null serverPath:null finished:false header:: 340,2 replyHeader:: 340,857,0 request:: '/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES/4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7,-1 response:: null
16:31:17,332 DEBUG [org.I0Itec.zkclient.ZkClient] (MSC service thread 1-3-EventThread) Received event: WatchedEvent state:SyncConnected type:NodeChildrenChanged path:/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES
16:31:17,335 INFO [org.apache.helix.messaging.handling.HelixTaskExecutor] (pool-35-thread-2) message finished: 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7, took 61
16:31:17,337 DEBUG [org.I0Itec.zkclient.ZkEventThread] (MSC service thread 1-3-EventThread) New event: ZkEvent[Children of /jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES changed sent to org.apache.helix.manager.zk.CallbackHandler@7af97c04]
16:31:17,340 INFO [org.apache.helix.messaging.handling.HelixTask] (pool-35-thread-2) msg: 4a70bc4c-9346-4c4e-be5f-d5b24b3c08c7 handling task completed, results:true, at: 1447288277340, took:68
16:31:17,342 DEBUG [org.I0Itec.zkclient.ZkClient] (MSC service thread 1-3-EventThread) Leaving process event
16:31:17,342 DEBUG [org.I0Itec.zkclient.ZkEventThread] (ZkClient-EventThread-178-127.0.0.1:55181) Delivering event #18 ZkEvent[Children of /jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES changed sent to org.apache.helix.manager.zk.CallbackHandler@7af97c04]
16:31:17,348 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Reading reply sessionid:0x150f90c68100004, packet:: clientPath:null serverPath:null finished:false header:: 341,3 replyHeader:: 341,857,0 request:: '/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES,T response:: s{49,49,1447280064042,1447280064042,0,100,0,0,0,0,857}
16:31:17,356 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Reading reply sessionid:0x150f90c68100004, packet:: clientPath:null serverPath:null finished:false header:: 342,8 replyHeader:: 342,857,0 request:: '/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES,T response:: v{}
16:31:17,359 INFO [org.apache.helix.manager.zk.CallbackHandler] (ZkClient-EventThread-178-127.0.0.1:55181) 178 START:INVOKE /jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES listener:org.apache.helix.messaging.handling.HelixTaskExecutor
16:31:17,361 INFO [org.apache.helix.manager.zk.CallbackHandler] (ZkClient-EventThread-178-127.0.0.1:55181) nodeTwo_12346 subscribes child-change. path: /jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES, listener: org.apache.helix.messaging.handling.HelixTaskExecutor@3604b7f7
16:31:17,364 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Reading reply sessionid:0x150f90c68100004, packet:: clientPath:null serverPath:null finished:false header:: 343,3 replyHeader:: 343,857,0 request:: '/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES,T response:: s{49,49,1447280064042,1447280064042,0,100,0,0,0,0,857}
16:31:17,368 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Reading reply sessionid:0x150f90c68100004, packet:: clientPath:null serverPath:null finished:false header:: 344,8 replyHeader:: 344,857,0 request:: '/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES,T response:: v{}
16:31:17,371 DEBUG [org.apache.zookeeper.ClientCnxn] (MSC service thread 1-3-SendThread(127.0.0.1:55181)) Reading reply sessionid:0x150f90c68100004, packet:: clientPath:null serverPath:null finished:false header:: 345,8 replyHeader:: 345,857,0 request:: '/jbpm-cluster/INSTANCES/nodeTwo_12346/MESSAGES,T response:: v{}