- Timestamp:
- 2017-04-06T18:58:07+12:00 (7 years ago)
- Location:
- main/trunk/greenstone3/src/java/org/greenstone
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/OAIPMH.java
r31414 r31579 151 151 logger.warn("oai-inf database for collection + " + this.cluster_name + " does not exist."); 152 152 oaiinf_db = null; 153 } else if (!this.oaiinf_db.openDatabase(oaiinf_db_file, SimpleCollectionDatabase.READ)) { 154 logger.warn("Could not open oai-inf database for collection + " + this.cluster_name + "!"); 155 oaiinf_db = null; 153 } else { 154 logger.info("Going to try opening oai-inf database for collection " + this.cluster_name); 155 if (!this.oaiinf_db.openDatabase(oaiinf_db_file, SimpleCollectionDatabase.READ)) { 156 logger.warn("Could not open oai-inf database for collection " + this.cluster_name + "!"); 157 oaiinf_db = null; 158 } 156 159 } 157 160 -
main/trunk/greenstone3/src/java/org/greenstone/util/SafeProcess.java
r31578 r31579 129 129 // monitor for any error messages 130 130 errorGobbler // ReaderFromProcessOutputStream 131 = new SafeProcess.InputStreamGobbler(prcs.getErrorStream(), splitStd OutputNewLines);131 = new SafeProcess.InputStreamGobbler(prcs.getErrorStream(), splitStdErrorNewLines); 132 132 133 133 // monitor for the expected std output line(s) 134 134 outputGobbler 135 = new SafeProcess.InputStreamGobbler(prcs.getInputStream(), splitStd ErrorNewLines);135 = new SafeProcess.InputStreamGobbler(prcs.getInputStream(), splitStdOutputNewLines); 136 136 137 137 // register line by line handlers, if any were set, for the process stderr and stdout streams
Note:
See TracChangeset
for help on using the changeset viewer.