Hi Prabath, Is this fixed? Still I am getting this error while deploying dbs files in BAM.
Thanks, KasunW On Mon, Apr 25, 2011 at 1:11 PM, Prabath Abeysekera <praba...@wso2.com>wrote: > Hi Charitha, > > On Mon, Apr 25, 2011 at 12:37 PM, Charitha Kankanamge > <chari...@wso2.com>wrote: > >> Hi, >> >> Just downloaded the latest DSS pack from [1] and deployed a DS. The >> following exceptions were thrown while deploying the service. I'm repeating, >> these type of errors are primary, positive cases which should be captured >> before releasing a pack for QA testing. If the pack is a half baked one, >> please let us know before start testing! >> > > This happens due to some changes that have been done against the event > component > and we are still amidst of incorporating them to the data services > component. Anyway > We' ll make sure that we keep you informed of this type of issues next > time. > > > >> >> [1] http://10.100.1.43/~carbon/releases/carbon/3.2.0/2011-04-24_06-32-07/ >> >> >> [2011-04-25 12:25:15,256] ERROR >> {org.wso2.carbon.user.core.common.DefaultRealmService} - >> java.lang.NullPointerException >> at >> org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157) >> at >> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:234) >> at >> org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199) >> at >> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426) >> at >> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291) >> at >> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484) >> at >> org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:212) >> at >> org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:142) >> at >> org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385) >> at >> org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401) >> at >> org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658) >> at >> org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193) >> at >> org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221) >> at >> org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609) >> at >> org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955) >> at >> org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176) >> at >> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) >> at >> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> at >> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94) >> at >> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93) >> at java.util.TimerThread.mainLoop(Timer.java:512) >> at java.util.TimerThread.run(Timer.java:462) >> [2011-04-25 12:25:15,259] ERROR >> {org.wso2.carbon.registry.core.session.UserRegistry} - An error occurred >> while obtaining the user realm for the tenant: -1. >> [2011-04-25 12:25:15,259] ERROR >> {org.wso2.carbon.dataservices.core.engine.DataService} - Error in setting >> event broker >> DS Code: UNKNOWN_ERROR >> Nested Exception:- >> org.wso2.carbon.event.core.exception.EBRuntimeException: Can not access >> the registry >> >> at >> org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:393) >> at >> org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401) >> at >> org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658) >> at >> org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193) >> at >> org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221) >> at >> org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609) >> at >> org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955) >> at >> org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176) >> at >> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) >> at >> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> at >> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94) >> at >> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93) >> at java.util.TimerThread.mainLoop(Timer.java:512) >> at java.util.TimerThread.run(Timer.java:462) >> Caused by: org.wso2.carbon.event.core.exception.EBRuntimeException: Can >> not access the registry >> at >> org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:234) >> at >> org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:142) >> at >> org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385) >> ... 18 more >> Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: An >> error occurred while obtaining the user realm for the tenant: -1. >> at >> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:245) >> at >> org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:199) >> at >> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426) >> at >> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291) >> at >> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484) >> at >> org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:212) >> ... 20 more >> Caused by: org.wso2.carbon.user.api.UserStoreException >> at >> org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:165) >> at >> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:234) >> ... 25 more >> Caused by: java.lang.NullPointerException >> at >> org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157) >> ... 26 more >> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > Regards, > -- > Prabath Abeysekara > Software Engineer > WSO2 Inc. > Email: praba...@wso2.com <harsha...@wso2.com> > Mobile: +94774171471 > > <http://harshana05.blogspot.com/> > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Kasun Weranga* Software Engineer ** *WSO2, Inc. *lean.enterprise.middleware. mobile : +94 772314602 <http://sanjeewamalalgoda.blogspot.com/>blog :<http://sanjeewamalalgoda.blogspot.com/> http://kasunweranga.blogspot.com/
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev