https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362013-04-30T21:35:55ZEcoinformatics RedmineMetacat - Task #5928: Make sure to start metacat-index web apps when the metacat web apps is start-up during the tomcat startuphttps://projects.ecoinformatics.org/ecoinfo/issues/5928?journal_id=203922013-04-30T21:35:55ZJing Taotao@nceas.ucsb.edu
<ul><li><strong>Assignee</strong> set to <i>Jing Tao</i></li><li><strong>Target version</strong> set to <i>2.1.0</i></li></ul> Metacat - Task #5928: Make sure to start metacat-index web apps when the metacat web apps is start-up during the tomcat startuphttps://projects.ecoinformatics.org/ecoinfo/issues/5928?journal_id=203962013-05-01T21:22:45ZJing Taotao@nceas.ucsb.edu
<ul><li><strong>Parent task</strong> set to <i>#5810</i></li></ul> Metacat - Task #5928: Make sure to start metacat-index web apps when the metacat web apps is start-up during the tomcat startuphttps://projects.ecoinformatics.org/ecoinfo/issues/5928?journal_id=204142013-05-17T17:52:04Zben leinfelderleinfelder@nceas.ucsb.edu
<ul></ul><p>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.</p> Metacat - Task #5928: Make sure to start metacat-index web apps when the metacat web apps is start-up during the tomcat startuphttps://projects.ecoinformatics.org/ecoinfo/issues/5928?journal_id=204182013-05-22T18:23:20ZJing Taotao@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>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.</p>
<p>Both the waiting time and maximum attempts can be read from the metacat.properties.</p>