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

Thanks,
Rajeeva.


On Wed, Jul 16, 2014 at 7:01 AM, Ajith Vitharana <aji...@wso2.com> 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 <raje...@wso2.com>
> 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  :  aji...@wso2.com
> Mobile : +94772217350
>
>


-- 
*Rajeeva Uthayasangar*
Software Engineer
WSO2, Inc.:http://wso2.com


Mobile: +94777298873
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to