summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-19 15:45:48 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-19 15:45:48 +0000
commitc280cf9f419e287001c6b44bdcda4adc453ce6bc (patch)
treebc61c9f631273fc89776bcbf9a381eb5fbc3c6ad /java/sca/modules
parentb8a1bd16a3740e0fced3e9d3dcdfc1c8de0784d0 (diff)
TUSCANY-3107 temporary work around to allow itest/nodes to run
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@786556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java b/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java
index d3115ce6f3..8adccdd8f0 100644
--- a/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java
+++ b/java/sca/modules/host-jetty/src/main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java
@@ -392,7 +392,12 @@ public class JettyServer implements ServletHost {
// Get the port object associated with the given port number
Port port = ports.get(portNumber);
if (port == null) {
- throw new IllegalStateException("No servlet registered at this URI: " + suri);
+ // TODO - EPR - SL commented out exception temporarily as the runtime is shared
+ // between multiple nodes in a VM and shutting down one node blows
+ // up any other nodes when they shut down.
+ //throw new IllegalStateException("No servlet registered at this URI: " + suri);
+ System.out.println("No servlet registered at this URI: " + suri);
+ return null;
}
// Remove the Servlet mapping for the given Servlet