Re: [Dev] AS cluster registry debsync issue
Hi, Is this due to a version issue. My svn version is 1.8.8 which seems to be not supported according to [1] svn --version svn, version 1.8.8 (r1568071) [1] https://docs.wso2.com/display/CLUSTER420/SVN-based+Deployment+Synchronizer On Sun, May 24, 2015 at 10:51 AM, Udara Liyanage wrote: > Hi, > > I tried svn based deb sync and got the following issue. > > > true > true > true > svn > file:///home/udara/experiments/depsync/ > > udara > udara > true > > > > Error while attempting to create the directory: > file:///home/udara/experiments/depsync/-1234 > org.tigris.subversion.svnclientadapter.SVNClientException: > org.tigris.subversion.javahl.ClientException: svn: Unable to open an > ra_local session to URL > svn: Unable to open repository 'file:///home/udara/experiments/depsync' > svn: Expected FS format between '1' and '4'; found format '6' > at > org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:2524) > at > org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkRemoteDirectory(SVNBasedArtifactRepository.java:240) > at > org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.init(SVNBasedArtifactRepository.java:167) > at > org.wso2.carbon.deployment.synchronizer.internal.repository.CarbonRepositoryUtils.newCarbonRepositorySynchronizer(CarbonRepositoryUtils.java:71) > at > org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent.initDeploymentSynchronizerForSuperTenant(DeploymentSynchronizerComponent.java:108) > at > org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent.activate(DeploymentSynchronizerComponent.java:77) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > On Sun, May 24, 2015 at 10:29 AM, Ajith Vitharana wrote: > >> Hi All >> >> The registry based depsync is deprecated. Please try with SVN. >> >> -Ajith >> >> On Sun, May 24, 2015 at 12:54 AM, Manoj Kumara wrote: >> >>> Hi Udara, >>> >>> Did you mounted the registry database between the nodes ? Please follow >>> [1] >>> >>> [1] >>> http://emsooriyabandara.blogspot.com/2013/01/registry-based-deployment-synchronizer.html >>> >>> >>> *Manoj Kumara* >>> Software Engineer >>> WSO2 Inc. http://wso2.com/ >>> *lean.enterprise.middleware* >>> Mobile: +94713448188 >>> >>> On Sat, May 23, 2015 at 11:01 AM, Udara Liyanage wrote: >>> Hi, I create a AS 5.2.1 cluster with two nodes as each members is a WKA member for other members. Member join messages appeared. However when a web app is deployed to the manager node, it is not propagated to the other node. However following repo notification message appeared in the worker node. Note that I have applied the hazelcast patch patch1297 to both nodes. [2015-05-23 10:44:35,797] INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} [2015-05-23 10:44:35,797] INFO {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] [2015-05-23 10:44:35,797] INFO {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating repo update required parameter -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Ajith Vitharana. >> >> WSO2 Inc. - http://wso2.com >> Email : aji...@wso2.com >> Blog: http://vitharana.org >> Mobile : +1-812-360-5335 >> >> > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS cluster registry debsync issue
Hi, I tried svn based deb sync and got the following issue. true true true svn file:///home/udara/experiments/depsync/ udara udara true Error while attempting to create the directory: file:///home/udara/experiments/depsync/-1234 org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///home/udara/experiments/depsync' svn: Expected FS format between '1' and '4'; found format '6' at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:2524) at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkRemoteDirectory(SVNBasedArtifactRepository.java:240) at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.init(SVNBasedArtifactRepository.java:167) at org.wso2.carbon.deployment.synchronizer.internal.repository.CarbonRepositoryUtils.newCarbonRepositorySynchronizer(CarbonRepositoryUtils.java:71) at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent.initDeploymentSynchronizerForSuperTenant(DeploymentSynchronizerComponent.java:108) at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent.activate(DeploymentSynchronizerComponent.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) On Sun, May 24, 2015 at 10:29 AM, Ajith Vitharana wrote: > Hi All > > The registry based depsync is deprecated. Please try with SVN. > > -Ajith > > On Sun, May 24, 2015 at 12:54 AM, Manoj Kumara wrote: > >> Hi Udara, >> >> Did you mounted the registry database between the nodes ? Please follow >> [1] >> >> [1] >> http://emsooriyabandara.blogspot.com/2013/01/registry-based-deployment-synchronizer.html >> >> >> *Manoj Kumara* >> Software Engineer >> WSO2 Inc. http://wso2.com/ >> *lean.enterprise.middleware* >> Mobile: +94713448188 >> >> On Sat, May 23, 2015 at 11:01 AM, Udara Liyanage wrote: >> >>> Hi, >>> >>> I create a AS 5.2.1 cluster with two nodes as each members is a WKA >>> member for other members. Member join messages appeared. However when a >>> web app is deployed to the manager node, it is not propagated to the other >>> node. However following repo notification message appeared in the worker >>> node. >>> >>> Note that I have applied the hazelcast patch patch1297 to both nodes. >>> >>> >>> [2015-05-23 10:44:35,797] INFO >>> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} >>> - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, >>> tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} >>> [2015-05-23 10:44:35,797] INFO >>> {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received >>> [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', >>> messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] >>> [2015-05-23 10:44:35,797] INFO >>> {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating >>> repo update required parameter >>> >>> >>> -- >>> >>> Udara Liyanage >>> Software Engineer >>> WSO2, Inc.: http://wso2.com >>> lean. enterprise. middleware >>> >>> web: http://udaraliyanage.wordpress.com >>> phone: +94 71 443 6897 >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Ajith Vitharana. > > WSO2 Inc. - http://wso2.com > Email : aji...@wso2.com > Blog: http://vitharana.org > Mobile : +1-812-360-5335 > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS cluster registry debsync issue
Hi All The registry based depsync is deprecated. Please try with SVN. -Ajith On Sun, May 24, 2015 at 12:54 AM, Manoj Kumara wrote: > Hi Udara, > > Did you mounted the registry database between the nodes ? Please follow [1] > > [1] > http://emsooriyabandara.blogspot.com/2013/01/registry-based-deployment-synchronizer.html > > > *Manoj Kumara* > Software Engineer > WSO2 Inc. http://wso2.com/ > *lean.enterprise.middleware* > Mobile: +94713448188 > > On Sat, May 23, 2015 at 11:01 AM, Udara Liyanage wrote: > >> Hi, >> >> I create a AS 5.2.1 cluster with two nodes as each members is a WKA >> member for other members. Member join messages appeared. However when a >> web app is deployed to the manager node, it is not propagated to the other >> node. However following repo notification message appeared in the worker >> node. >> >> Note that I have applied the hazelcast patch patch1297 to both nodes. >> >> >> [2015-05-23 10:44:35,797] INFO >> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} >> - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, >> tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} >> [2015-05-23 10:44:35,797] INFO >> {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received >> [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', >> messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] >> [2015-05-23 10:44:35,797] INFO >> {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating >> repo update required parameter >> >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Ajith Vitharana. WSO2 Inc. - http://wso2.com Email : aji...@wso2.com Blog: http://vitharana.org Mobile : +1-812-360-5335 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS cluster registry debsync issue
Hi Udara, Did you mounted the registry database between the nodes ? Please follow [1] [1] http://emsooriyabandara.blogspot.com/2013/01/registry-based-deployment-synchronizer.html *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sat, May 23, 2015 at 11:01 AM, Udara Liyanage wrote: > Hi, > > I create a AS 5.2.1 cluster with two nodes as each members is a WKA member > for other members. Member join messages appeared. However when a web app > is deployed to the manager node, it is not propagated to the other node. > However following repo notification message appeared in the worker node. > > Note that I have applied the hazelcast patch patch1297 to both nodes. > > > [2015-05-23 10:44:35,797] INFO > {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} > - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, > tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} > [2015-05-23 10:44:35,797] INFO > {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received > [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', > messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] > [2015-05-23 10:44:35,797] INFO > {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating > repo update required parameter > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS cluster registry debsync issue
Hi Jayanga, I tried registry based in order to check weather cluster is working. I will check svn based deb sync and let you know the results. On Sun, May 24, 2015 at 9:18 AM, Jayanga Dissanayake wrote: > Hi Udara, > > As your worker node has received the cluster message, I assume clustering > works properly in your setup. Can you please check your DepSync > configurations. > And verify whether your new artifact is uploaded to the SVN by your master > node. > > Thanks, > Jayanga. > > *Jayanga Dissanayake* > Senior Software Engineer > WSO2 Inc. - http://wso2.com/ > lean . enterprise . middleware > email: jaya...@wso2.com > mobile: +94772207259 > > On Sat, May 23, 2015 at 11:01 AM, Udara Liyanage wrote: > >> Hi, >> >> I create a AS 5.2.1 cluster with two nodes as each members is a WKA >> member for other members. Member join messages appeared. However when a >> web app is deployed to the manager node, it is not propagated to the other >> node. However following repo notification message appeared in the worker >> node. >> >> Note that I have applied the hazelcast patch patch1297 to both nodes. >> >> >> [2015-05-23 10:44:35,797] INFO >> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} >> - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, >> tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} >> [2015-05-23 10:44:35,797] INFO >> {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received >> [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', >> messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] >> [2015-05-23 10:44:35,797] INFO >> {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating >> repo update required parameter >> >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS cluster registry debsync issue
Hi Udara, As your worker node has received the cluster message, I assume clustering works properly in your setup. Can you please check your DepSync configurations. And verify whether your new artifact is uploaded to the SVN by your master node. Thanks, Jayanga. *Jayanga Dissanayake* Senior Software Engineer WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware email: jaya...@wso2.com mobile: +94772207259 On Sat, May 23, 2015 at 11:01 AM, Udara Liyanage wrote: > Hi, > > I create a AS 5.2.1 cluster with two nodes as each members is a WKA member > for other members. Member join messages appeared. However when a web app > is deployed to the manager node, it is not propagated to the other node. > However following repo notification message appeared in the worker node. > > Note that I have applied the hazelcast patch patch1297 to both nodes. > > > [2015-05-23 10:44:35,797] INFO > {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} > - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, > tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} > [2015-05-23 10:44:35,797] INFO > {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received > [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', > messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] > [2015-05-23 10:44:35,797] INFO > {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating > repo update required parameter > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] AS cluster registry debsync issue
Hi, I create a AS 5.2.1 cluster with two nodes as each members is a WKA member for other members. Member join messages appeared. However when a web app is deployed to the manager node, it is not propagated to the other node. However following repo notification message appeared in the worker node. Note that I have applied the hazelcast patch patch1297 to both nodes. [2015-05-23 10:44:35,797] INFO {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c} [2015-05-23 10:44:35,797] INFO {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=68bd3b2f-598a-423c-b876-bd3eb5e9bd3c}] [2015-05-23 10:44:35,797] INFO {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating repo update required parameter -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev