I tried to run the Publish-Subscribe Chanel scenario in the EIP guide (
http://docs.wso2.org/display/IntegrationPatterns/Publish-Subscribe+Channel
).
As it says in the guide, i added a new Topic and subscribed with the urls
of the two server instances.But I am getting the following exception at the
ESB when i try to run the client.

[2013-12-11 14:30:08,656] ERROR - DefaultRealmService Tenant domain has not
been set in CarbonContext
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:224)
at
org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:54)
at
org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:159)
at
org.wso2.carbon.event.core.internal.delivery.inmemory.InMemoryDeliveryManager.publish(InMemoryDeliveryManager.java:87)
at
org.wso2.carbon.event.core.internal.EventPublisher.run(EventPublisher.java:56)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2013-12-11 14:30:08,657] ERROR - EventPublisher Can not publish the
message
org.wso2.carbon.event.core.exception.EventBrokerException: Can not access
the user store manager
at
org.wso2.carbon.event.core.internal.delivery.inmemory.InMemoryDeliveryManager.publish(InMemoryDeliveryManager.java:109)
at
org.wso2.carbon.event.core.internal.EventPublisher.run(EventPublisher.java:56)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)


Thanks,
Vimuth
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to