Project

General

Profile

Actions

Task #5928

closed

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 11 years ago. Updated about 11 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.

Actions #1

Updated by Jing Tao over 11 years ago

  • Assignee set to Jing Tao
  • Target version set to 2.1.0
Actions #2

Updated by Jing Tao over 11 years ago

  • Parent task set to #5810
Actions #3

Updated by ben leinfelder over 11 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.

Actions #4

Updated by Jing Tao over 11 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.

Actions

Also available in: Atom PDF