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

Reply via email to