cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1079174 - /cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/CXFJettySslSocketConnector.java
Date Tue, 08 Mar 2011 05:35:15 GMT
Author: ningjiang
Date: Tue Mar  8 05:35:15 2011
New Revision: 1079174

URL: http://svn.apache.org/viewvc?rev=1079174&view=rev
Log:
CXF-3378 Fixed the Jetty server start up issue when upgrade to Jetty7.3.1

Modified:
    cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/CXFJettySslSocketConnector.java

Modified: cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/CXFJettySslSocketConnector.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/CXFJettySslSocketConnector.java?rev=1079174&r1=1079173&r2=1079174&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/CXFJettySslSocketConnector.java
(original)
+++ cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/CXFJettySslSocketConnector.java
Tue Mar  8 05:35:15 2011
@@ -97,6 +97,13 @@ public class CXFJettySslSocketConnector 
             }
         }
     }
+    
+    protected void doStart() throws Exception {
+        // setup the create SSLContext on the SSLContextFactory
+        getSslContextFactory().setSslContext(createSSLContext());
+        super.doStart();
+    }
+    
     protected SSLContext createSSLContext() throws Exception  {
         String proto = getProtocol() == null
             ? "TLS"



Mime
View raw message