diff options
-rw-r--r-- | java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/work/Jsr237WorkScheduler.java | 2 |
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) { |