Feature #5810: Implement SOLR-based search
Make sure to start metacat-index web apps when the metacat web apps is start-up during the tomcat startup
Metacat-index will use the distribute system metadata map from the metacat during the startup. So we need to make sure that the metacat web apps is ready when the metacat-index is started.
#3 Updated by ben leinfelder over 7 years ago
Is there a way to tell Tomcat which order to load the webapps? I have seen some errors on mn-demo-4 when metacat-index.war is loaded before knb.war (cannot connect to Hazelcast) so this is definitely something to consider. We may need to have Metacat call something in metacat-index to start the listeners and initialize the indexing application.
#4 Updated by Jing Tao over 7 years ago
- Status changed from New to Closed
Added the mechanism to wait some time if the MNode or the Hazelcast is not ready. We also add a maximum attempt control for waiting. If the attempts exceed the maximum number, the regenerating process will stop.
Both the waiting time and maximum attempts can be read from the metacat.properties.