Hi,
I was going through this [1] EIP tutorial. According to that I have created
a Topic and configured ESB, but when I send the soap message to the ESB, it
throws an exception saying "DefaultRealmService Tenant domain has not been
set in CarbonContext" please find the full stack trace below. Am I missing
something? Appreciate some guidance
full stack trace -
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$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
[2014-01-24 14:14:38,621] 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$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
[1] http://docs.wso2.org/display/IntegrationPatterns/Event+Message
Thanks,
--
Rajith Vitharana
Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev