felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1579739 - /felix/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java
Date Thu, 20 Mar 2014 21:04:51 GMT
Author: fmeschbe
Date: Thu Mar 20 21:04:51 2014
New Revision: 1579739

URL: http://svn.apache.org/r1579739
Log:
FELIX-4460 Properly stop the server using the stopJetty method

Modified:
    felix/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java

Modified: felix/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java?rev=1579739&r1=1579738&r2=1579739&view=diff
==============================================================================
--- felix/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java
(original)
+++ felix/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java
Thu Mar 20 21:04:51 2014
@@ -276,14 +276,7 @@ public final class JettyService extends 
             }
             else
             {
-                try
-                {
-                    this.server.stop();
-                }
-                catch (Exception e)
-                {
-                    // should log
-                }
+                this.stopJetty();
                 SystemLogger.error("Jetty stopped (no connectors available)", null);
             }
         }



Mime
View raw message