Community
Participate
Working Groups
* If it is disabled invalid configuration exceptions will
* be ignored. If it is not disbled then rethrow the exception.
*/
if (!((Component)components[i]).isDisabled()) {
if (!this.isDisabled() && !((Component)components[i]).isDisabled()) {
throw ie;
}
// Stop the logging context.
if (contexts[0] != null && contextThreads.length > 0 && contextThreads[0] != null && contextThreads[0].isAlive()) {
contexts[0].setStopping(true);
// Wait until logging context is finished
while (contextThreads[0] != null && contextThreads[0].isAlive()) {
try {
Thread.sleep(200);
System.out.println("Waited half second for logging context to end");
catch (InterruptedException e) {
contexts[i].update();
contextsReadyCount++;
// Only increment context ready count if context is not disabled
if (!contexts[i].isDisabled()) {
catch(AdapterException e) {
if (!validating) {