[rules-users] Drools Workbench - VFS Clustering - Rpositories/Assets not synched

Zahid Ahmed zahid.ahmed at emirates.com
Wed Jun 11 00:24:41 EDT 2014


Hi,

I am deploying Drools Workbench with VFS Clustering in place. I have followed the steps defined in Drools-6 documentation in section "VFS-CLUSTERING", and the following link. But my repositories are not synching

http://mswiderski.blogspot.com.br/2013/06/clustering-in-jbpm-v6.html

but getting following Zookeeper exception.

NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/df7cda63-979b-47b2-ac9a-f2b218cb188

Attachment List

1.       Complete exception trace of zookeeper is pasted at the end.

2.       Server logs of both workbench servers is attached in the email.

3.       Server un-synched assets screen shot attached.


Problem
BPMN process created in Workbench-A is not getting Synched with Workbench-B. Following are the screen shots for the difference in project assets. Images attached in "ServerAssets.png"


DESIGN

[cid:image002.png at 01CF84B6.3C23B0C0]


Helix Commands Startup and Cluster Setup

1.       helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addCluster jbpm-cluster

2.       helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addNode jbpm-cluster nodeOne:11

3.       helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addNode jbpm-cluster nodeTwo:22

4.       helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --addResource jbpm-cluster vfs-repo 1 LeaderStandby AUTO_REBALANCE

5.       helix-core-0.6.3\bin>helix-admin.bat --zkSvr localhost:2199 --rebalance jbpm-cluster vfs-repo 2

6.       helix-core-0.6.3\bin>run-helix-controller.bat --zkSvr localhost:2199 --cluster jbpm-cluster 2>&1 > /tmp/controller.log &


ZooKeeper Setup
                Changes done only in zoo.conf

1.       dataDir = /zooDir/zookeeper  (Not sure where this directory gets created as I could not find it in $zookeeper_home/)

2.       clientPort = 2199

Work-Bench A Configuration: Standalone.xml
        <property name="org.guvnor.m2repo.dir" value="D:\\Servers\\M2_REPO"/>
        <property name="org.uberfire.nio.git.dir" value="D:\Servers\Drools-6-Deployment\repo"/>
        <property name="jboss.node.name" value="nodeOne"/>
        <property name="org.uberfire.metadata.index.dir" value="D:\Servers\Drools-6-Deployment\repo"/>
        <property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
        <property name="org.uberfire.cluster.zk" value="localhost:2199"/>
        <property name="org.uberfire.cluster.local.id" value="nodeOne_11"/>
        <property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
        <property name="org.uberfire.cluster.autostart" value="false"/>


Work-Bench B Configuration: Standalone.xml
        <property name="org.guvnor.m2repo.dir" value="D:\\Servers\\M2_REPO"/>
        <property name="org.uberfire.nio.git.dir" value="D:\Servers\Drools-6-Deployment\repoB"/>
        <property name="org.kie.nio.git.deamon.port" value="9518"/>
        <property name="org.uberfire.nio.git.daemon.port" value="9518"/>
        <property name="org.uberfire.nio.git.ssh.port" value="8002"/>
        <property name="jboss.node.name" value="nodeTwo"/>
        <property name="org.uberfire.metadata.index.dir" value="D:\Servers\Drools-6-Deployment\repoB"/>
        <property name="org.uberfire.cluster.id" value="jbpm-cluster"/>
        <property name="org.uberfire.cluster.zk" value="localhost:2199"/>
        <property name="org.uberfire.cluster.local.id" value="nodeTwo_22"/>
        <property name="org.uberfire.cluster.vfs.lock" value="vfs-repo"/>
        <property name="org.uberfire.cluster.autostart" value="false"/>


Zookeeper Exception Trace:

2014-06-10 13:58:32,572 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x253 zxid:0x24b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/56d2d3ac-126e-4ed2-aeaf-4a4
bfd91d80f Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/56d2d3ac-126e-4ed2-aeaf-4a4bfd91d80f
2014-06-10 13:59:03,859 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x38c zxid:0x267 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/dea6167c-ca2c-4f5d-85aa-5fc
65703e5be Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/dea6167c-ca2c-4f5d-85aa-5fc65703e5be
2014-06-10 13:59:06,911 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x3ed zxid:0x281 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/b58e5ff9-235a-4a12-b159-ee1
c9fbc01cc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/b58e5ff9-235a-4a12-b159-ee1c9fbc01cc
2014-06-10 13:59:09,618 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x44c zxid:0x29b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/71ba364e-21c1-4ee2-8383-4cb
5d15d339e Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/71ba364e-21c1-4ee2-8383-4cb5d15d339e
2014-06-10 13:59:23,720 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4ab zxid:0x2b5 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7d5f0c9c-ee69-4061-94e6-12a
cf045a77b Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7d5f0c9c-ee69-4061-94e6-12acf045a77b
2014-06-10 13:59:25,252 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4c2 zxid:0x2b9 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/cc24bd9a-5297-4bc1-85f5-31f
6639de8e6 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/cc24bd9a-5297-4bc1-85f5-31f6639de8e6
2014-06-10 13:59:25,982 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x4d9 zxid:0x2bd txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/337e84c8-06e9-4023-87c5-b48
26ec5ddb1 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/337e84c8-06e9-4023-87c5-b4826ec5ddb1
2014-06-10 13:59:40,762 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x53c zxid:0x2d7 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/1eeac27e-5e48-43b9-bba5-98b
ce0b89015 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/1eeac27e-5e48-43b9-bba5-98bce0b89015
2014-06-10 13:59:41,775 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x59b zxid:0x2f1 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7611f66a-993d-4652-8b07-011
e5bdcea60 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/7611f66a-993d-4652-8b07-011e5bdcea60
2014-06-10 13:59:43,681 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250007 type:setData cxid:0x5d4 zxid:0x301 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/55991bef-61cb-4011-a8f1-f28
d47c67c53 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeTwo_22/MESSAGES/55991bef-61cb-4011-a8f1-f28d47c67c53
2014-06-10 14:00:04,689 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x332 zxid:0x311 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/65d0518e-1853-4373-a455-02d
1699930cc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/65d0518e-1853-4373-a455-02d1699930cc
2014-06-10 14:00:06,542 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x391 zxid:0x32b txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/87131701-cf41-4c2f-8de4-54c
599da0f03 Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/87131701-cf41-4c2f-8de4-54c599da0f03
2014-06-10 14:17:39,329 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor at 645] - Got user-level KeeperException when processing sessionid:0x146850ce9250008 type:setData cxid:0x401 zxid:0x367 txntype:-1 reqpath:n/a Error Path:/jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/aeb3757b-4560-4dca-b78c-6be
24eb514dc Error:KeeperErrorCode = NoNode for /jbpm-cluster/INSTANCES/nodeOne_11/MESSAGES/aeb3757b-4560-4dca-b78c-6be24eb514dc


Regards,

Zahid Ahmed


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140611/20b84069/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 17529 bytes
Desc: image002.png
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140611/20b84069/attachment-0002.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WorkBench-B-Log.txt
Url: http://lists.jboss.org/pipermail/rules-users/attachments/20140611/20b84069/attachment-0002.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZooKeeper.log
Type: application/octet-stream
Size: 46562 bytes
Desc: ZooKeeper.log
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140611/20b84069/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServerAssets.png
Type: image/png
Size: 160845 bytes
Desc: ServerAssets.png
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20140611/20b84069/attachment-0003.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WorkBench-A-Log.txt
Url: http://lists.jboss.org/pipermail/rules-users/attachments/20140611/20b84069/attachment-0003.txt 


More information about the rules-users mailing list