Hi Nuwan,

What is the WSO2 server type you are using? and what is the version?

In any case none of the users have ability to check-in to the root
directory.
Therefore you'll have to take the checkout from a collection that is closer
to the resource location you are trying to move.

Ex - sh checkin-client.sh co
https://localhost:9443/registry/_system/governance/trunk/A -u admin -p
admin -f A.dump

What is the use case here,
Are you trying to move an entire repo of a server, into another server?
Or trying to move a part of the repo?

Thank you,
SameeraK.



On Tue, Oct 6, 2015 at 3:23 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:

> Hi,
>
> After i tried to checkout the dump file , following error is show in
> command line when i try to browse registry.
>
> [2015-10-06 15:20:27,354]  WARN
> {org.wso2.carbon.registry.core.caching.CacheBackedRegistry} -  User admin
> is not authorized to read the resource /.
>
> Thanks,
> Nuwan
>
> On Tue, Oct 6, 2015 at 3:16 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> I'm trying to test importing registry files using a dump file. I have
>> created a dump file using following command [1].
>> [1] sh checkin-client.sh co https://localhost:9443/registry/ -u admin -p
>> admin -f 10-06-2015_test2.dump
>>
>> Dump file is successfully created in the bin folder.
>>
>> Then when I try to import it to another Greg server using [2] command, it
>> gives following error[3].
>> [2] sh checkin-client.sh ci https://localhost:9445/registry/ -u admin -p
>> admin -f 10-06-2015_test2.dump
>> [3]
>> Error in restoring the path. Make sure the registry is up and running Or
>> the username, password is correct! and check the user have the WRITE
>> permission to the path.
>> path: /
>> registry url: https://localhost:9443/registry
>> username: admin
>>
>> What would be causing this?
>>
>> Thanks,
>> Nuwan
>>
>> --
>> ----------------------------------------------------------
>>
>> *Nuwan Chamara Pallewela*
>>
>>
>> *Software Engineer*
>>
>> *WSO2, Inc. *http://wso2.com
>> *lean . enterprise . middleware*
>>
>> Email   *nuw...@wso2.com <nuw...@wso2.com>*
>> Mobile  *+94719079739 <%2B94719079739>*
>>
>>
>>
>
>
> --
> ----------------------------------------------------------
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com <nuw...@wso2.com>*
> Mobile  *+94719079739 <%2B94719079739>*
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Sameera Kannangara*
Software Engineer
Platform TG; WSO2 Inc. http://wso2.com
Contact:
phone: +94719541577
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to