Hi Ramith, Nihanth,
Root cause for this problem is, CarbonContextCreatorValve identify your
request as a tenant request, because requestURI contains "/t/".
Things become more complicated because it contains "/t/"
too. When your request is coming through CarbonContextCreatorValve it sets
the curre
One thing you should do is, use the ThreadLocal CC. Don't use the
getCurrentContext method. You should also ensure that the correct tenant CC
is set as the ThreadLocal.
On Thu, Aug 29, 2013 at 10:31 AM, Ramith Jayasinghe wrote:
> I came across this error in AS 5.1.0 as well.
> What happens is,
I came across this error in AS 5.1.0 as well.
What happens is, In this (web) application we do this from super tenant
space:
UserRealmService realmService =
(UserRealmService)
PrivilegedCarbonContext.getCurrentContext()
.getOSGiService(UserRealmService.clas
Hi,
I am getting following exception after the tenant is created. BD credential
is configured in supertenant.
After tenant created db lookup is happening in tenant space, due to that it
fails.
[2013-08-28 21:34:30,461] ERROR
{org.wso2.carbon.issue.tracker.server.impl.IssueServiceImpl}
- Error w