Hi Danushka,

Tenant domain and tenant Id are set properly at everytime. other parameters
are null. ok, lets see on Monday.
@Harsha,
Could be, have any idea of overcoming that ??

On Fri, Mar 6, 2015 at 10:08 PM, Danushka Fernando <[email protected]>
wrote:

> May be this is due to some missing patch. Lets discuss this monday.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Fri, Mar 6, 2015 at 9:43 PM, Harsha Thirimanna <[email protected]>
> wrote:
>
>> Hi Mahesh,
>> Is this may be tenant loading delay for the first time ?
>> On Mar 6, 2015 6:51 AM, "Danushka Fernando" <[email protected]> wrote:
>>
>>> When you say "CarbonContext data are empty" are they null or are they
>>> not tenant data?
>>> What's the value of tenant domain and tenant id of carbon context?
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>> On Fri, Mar 6, 2015 at 8:10 PM, Mahesh Chinthaka <[email protected]>
>>> wrote:
>>>
>>>>
>>>> Hi All,
>>>>
>>>> Im working on [1]. This is regarding appfactory sample "Customer
>>>> Portal".
>>>>
>>>> We have a webapp that uses a datasource/database.
>>>> When we deploy it and access for the first time , context data doesn't
>>>> get loaded. When refreshed the browser or try to access the app for the
>>>> second time (click again in 'open' url)  it works fine.
>>>>
>>>> When I analyzed and debugged the code I found that CarbonContext data
>>>> are empty.
>>>> But in ApplicationAwareDataSourceRepository.java class and
>>>> in CarbonContextCreatorValve.java class those context details are being set
>>>> properly.
>>>>
>>>> When our sample webapp tries to read those values it returns null for
>>>> the first time.
>>>>
>>>> What can be the reason for this ?
>>>>
>>>> [1] - https://wso2.org/jira/browse/APPFAC-2998
>>>>
>>>>
>>>> --
>>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>>> Email: [email protected] | Web: www.wso2.com
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>


-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to