Dear all,

I am trying to remove a Tenant from the WSO2, but I found the following 
exception after removing a Tenant and then re-create it:


Caused by: java.lang.SecurityException: Illegal access attempt to cache ] owned 
by tenant {[testdomain7],[17]} by tenant {[testdomain7],[18]}
        at org.wso2.carbon.caching.impl.Util.checkAccess(Util.java:46)
        at 
org.wso2.carbon.caching.impl.CarbonCacheManager.getCache(CarbonCacheManager.java:111)
        at 
org.wso2.carbon.registry.core.utils.RegistryUtils.getResourceCache(RegistryUtils.java:297)
        at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.getCache(CacheBackedRegistry.java:62)
        at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:289)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.resourceExistsInternal(UserRegistry.java:770)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.access$800(UserRegistry.java:60)
        at 
org.wso2.carbon.registry.core.session.UserRegistry$9.run(UserRegistry.java:753)
        at 
org.wso2.carbon.registry.core.session.UserRegistry$9.run(UserRegistry.java:750)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:750)
        ... 62 more



My question is how I can remove the related Registry cache of a tenant? Thank 
you very much.


Regards, Wenxing
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to