summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Just2013-01-28 10:54:10 (EST)
committer Sven Rottstock2013-05-15 10:49:00 (EDT)
commitfe8234d5cc69738ab0990924406e3b29e8f4a6e1 (patch)
tree165397b59b3b6c799c4903bc1e37b25930d1e298
parenta5eb66ef78d79fc8cbcf2183cba4b11ffca56219 (diff)
downloadorg.eclipse.stardust.engine-fe8234d5cc69738ab0990924406e3b29e8f4a6e1.zip
org.eclipse.stardust.engine-fe8234d5cc69738ab0990924406e3b29e8f4a6e1.tar.gz
org.eclipse.stardust.engine-fe8234d5cc69738ab0990924406e3b29e8f4a6e1.tar.bz2
A misleading error message is quite hard to solve.
Before this change, a missing context factory in carnot.properties was reported as missing initial context which is quite confusing 1. I have authored 100% of the content I'm contributing 2. I have the rights to donate the content to Eclipse 3. I contribute the content under the EPL Change-Id: Ie5dca31d3fccd26535fa0534d976585359134b7e
-rw-r--r--stardust-engine-base/src/main/java/org/eclipse/stardust/common/utils/ejb/EJBUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/stardust-engine-base/src/main/java/org/eclipse/stardust/common/utils/ejb/EJBUtils.java b/stardust-engine-base/src/main/java/org/eclipse/stardust/common/utils/ejb/EJBUtils.java
index 1200f37..d26c09c 100644
--- a/stardust-engine-base/src/main/java/org/eclipse/stardust/common/utils/ejb/EJBUtils.java
+++ b/stardust-engine-base/src/main/java/org/eclipse/stardust/common/utils/ejb/EJBUtils.java
@@ -102,7 +102,7 @@ public class EJBUtils
if (factoryName == null)
{
throw new PublicException(
- "You have not supplied the correct JNDIInitialContext parameter in properties");
+ "You have not supplied the correct " + INITIAL_CONTEXT_FACTORY + " parameter in properties");
}
trace.debug("Initial context factory is " + factoryName);