Hi,
The problem occurs when a Promote Governance action is happened. At this
point one registry key is copied to somewhere else and delete the original
one.
/<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
_system<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*governance*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*repository*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*applications*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*issuetracker2399*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*Development*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*1.0.0*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
/
*appversion<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/repository/applications/issuetracker2399/Development/1.0.0/appversion#>
*
is copied to 
/<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
_system<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*governance*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*repository*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*applications*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*issuetracker2399*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*Testing*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*1.0.0*
<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
/
*appversion<https://appfactorypreview.wso2.com/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&path=/_system/governance/repository/applications/issuetracker2399/Testing/1.0.0/appversion&screenWidth=1920#>
. *
After the promote action happens there is a deployment happening. At the
end of this deployment the Jenkins Server returns to the
ApplicationDeployer updateDeploymentInformation. From there it calls to the
RXTManager updateAppVersionRxt. And it calls getAppVersionArtifact. From
there it returns an artifact object which contains some old data that was
there in Development key (The first key I mentioned) and doesnot match with
the data in the either the testing or the development keys. I saw the the
getAppVersionArtifact is getting this object from the cache.
So any idea about the root cause for this issue.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Tue, Mar 12, 2013 at 4:11 AM, Senaka Fernando <[email protected]> wrote:

> Hi Danushka,
>
> Are we sure we got the cache setup right? We can't disable this across
> everything of course. Is there any specific context with regards to this
> issue (as in how did you run into this issue, in what product, what code)?
>
> Thanks,
> Senaka.
>
> On Mon, Mar 11, 2013 at 10:31 AM, Danushka Fernando <[email protected]>wrote:
>
>> We are doing a registry update and when we are retrieving the rxt back
>> value is different. checked with the current value in registry. So can we
>> disable this cache?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> * <http://wso2con.com/>
> *
> *
>
> Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to