Hi Sameera, We are seeing this on Management node as well (with 26th AS packs).
TID: [0] [AS] [2013-07-29 19:43:28,222] ERROR {org.wso2.carbon.user.core.common.DefaultRealmService} - Tenant domain has not been set in CarbonContext {org.wso2.carbon.user.core.common.DefaultRealmService} java.lang.NullPointerException: Tenant domain has not been set in CarbonContext at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79) at org.wso2.carbon.user.core.tenant.TenantCache.getTenantCache(TenantCache.java:39) at org.wso2.carbon.user.core.tenant.TenantCache.getValueFromCache(TenantCache.java:77) at org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:169) at org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:49) at org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:159) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:266) at org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:226) at org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:205) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:485) at org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.getConfRegistryForTenant(DataSourceUtils.java:82) at org.wso2.carbon.ndatasource.core.DataSourceRepository.getRegistry(DataSourceRepository.java:97) at org.wso2.carbon.ndatasource.core.DataSourceRepository.updateAllUserDataSource(DataSourceRepository.java:128) at org.wso2.carbon.ndatasource.core.DataSourceRepository.unregisterAllUserDataSources(DataSourceRepository.java:123) at org.wso2.carbon.ndatasource.core.DataSourceManager.unloadTenant(DataSourceManager.java:108) at org.wso2.carbon.ndatasource.core.DataSourceAxis2ConfigurationContextObserver.terminatingConfigurationContext(DataSourceAxis2ConfigurationContextObserver.java:49) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.doPreConfigContextTermination(TenantAxisUtils.java:521) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:483) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:435) at org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) TID: [0] [AS] [2013-07-29 19:43:28,222] ERROR {org.wso2.carbon.registry.core.session.UserRegistry} - An error occurred while obtaining the user realm for the tenant: 4. {org.wso2.carbon.registry.core.session.UserRegistry} TID: [0] [AS] [2013-07-29 19:43:28,223] ERROR {org.wso2.carbon.ndatasource.core.DataSourceAxis2ConfigurationContextObserver} - Error in initializing data sources for tenant: 4 - Error in getting all data sources from repository: Error in retrieving conf registry instance: An error occurred while obtaining the user realm for the tenant: 4. {org.wso2.carbon.ndatasource.core.DataSourceAxis2ConfigurationContextObserver} org.wso2.carbon.ndatasource.common.DataSourceException: Error in getting all data sources from repository: Error in retrieving conf registry instance: An error occurred while obtaining the user realm for the tenant: 4. at org.wso2.carbon.ndatasource.core.DataSourceRepository.updateAllUserDataSource(DataSourceRepository.java:143) at org.wso2.carbon.ndatasource.core.DataSourceRepository.unregisterAllUserDataSources(DataSourceRepository.java:123) at org.wso2.carbon.ndatasource.core.DataSourceManager.unloadTenant(DataSourceManager.java:108) at org.wso2.carbon.ndatasource.core.DataSourceAxis2ConfigurationContextObserver.terminatingConfigurationContext(DataSourceAxis2ConfigurationContextObserver.java:49) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.doPreConfigContextTermination(TenantAxisUtils.java:521) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:483) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:435) at org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.wso2.carbon.ndatasource.common.DataSourceException: Error in retrieving conf registry instance: An error occurred while obtaining the user realm for the tenant: 4. at org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.getConfRegistryForTenant(DataSourceUtils.java:85) at org.wso2.carbon.ndatasource.core.DataSourceRepository.getRegistry(DataSourceRepository.java:97) at org.wso2.carbon.ndatasource.core.DataSourceRepository.updateAllUserDataSource(DataSourceRepository.java:128) ... 15 more Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: An error occurred while obtaining the user realm for the tenant: 4. at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:282) at org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:226) at org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:205) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292) at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:485) at org.wso2.carbon.ndatasource.core.utils.DataSourceUtils.getConfRegistryForTenant(DataSourceUtils.java:82) ... 17 more Caused by: org.wso2.carbon.user.api.UserStoreException: Tenant domain has not been set in CarbonContext at org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:176) at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:266) ... 23 more Caused by: java.lang.NullPointerException: Tenant domain has not been set in CarbonContext at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79) at org.wso2.carbon.user.core.tenant.TenantCache.getTenantCache(TenantCache.java:39) at org.wso2.carbon.user.core.tenant.TenantCache.getValueFromCache(TenantCache.java:77) at org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:169) at org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:49) at org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:159) ... 24 more TID: [0] [AS] [2013-07-29 19:43:28,224] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Cleaned up tenant tuk.com {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} Regards, Evanthika On Mon, Jul 29, 2013 at 7:34 AM, Sameera Jayasoma <same...@wso2.com> wrote: > Hi Evanthika, > > A recent commit to the security mgt component has broken the ELB > functionality. We will fix this and proved a pack this morning ASAP. > > r179033 POXSecurityHandler.java > > Thanks, > Sameera > > > On Sun, Jul 28, 2013 at 5:24 PM, Evanthika Amarasiri > <evanth...@wso2.com>wrote: > >> Sure. We will continue testing on the clustering environment which we >> created, without an ELB. >> >> Regards, >> Evanthika >> >> >> On Sunday, July 28, 2013, Sameera Jayasoma wrote: >> >>> Hi Evanthika/Niroda, >>> >>> Yes this error is there in the latest ELB pack. I could reproduce this >>> in my setup as well. I will have a look. >>> >>> Thanks, >>> Sameera. >>> >>> >>> On Fri, Jul 26, 2013 at 8:26 PM, Nirodha Pramod <niro...@wso2.com>wrote: >>> >>> Hi Sameera, >>> >>> We used the configuration you sent for configuring the ELB and >>> configured AS according to previous release's docs. >>> But when we try to access the management console(Mgr node) it always >>> timeouts. And on the ELB we see the same error again. Cannot access the >>> management console. >>> >>> >>> TID: [0] [ELB] [2013-07-26 20:19:13,098] WARN >>> {org.apache.synapse.transport.passthru.SourceHandler} - Connection time >>> out after request is read: http-incoming-1 >>> {org.apache.synapse.transport.passthru.SourceHandler} >>> TID: [0] [ELB] [2013-07-26 20:19:13,293] ERROR >>> {org.apache.axis2.transport.base.threads.NativeWorkerPool} - Uncaught >>> exception {org.apache.axis2.transport.base.threads.NativeWorkerPool} >>> java.lang.NullPointerException: Tenant domain has not been set in >>> CarbonContext >>> at >>> org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79) >>> at >>> org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:309) >>> at >>> org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123) >>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) >>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313) >>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:169) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >>> at java.lang.Thread.run(Thread.java:722) >>> TID: [0] [ELB] [2013-07-26 20:20:13,361] WARN >>> {org.apache.synapse.transport.passthru.SourceHandler} - Connection time >>> out after request is read: http-incoming-2 >>> {org.apache.synapse.transport.passthru.SourceHandler} >>> >>> -- >>> Sameera Jayasoma, >>> Architect, >>> >>> WSO2, Inc. (http://wso2.com) >>> email: same...@wso2.com >>> blog: http://sameera.adahas.org >>> twitter: https://twitter.com/sameerajayasoma >>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections >>> >>> Lean . Enterprise . Middleware >>> >> >> >> -- >> Evanthika Amarasiri >> Technical Lead - Quality Assurance >> Management Committee - QA Technologies >> Mobile: +94773125935 >> * >> * >> wso2.com Lean Enterprise Middleware >> >> > > > -- > Sameera Jayasoma, > Architect, > > WSO2, Inc. (http://wso2.com) > email: same...@wso2.com > blog: http://sameera.adahas.org > twitter: https://twitter.com/sameerajayasoma > flickr: http://www.flickr.com/photos/sameera-jayasoma/collections > > Lean . Enterprise . Middleware >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev