From c280cf9f419e287001c6b44bdcda4adc453ce6bc Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 19 Jun 2009 15:45:48 +0000 Subject: 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 --- .../main/java/org/apache/tuscany/sca/http/jetty/JettyServer.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'java') 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 -- cgit v1.2.3