Hi,

I was checking the issue [1], and by going through the code, I found that
when the deployment sync. message is coming to a server, it is running the
scheduled task manually by calling
"CarbonDeploymentSchedulerTask#runAxisDeployment" [2], which in turn calls
"ScheduleTask#run" method (the super type's method) directly, and it is
missing the code, that is there in CarbonDeploymentSchedulerTask#run, which
sets the tenant flow, which would have been called when the task is running
normally. Can someone please review this code and do the fix accordingly.

[1] https://wso2.org/jira/browse/STRATOS-2217
[2]
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.5/src/main/java/org/wso2/carbon/core/deployment/CarbonDeploymentSchedulerTask.java

-- 
*Anjana Fernando*
Associate Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to