WSO2 API Manager issues with solr

Solution 1:

This could happen if the indexing has not happened properly. You can try redoing the indexing as follows.

  1. Backup the solr folder which resides in /solr and remove from API Manager home location.
  2. Open /repository/conf/registry.xml
  3. Under indexingConfiguration tag there is a value called lastAccessTimeLocation. Default value is

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

Change that value to

/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime1

  1. Start the server.
  2. Wait about 2 minutes for indexing.
  3. Recheck the creation of the API.