summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-10-09 12:25:04 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-10-09 12:25:04 +0000
commitb0b6dc22a1156b400bc6648fb71e96490f43f2c3 (patch)
treebd1ab83c6a5917e3d3c859ca3424c6e17f106ba9 /java/sca
parentefe3363a815a777ecd283928900404dea84a7e1f (diff)
Fix to catch any errors when the container running tuscany doesn't have a jndi environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@703152 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
index 90c13e6da8..ffc34e7328 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java
@@ -65,7 +65,7 @@ public class Jsr237WorkScheduler implements WorkScheduler {
try {
InitialContext ctx = new InitialContext();
jsr237WorkManager = (WorkManager)ctx.lookup("java:comp/env/wm/TuscanyWorkManager");
- } catch (NamingException e) {
+ } catch (Throwable e) {
// ignore
}
if (jsr237WorkManager == null) {