i

On Tue, Jul 22, 2014 at 3:37 PM, Malintha Adikari <[email protected]> wrote:

> Hi Dilini,
>
> AFAIK, this is a bug. It returns -1 ( which is not a valid tenant Id)
> because we haven't set the tenant id property while we deploy/undeploy the
> web app. There is a reported jira [1] for this issue and I think the issue
> is been fixed now.
>
I just tried this in AppCloud, and it works .

>
> [1]https://wso2.org/jira/browse/CARBON-14807
>
> Regards,
> Malintha Adikari
>
>
> On Tue, Jul 22, 2014 at 3:29 PM, Dilini Muthumala <[email protected]> wrote:
>
>> Hi,
>>
>> Would like to know, how to $subject.
>>
>> I tired with,
>> PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId();
>>
>> which returned -1, as the tenant id.
>>
>> Thanks,
>> Dilini
>>
>> --
>> *Dilini Muthumala*
>> Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail :* [email protected]
>> *Mobile: *+94713 400 029
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Malintha Adikari*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> Mobile: +94 71 2312958
> Blog:    http://malinthas.blogspot.com
> Page:   http://about.me/malintha
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Asanka DissanayakeSoftware Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com <http://wso2.com/>*

*email: [email protected] <[email protected]>,   blog:
cyberwaadiya.blogspot.com
<http://cyberwaadiya.blogspot.com>, asankastechtalks.wordpress.com
<http://asankastechtalks.wordpress.com>  mobile: +94 71 8373821*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to