Re: [Dev] How to clear up the Registry Cache?

2016-11-08 Thread wenxzhen
From: "Rajith Roshan";; Send time: Tuesday, Nov 8, 2016 3:29 PM To: "wenxzhen"; Cc: "dev"; Subject: Re: [Dev] How to clear up the Registry Cache? Hi , You don't need to explicitly clear the registry cache. The cache will automatically invalidate within

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread Rajith Roshan
> -- Original -- > *From: * "wenxzhen";; > *Date: * Nov 7, 2016 > *To: * "wenxzhen"; "Rajith Roshan"; > > *Cc: * "dev"; > *Subject: * Re: [Dev] How to clear up the Registry Cache? > > Appreciated if anyone can shed some li

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread wenxzhen
Subject: Re: [Dev] How to clear up the Registry Cache? Appreciated if anyone can shed some light on how to clear up the Registry Cache. Thanks, Wenxing -- Original -- From: "wenxzhen";; Date: Nov 7, 2016 To: "Rajith Roshan"; Cc: "dev

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread wenxzhen
Subject: Re: [Dev] How to clear up the Registry Cache? Appreciated if anyone can shed some light on how to clear up the Registry Cache. Thanks, Wenxing -- Original -- From: "wenxzhen";; Date: Nov 7, 2016 To: "Rajith Roshan"; Cc: "dev

Re: [Dev] How to clear up the Registry Cache?

2016-11-07 Thread wenxzhen
Appreciated if anyone can shed some light on how to clear up the Registry Cache. Thanks, Wenxing -- Original -- From: "wenxzhen";; Date: Nov 7, 2016 To: "Rajith Roshan"; Cc: "dev"; Subject: Re: [Dev] How to clear up the Regis

Re: [Dev] How to clear up the Registry Cache?

2016-11-06 Thread wenxzhen
e was not cleared up? Thanks, Wenxing -- Original -- From: "Rajith Roshan";; Send time: Monday, Nov 7, 2016 2:22 PM To: "wenxzhen"; Cc: "KasunG Gajasinghe"; "dev"; Subject: Re: [Dev] How to clear up the Registry Cache

Re: [Dev] How to clear up the Registry Cache?

2016-11-06 Thread Rajith Roshan
nd time:* Monday, Nov 7, 2016 1:43 PM > *To:* "wenxzhen"; > *Cc:* "dev"; > *Subject: * Re: [Dev] How to clear up the Registry Cache? > > > This sounds like a bug. When a tenant is deleted, the cache should be > cleared automatically. You shouldn't have to

Re: [Dev] How to clear up the Registry Cache?

2016-11-06 Thread wenxzhen
onday, Nov 7, 2016 1:43 PM To: "wenxzhen"; Cc: "dev"; Subject: Re: [Dev] How to clear up the Registry Cache? This sounds like a bug. When a tenant is deleted, the cache should be cleared automatically. You shouldn't have to wait for the periodic cache cle

Re: [Dev] How to clear up the Registry Cache?

2016-11-06 Thread KasunG Gajasinghe
This sounds like a bug. When a tenant is deleted, the cache should be cleared automatically. You shouldn't have to wait for the periodic cache cleanup. My suggestion is to write a TenantMgtListener extension, and add it to the product. In there, you can add a cache clearing operation for the tenan

Re: [Dev] How to clear up the Registry Cache?

2016-11-06 Thread Lakshani Gamage
Hi Wenxing, Registry cache clears in every 15 min. Or you have to restart the server. Thanks, Lakshani On Mon, Nov 7, 2016 at 8:22 AM, wenxzhen wrote: > 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

[Dev] How to clear up the Registry Cache?

2016-11-06 Thread wenxzhen
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 o