Still see this with last night (30th) packs (at initial server startup).

Regards,
Evanthika

On Sun, Jul 28, 2013 at 7:30 PM, Evanthika Amarasiri <[email protected]>wrote:

> I too noticed the same with the latest ELB packs. However, I did not
> notice this on a standalone pack. Came across this only when clustering was
> enabled.
>
> [1] - https://wso2.org/jira/browse/CARBON-14230
>
> Regards,
> Evanthika
>
> On Sat, Jul 27, 2013 at 9:24 PM, Manoj Kumara <[email protected]> wrote:
>
>>  Hi Devs,
>>
>> On the mentioned ELB pack once I unzip the pack and start the server
>> (without any config changes) following NPE get thrown. This was
>> only occurred on the first server startup. Once I shutdown the server and
>> start the server again this work without any exceptions.
>>
>> Please have a look.
>>
>> Thanks,
>> Manoj
>>
>>
>> [2013-07-27 21:15:33,685]  INFO - UserStoreManagerRegistry 4
>> UserStoreManagers registered.
>> [2013-07-27 21:15:33,685]  INFO - UserStoreMgtDSComponent Carbon
>> UserStoreMgtDSComponent activated successfully.
>> [2013-07-27 21:15:33,774] FATAL - UserRegistry Failed to add the root
>> collection to the coreRegistry.
>> 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-27 21:15:33,776] 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-27 21:15:33,777] FATAL - CarbonServerManager WSO2 Carbon
>> initialization Failed
>> org.apache.axis2.AxisFault: Exception occured while loading the Axis
>> configuration from
>> /home/manoj/Desktop/4.2.0_Test/07-26/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
>>
>>
>>
>> Best Regards..
>>
>>
>> Manoj Kumara
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>> Twitter:  http://twitter.com/ManKuma
>> Mobile: +94713448188
>>
>> _______________________________________________
>> 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

Reply via email to