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 AB57410091 for ; Fri, 7 Feb 2014 11:41:31 +0000 (UTC) Received: (qmail 65026 invoked by uid 500); 7 Feb 2014 11:41:23 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 64861 invoked by uid 500); 7 Feb 2014 11:41:21 -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 64821 invoked by uid 99); 7 Feb 2014 11:41:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 11:41:19 +0000 Date: Fri, 7 Feb 2014 11:41:19 +0000 (UTC) From: "Achim Nierbeck (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4421) Embed Jetty 8 in Felix Http Jetty 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-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894430#comment-13894430 ] Achim Nierbeck commented on FELIX-4421: --------------------------------------- regarding Jetty 9 if really needed, Pax Web already supports it. > Embed Jetty 8 in Felix Http Jetty > --------------------------------- > > Key: FELIX-4421 > URL: https://issues.apache.org/jira/browse/FELIX-4421 > Project: Felix > Issue Type: New Feature > Components: HTTP Service > Affects Versions: http-2.2.1 > Reporter: Dominique Pfister > Attachments: patch.txt > > > Currently, the Jetty version embedded in Felix Http Jetty is version 7.6.13.v20130916. In order to leverage features available in Servlet API 3.0 only, I'd like to change the embedded version to 8.1.14.v20131031. > A quick test shows that increasing this version number in parent/pom.xml alone requires some small changes to JettyService, deployment of a fresh build of Http Jetty into an OSGI container succeeds, but no request can be handled, because Jetty internally calls methods on interfaces and classes that were only introduced in Servlet API 3.0. > This implies that the servlet version supported should be upped to 3.0 as well. In order to be backward compatible with bundles expecting a 2.x version, one could also export a virtual version (e.g. 2.6) to satisfy those. -- This message was sent by Atlassian JIRA (v6.1.5#6160)