142 |
|
startTimeout = Integer.parseInt(System.getProperty("uk.ac.ukc.iscream.ComponentTimeout")); |
143 |
|
} catch (NumberFormatException e) { |
144 |
|
startTimeout = DEFAULT_COMPONENT_START_TIMEOUT; |
145 |
< |
System.err.println(toString + ": invalid value for ComponentTimeout, using default value of " + startTimeout + " seconds!"); |
145 |
> |
System.err.println(toString + ": unable to read uk.ac.ukc.iscream.ComponentTimeout value, using default!"); |
146 |
|
} |
147 |
+ |
System.out.println(toString + ": using component start timeout of " + startTimeout + " seconds"); |
148 |
|
|
149 |
|
// keep trying until we've started all the components. |
150 |
|
// maybe add support for a limited number of retries |