Hi Rajeeva,

On Wed, Jul 16, 2014 at 11:21 AM, Rajeeva Uthayasangar <[email protected]>
wrote:

> Hi,
> Please find the mount config below:
>
> registry.xml (Publisher/Store/Gateway)
> ----------------------------------------------------------
>
> <dbConfig name="govregistry">
>   <dataSource>jdbc/WSO2REG_DB</dataSource>
> </dbConfig>
> <remoteInstance url="https://store.apim-wso2.com";>
>    <id>gov</id>
>    <dbConfig>govregistry</dbConfig>
>    <readOnly>false</readOnly>
>    <enableCache>true</enableCache>
>    <registryRoot>/</registryRoot>
>     <cacheId>root@jdbc
> :mysql://localhost:3306/regdb?autoReconnect=true&amp;relaxAutoCommit=true</cacheId>
> </remoteInstance>
>
> <mount path="/_system/config" overwrite="true">
>        <instanceId>gov</instanceId>
>        <targetPath>/_system/config</targetPath>
> </mount>
>
> <mount path="/_system/governance" overwrite="true">
>    <instanceId>gov</instanceId>
>    <targetPath>/_system/governance</targetPath>
> </mount>
>
>
> Cache is not being updated when there is a state transition. Had a offline
> discussion with Ajith and reported Jira [1].
>
> [1]. https://wso2.org/jira/browse/REGISTRY-2229
>

The description of the  public JIRA is bit wrong. Because there is no any
relation of the lastAccesTime resource name change here.
Issue is due to registry caching not updating properly in store end  (You
can get the distributed setup works after disable the cache).

Thanks
Ajith

>
> Thanks,
> Rajeeva.
>
>
> On Wed, Jul 16, 2014 at 7:01 AM, Ajith Vitharana <[email protected]> wrote:
>
>> This can be due to registry caching not updating properly in the
>> distributed setup. Please double check the mount config.
>>
>> Thanks
>> Ajith
>>
>>
>> On Fri, Jul 11, 2014 at 12:15 PM, Rajeeva Uthayasangar <[email protected]>
>> wrote:
>>
>>> Hi,
>>> I'm testing the App-Manager in a distributed deployment with mounted
>>> registry. I have created webapp and published from Publisher and it is not
>>> being shown in Store UI.
>>>
>>> But if i rename the lastAccessTimeLocation of indexingConfiguration  in
>>> registry.xml, it gets listed in the Store. Every time when the webapp is
>>> created i need to rename this configuration to see the newly created webapp
>>> in the Store UI.
>>>
>>
>>
>>
>>>
>>> Thanks,
>>> Rajeeva.
>>> --
>>> *Rajeeva Uthayasangar*
>>> Software Engineer
>>> WSO2, Inc.:http://wso2.com
>>>
>>>
>>> Mobile: +94777298873
>>>
>>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  [email protected]
>> Mobile : +94772217350
>>
>>
>
>
> --
> *Rajeeva Uthayasangar*
> Software Engineer
> WSO2, Inc.:http://wso2.com
>
>
> Mobile: +94777298873
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  [email protected]
Mobile : +94772217350
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to