Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Shamika Ariyawansa
Hi This timeout occurs when calling creatingConfigurationContext method of the the following class. org.wso2.carbon.event.core.internal.builder.EventAxis2ConfigurationContextObserver This call is one of 20 osgi calls. All the others returned with maximum of 1 s but this one takes about 2

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Dimuthu Leelarathne
Hi Srinath, Why would the following take so much time? Can ESB run without it? thanks, dimuthu On Tue, May 28, 2013 at 4:25 PM, Shamika Ariyawansa sham...@wso2.comwrote: Hi This timeout occurs when calling creatingConfigurationContext method of the the following class.

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Shamika Ariyawansa
Hi, This is occurred when authorizing user roles for the the topics in org.wso2.carbon.event.core component for (String role : userRealm.getUserStoreManager().getRoleNames()) { userRealm.getAuthorizationManager().authorizeRole( role,

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Dimuthu Leelarathne
Hi Shamika, On Wed, May 29, 2013 at 1:17 AM, Shamika Ariyawansa sham...@wso2.comwrote: Hi, This is occurred when authorizing user roles for the the topics in org.wso2.carbon.event.core component for (String role : userRealm.getUserStoreManager().getRoleNames()) {

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-28 Thread Dimuthu Leelarathne
Hi Shamika, Fixed the event.core to check authorizations before adding them. Now the tenant loading will be faster from the second-time onwards. Meanwhile created a JIRA to do a proper long term fix. https://wso2.org/jira/browse/MB-269 thanks, dimuthu On Wed, May 29, 2013 at 5:43 AM, Dimuthu

[Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-27 Thread Shamika Ariyawansa
Hi, Following observation was made wrt the ESB 4.6.0 instance which was spawned from the S2 ESB cartridge. 1. When the tenant user is logged for the first time the page keeps on loading and after few minutes the page gets timeout Refer the following log. TID: [0] [ESB] [2013-05-27 06:10:16,510]

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-27 Thread Dimuthu Leelarathne
On Tue, May 28, 2013 at 2:38 AM, Shamika Ariyawansa sham...@wso2.comwrote: Hi, Following observation was made wrt the ESB 4.6.0 instance which was spawned from the S2 ESB cartridge. 1. When the tenant user is logged for the first time the page keeps on loading and after few minutes the

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-27 Thread Dimuthu Leelarathne
Hi Shamika, Did we try to put logs in private static ConfigurationContext createTenantConfigurationContext in TenantAxisUtils ? We need to put debug logs along the path and see what takes all the time? thanks, dimuthu On Tue, May 28, 2013 at 2:38 AM, Shamika Ariyawansa sham...@wso2.comwrote:

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-27 Thread Nirmal Fernando
On Tue, May 28, 2013 at 5:05 AM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Shamika, Did we try to put logs in private static ConfigurationContext createTenantConfigurationContext in TenantAxisUtils ? We need to put debug logs along the path and see what takes all the time? +1, this

Re: [Dev] [Appfactory] Timeout occurred when a tenant is logged for the first time in ESB instance.

2013-05-27 Thread Kishanthan Thangarajah
On Tue, May 28, 2013 at 5:05 AM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Shamika, Did we try to put logs in private static ConfigurationContext createTenantConfigurationContext in TenantAxisUtils ? We need to put debug logs along the path and see what takes all the time? We did put