Project

General

Profile

Task #5928

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

Added by Jing Tao over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/30/2013
Due date:
% Done:

0%

Estimated time:

Description

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.

History

#1 Updated by Jing Tao over 6 years ago

  • Target version set to 2.1.0
  • Assignee set to Jing Tao

#2 Updated by Jing Tao over 6 years ago

  • Parent task set to #5810

#3 Updated by ben leinfelder over 6 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 6 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.

Also available in: Atom PDF