UIMA-6116 Improve error msg when no JD resources available
git-svn-id: https://svn.apache.org/repos/asf/uima/uima-ducc/trunk@1865331 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/OrchestratorComponent.java b/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/OrchestratorComponent.java
index b6f5f36..37b0001 100644
--- a/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/OrchestratorComponent.java
+++ b/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/OrchestratorComponent.java
@@ -960,9 +960,10 @@
dbDuccWorks.upsertSpecification(specificationType, id, tp);
}
catch(ResourceUnavailableForJobDriverException e) {
- String error_message = messages.fetch(" type=system error, text=job driver node unavailable.");
+ String error_message = messages.fetch(" type=system error, text=all job driver allocations in-use or node unavailable.");
logger.error(methodName, null, error_message);
submitError(properties, error_message);
+ logger.error(methodName, null, e, e.toString());
}
}
else {