2019-11-08 04:39:31.397 [ERROR] com.aveksa.afx.server.manager.MMCRequestManagerImpl:136 - Unable to get status for all Connectors from MMC
com.aveksa.afx.server.manager.MMCException: Failed to get flows for server. No associated server Id. Check Request Manager Initialization
Nov 08, 2019 9:21:57 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
07 Nov 2019 14:14:51 [localhost-startStop-1] ERROR org.apache.jackrabbit.core.RepositoryImpl - Failed to initialize workspace 'default'
javax.jcr.RepositoryException: Unable to initialize query handler: org.apache.jackrabbit.core.query.lucene.SearchIndex@474b01a7
The AFX Connectors fail to deploy because mmc-console (part of the AFX Server) has failed to start. The mmc-console collects connector information in order for the connectors to run. If mmc-console fails to start, then the connector information is never collected and the connectors cannot move from Deployed to Running.
Mmc-console has failed to start because the indexes for the internal database used by the mmc-console are corrupted as indicated by the SearchIndex errors.
This issue may occur upon AFX startup if the previously running AFX instance was not shutdown cleanly.
mv /home/oracle/AFX/mmc-console/mmc-data/workspaces/default/index /home/oracle/AFX/mmc-console/mmc-data/workspaces/default/index_mmddyyyy mv /home/oracle/AFX/mmc-console/mmc-data/repository/index /home/oracle/AFX/mmc-console/mmc-data/repository/index_mmddyyyy