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 <[email protected]> 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} > > > > On Fri, Jul 26, 2013 at 7:21 PM, Evanthika Amarasiri > <[email protected]>wrote: > >> I'm still seeing this issue with the latest ELB packs. >> >> [1] - https://wso2.org/jira/browse/CARBON-14230 >> >> Regards, >> Evanthika >> >> >> On Thu, Jul 25, 2013 at 3:38 PM, Pradeep Fernando <[email protected]>wrote: >> >>> Hi, >>> >>> Thanks, will look in to this.. >>> >>> >>> On Thu, Jul 25, 2013 at 2:58 PM, Ajith Vitharana <[email protected]>wrote: >>> >>>> AFAIK , The code accessing the registry should set the domain/id. >>>> >>>> Thanks >>>> Ajith. >>>> >>>> >>>> On Thu, Jul 25, 2013 at 2:54 PM, Senaka Fernando <[email protected]>wrote: >>>> >>>>> Hi all, >>>>> >>>>> Should the registry set the tenant domain in this case, or the code >>>>> accessing the registry set the tenant domain? AFAIU, its the code >>>>> accessing >>>>> the registry which needs to ensure that this is done isn't it? In other >>>>> words, whoever responsible for creating this thread should be doing this >>>>> isn't it? >>>>> >>>>> Thanks, >>>>> Senaka. >>>>> >>>>> >>>>> On Thu, Jul 25, 2013 at 2:43 PM, Pradeep Fernando <[email protected]>wrote: >>>>> >>>>>> Hi Senaka/Ajith, >>>>>> >>>>>> FYI, >>>>>> >>>>>> 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.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:289) >>>>>> at >>>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:283) >>>>>> at >>>>>> org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:67) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:151) >>>>>> at >>>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:630) >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:374) >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299) >>>>>> 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.getLocalRepository(EmbeddedRegistryService.java:481) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getLocalRepository(EmbeddedRegistryService.java:477) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:294) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:188) >>>>>> at >>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >>>>>> at >>>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) >>>>>> at >>>>>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290) >>>>>> at >>>>>> org.wso2.carbon.core.init.OSGiAxis2ServicesListener.bundleChanged(OSGiAxis2ServicesListener.java:84) >>>>>> at >>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >>>>>> at >>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >>>>>> at >>>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >>>>>> [2013-07-25 09:10:39,540] ERROR - CarbonAxisConfigurator Error >>>>>> occurred while populating the CarbonContext on the AxisConfiguration >>>>>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to >>>>>> add the root collection to the coreRegistry. >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399) >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299) >>>>>> 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.getLocalRepository(EmbeddedRegistryService.java:481) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getLocalRepository(EmbeddedRegistryService.java:477) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:294) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:188) >>>>>> at >>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >>>>>> at >>>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) >>>>>> at >>>>>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290) >>>>>> at >>>>>> org.wso2.carbon.core.init.OSGiAxis2ServicesListener.bundleChanged(OSGiAxis2ServicesListener.java:84) >>>>>> at >>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >>>>>> at >>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >>>>>> at >>>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >>>>>> 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.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:289) >>>>>> at >>>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:283) >>>>>> at >>>>>> org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:67) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:151) >>>>>> at >>>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:630) >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:374) >>>>>> ... 17 more >>>>>> [2013-07-25 09:10:39,541] FATAL - CarbonServerManager WSO2 Carbon >>>>>> initialization Failed >>>>>> org.apache.axis2.AxisFault: Exception occured while loading the Axis >>>>>> configuration from >>>>>> /build/trunk/platform/products/elb/modules/distribution/target/wso2elb-2.1.0-SNAPSHOT/repository/conf/axis2/axis2.xml >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:190) >>>>>> at >>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >>>>>> at >>>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) >>>>>> at >>>>>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290) >>>>>> at >>>>>> org.wso2.carbon.core.init.OSGiAxis2ServicesListener.bundleChanged(OSGiAxis2ServicesListener.java:84) >>>>>> at >>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >>>>>> at >>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >>>>>> at >>>>>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >>>>>> Caused by: org.apache.axis2.deployment.DeploymentException: Error >>>>>> occurred while populating the CarbonContext on the AxisConfiguration >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:303) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:188) >>>>>> ... 8 more >>>>>> Caused by: >>>>>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add >>>>>> the root collection to the coreRegistry. >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399) >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299) >>>>>> 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.getLocalRepository(EmbeddedRegistryService.java:481) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getLocalRepository(EmbeddedRegistryService.java:477) >>>>>> at >>>>>> org.wso2.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:294) >>>>>> ... 9 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.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:289) >>>>>> at >>>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:283) >>>>>> at >>>>>> org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:67) >>>>>> at >>>>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:151) >>>>>> at >>>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:630) >>>>>> at >>>>>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:374) >>>>>> ... 17 more >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> * <http://us13.wso2con.com/> >>>>> * >>>>> * >>>>> * >>>>> *Senaka Fernando* >>>>> Senior Technical Lead; WSO2 Inc.; http://wso2.com* >>>>> Member; Apache Software Foundation; http://apache.org >>>>> >>>>> E-mail: senaka AT wso2.com >>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>> >>>>> *Lean . Enterprise . Middleware >>>>> >>>> >>>> >>>> >>>> -- >>>> Ajith Vitharana. >>>> WSO2 Inc. - http://wso2.org >>>> Email : [email protected] >>>> Mobile : +94772217350 >>>> >>>> >>> >>> >>> -- >>> *Pradeep Fernando* >>> Associate Technical Lead;WSO2 Inc.; http://wso2.com >>> >>> blog: http://pradeepfernando.blogspot.com >>> m: +94776603662 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > * > * > *Nirodha Gallage* > Senior Software Engineer, QA. > WSO2 Inc.: http://wso2.com/ > Mobile: +94716429078 > -- Sameera Jayasoma, Architect, WSO2, Inc. (http://wso2.com) email: [email protected] 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 [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
