On Thu, Oct 25, 2012 at 1:03 PM, Kasun Gajasinghe <[email protected]> wrote:

>
> Hi Chamith,
>
> Did you clean the axis2 repos for tenants, before restarting? The error
> Charitha sent suggests an issue with contents in .svn/ folders. So, it's
> likely that the working copy in the worker nodes are broken. May be even in
> the master node, I'm not sure whether it's applicable in this scenario.
> This process won't remove any artifacts (since they are already stored in
> the svn server) except the artifacts added after the working copies went to
> an inconsistent state, will it?
>

Lets configure puppet to clean svn repo (depsync) for each new setup.

thanks,

>
> Thanks,
> KasunG
>
> On Thu, Oct 25, 2012 at 11:02 AM, Chamith Kumarage <[email protected]>wrote:
>
>>  You can see this behavior clearly when you deploy a bunch of services
>> and run a jmeter test for the whole bunch. To get all services deployed in
>> workers, you need to run the test multiple times. Everything won't get
>> deployed in the first run.
>>
>>
>> On 10/24/2012 05:18 PM, Charitha Kankanamge wrote:
>>
>> With proper svn kit, I did not get the svn error. However, the services
>> are still not synced between worker/manager nodes.
>>
>> You can see that Axis2Service.aar is not in worker. Checked the logs with
>> Afkham but could not find any suspicious error.
>>
>> Tenant 9 services directory of Manager node
>> =====================================
>> root@stratosdev006:/mnt/192.168.4.123/wso2as-5.0.1/repository/tenants#tree 9
>> 9
>> ├── axis2modules
>> ├── axis2services
>> │   ├── Axis2ContractFirstService.aar
>> │   └── Axis2Service.aar
>> ├── ghostmetafiles
>> │   └── ghostServices
>> │       ├── _axis2services_Axis2ContractFirstService.xml
>> │       └── _axis2services_Axis2Service.xml
>>
>>
>> Tenant 9 services directory of worker node
>> ====================================
>> root@stratosdev007:/mnt/192.168.4.124/wso2as-5.0.1/repository/tenants#tree 9
>> 9
>> ├── axis2modules
>> ├── axis2services
>> │   └── Axis2ContractFirstService.aar
>> ├── ghostmetafiles
>> │   └── ghostServices
>> │       └── _axis2services_Axis2ContractFirstService.xml
>>
>>
>>
>>
>> On Wed, Oct 24, 2012 at 11:27 AM, Chamith Kumarage <[email protected]>wrote:
>>
>>>  Looks like we have done a rm instead of svn rm and older jars have
>>> restored in the repo somehow. Restarted services with the proper
>>> svnkit-bundle-1.0.0.jar
>>>
>>>
>>> On 10/24/2012 10:44 AM, Samisa Abeysinghe wrote:
>>>
>>> It seems the deployment is broken and cluttered all garbage in there.
>>> DevOps please clean the system and get it right.
>>>
>>>  If this was not broken in products, this cannot be broken in services.
>>>
>>>  On Wed, Oct 24, 2012 at 10:42 AM, Charitha Kankanamge <
>>> [email protected]> wrote:
>>>
>>>> It seems we are; but there are multiple svnkit bundles inside dropins.
>>>>
>>>> root@stratosdev007:/mnt/
>>>> 192.168.4.124/wso2as-5.0.1/repository/components/dropins# ls -la
>>>> total 8164
>>>> drwxr-xr-x  2 root root    4096 Oct 23 17:46 .
>>>> drwxr-xr-x 10 root root    4096 Oct 23 20:12 ..
>>>> -rw-r--r--  1 root root  729849 Oct 23 20:12
>>>> mysql_connector_java_5.1.12_bin_1.0.0.jar
>>>> -rw-r--r--  1 root root    2778 Oct 23 20:12
>>>> org.wso2.carbon.logging.propfile_1.0.0.jar
>>>> -rw-r--r--  1 root root 1934391 Oct 23 20:12 svnkit_1.0.0.jar
>>>> -rw-r--r--  1 root root 2700618 Oct 23 20:12
>>>> svnkit_bundle_1.0.0_1.0.0.jar
>>>> -rwxr-xr-x  1 root root 2954568 Oct 23 17:45 svnkit-bundle-1.0.0.jar
>>>>
>>>> /Charitha
>>>>
>>>>
>>>>
>>>> On Wed, Oct 24, 2012 at 10:38 AM, Samisa Abeysinghe <[email protected]>wrote:
>>>>
>>>>> Looks like we are not using svn kit??
>>>>>
>>>>>  On Wed, Oct 24, 2012 at 10:31 AM, Charitha Kankanamge <
>>>>> [email protected]> wrote:
>>>>>
>>>>>>  @Subject.
>>>>>>
>>>>>> 1. Created a new tenant in https://stratosdev.private.wso2.com
>>>>>> 2. Logged into Application server service
>>>>>> 3. Deploy a web service (AAR)
>>>>>> 4. Access ?wsdl. You get 404
>>>>>>
>>>>>> Check worker logs. You will see the following errors are continuously
>>>>>> thrown.
>>>>>>
>>>>>> TID: [0] [AS] [2012-10-24 13:18:15,101] ERROR
>>>>>> {org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
>>>>>> -  Error while checking out or updating artifacts from the SVN repository
>>>>>> {org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
>>>>>> org.tigris.subversion.svnclientadapter.SVNClientException:
>>>>>> org.tigris.subversion.javahl.ClientException: svn: Directory '/mnt/
>>>>>> 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
>>>>>> containing working copy admin area is missing
>>>>>>     at
>>>>>> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1163)
>>>>>>     at
>>>>>> org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:299)
>>>>>>     at
>>>>>> org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:174)
>>>>>>     at
>>>>>> org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:86)
>>>>>>     at
>>>>>> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:130)
>>>>>>     at
>>>>>> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:99)
>>>>>>     at
>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>>>>     at
>>>>>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>>>>>>     at
>>>>>> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>>>>>>     at
>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>>>>>>     at
>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>>>>>     at
>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>>>>     at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>>>>     at java.lang.Thread.run(Thread.java:722)
>>>>>> Caused by: org.tigris.subversion.javahl.ClientException: svn:
>>>>>> Directory '/mnt/
>>>>>> 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
>>>>>> containing working copy admin area is missing
>>>>>>     at
>>>>>> org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:571)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:560)
>>>>>>     at
>>>>>> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1160)
>>>>>>     ... 13 more
>>>>>> Caused by: org.tmatesoft.svn.core.SVNException: svn: Directory '/mnt/
>>>>>> 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
>>>>>> containing working copy admin area is missing
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3316)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3434)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3434)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1897)
>>>>>>     at
>>>>>> org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:567)
>>>>>>     ... 15 more
>>>>>>
>>>>>>
>>>>>> http://stackoverflow.com/questions/1394076/how-to-fix-containing-working-copy-admin-area-is-missing-in-svn
>>>>>>
>>>>>>
>>>>>>
>>>>>>  _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>   Thanks,
>>>>> Samisa...
>>>>>
>>>>> Samisa Abeysinghe
>>>>> VP Engineering
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>> http://wso2.org
>>>>>
>>>>>
>>>>    Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>>
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> Development Technologies Team, WSO2 Inc.; http://wso2.com ,
> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe*
> *
>  *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org>*
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>*
> *
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to