- Timestamp:
- 2014-10-10T16:59:53+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r29222 r29361 1755 1755 GS3ServerThread thread = new GS3ServerThread(Configuration.gsdl3_src_path, "restart"); 1756 1756 thread.start(); 1757 1758 // sleep before returning and doing the configGS3Server: give the GS3 server time to restart 1759 try { 1760 Thread.sleep(5000); 1761 } catch(Exception e) { 1762 e.printStackTrace(); 1763 } 1757 1758 // Give the GS3 server time to restart: 1759 // the GS3ServerThread above waits for the process to terminate. ant restart target calls the start-tomcat ant target 1760 // and that takes waits 5 seconds and polls to see if a GS3 server index page has loaded. So no need to sleep here 1764 1761 1765 1762 } … … 2038 2035 return true; 2039 2036 } 2040 2041 if(CollectionManager.isSolrCollection()) {2042 // No installCollection() for GS3 solr collection: activate will take care of that2043 DebugStream.println("Solr collection build complete: building already moved to index by activate.pl.");2044 2045 // Finished building,2046 // For now, for a GS3 solr collection, we'd have stopped the GS3 server before building2047 // and will now need to restart it.2048 GS3ServerThread thread = new GS3ServerThread(Configuration.gsdl3_src_path, "restart");2049 thread.start();2050 2051 return true;2052 }2053 2054 2037 2055 2038 DebugStream.println("Build complete. Moving files.");
Note:
See TracChangeset
for help on using the changeset viewer.