Seems we try to update registry of the different user.I guess user account
use for update the registry will different from the account that you create
the user token.

Thanks,
Gayan

On Fri, Feb 20, 2015 at 4:58 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> Do we have to assign permission.
>
> Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: *Failed
> to add new resource. User wso2.anonymous.user does not have authorization
> to update the collection */.
> at
> org.wso2.carbon.registry.core.jdbc.Repository.addEmptyCollection(Repository.java:1167)
> at
> org.wso2.carbon.registry.core.jdbc.Repository.addEmptyCollection(Repository.java:1156)
> at org.wso2.carbon.registry.core.jdbc.Repository.add(Repository.java:1013)
> at org.wso2.carbon.registry.core.jdbc.Repository.put(Repository.java:305)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:709)
> at
> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:465)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:657)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:638)
> at
> org.apache.stratos.metadata.service.registry.CarbonRegistry.addPropertyToCluster(CarbonRegistry.java:99)
> at
> org.apache.stratos.metadata.service.services.MetaDataAdmin.addPropertyToACluster(MetaDataAdmin.java:140)
> ... 44 more
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : gay...@wso2.com  | mobile : +94 766819985

Reply via email to