Hi,

All the artifacts created by RXTs (such as appversion) were not indexed in
App Factory as we have missed the relevant indexer configurations from
registry.xml file.
I have fixed the issue by adding the below config there.

<indexer
class="org.wso2.carbon.governance.registry.extensions.indexers.RXTIndexer"
mediaTypeRegEx="application/vnd.(.)+\+xml"/>

Note:In order to work indexing properly with your artifacts, artifactType
defined in RXTs should match with 'mediaTypeRegEx' in regisrty.xml.

Moreover it required below configuration too.

<lastAccessTimeLocation>/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime</lastAccessTimeLocation>

Note: Do not left any white spaces/ tabs between 'lastAccessTimeLocation'
tags and its value as it creates the registry file inactive (i.e cannot
view, edit, delete etc) via Carbon console.

Moreover if files are indexing properly, you will see lot of temp files
being created under following directory.

<APPFAC_HOME>/solr/data/index
-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com <http://wso2>
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



 <http://lalajisureshika.blogspot.com/>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to