Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2649E10F8F for ; Sun, 16 Mar 2014 13:20:58 +0000 (UTC) Received: (qmail 77369 invoked by uid 500); 16 Mar 2014 13:20:49 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 77271 invoked by uid 500); 16 Mar 2014 13:20:46 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 77216 invoked by uid 99); 16 Mar 2014 13:20:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2014 13:20:44 +0000 Date: Sun, 16 Mar 2014 13:20:44 +0000 (UTC) From: "Dominique Pfister (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FELIX-4460) Bad HTTPS settings prevent startup HTTP listener MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominique Pfister updated FELIX-4460: ------------------------------------- Attachment: patch.txt Patch to initialize auxiliary HTTPS connector only after having started the server. > Bad HTTPS settings prevent startup HTTP listener > ------------------------------------------------ > > Key: FELIX-4460 > URL: https://issues.apache.org/jira/browse/FELIX-4460 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: http-2.2.2 > Reporter: Dominique Pfister > Attachments: patch.txt > > > Entering some bad values for the HTTPS configuration prevents the complete Jetty server startup. This looks like a regression of upgrading Jetty to version 7. > The current implementation initializes all enabled connectors, adds them to the server and then starts the server which in turn starts all connectors. If one of them fails to start, the complete server startup fails and the Jetty Bridge is no longer accessible via HTTP. > I suggest to initialize an additional HTTPS connector only after having started the server, so at least HTTP stays available if enabled. > -- This message was sent by Atlassian JIRA (v6.2#6252)