felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-4438) [Jetty] Jetty server reports itself as being version 8.y.z-SNAPSHOT
Date Sat, 01 Aug 2015 09:23:07 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Carsten Ziegeler closed FELIX-4438.

> [Jetty] Jetty server reports itself as being version 8.y.z-SNAPSHOT
> -------------------------------------------------------------------
>                 Key: FELIX-4438
>                 URL: https://issues.apache.org/jira/browse/FELIX-4438
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.2.1
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: http-2.2.2
> The Jetty server currently announces itself as version "8.y.z-SNAPSHOT" in the ServletContext.getServerInfo()
and the Server header.
> The fault seems to be that Jetty's Server class inspects the package implementation name
and version and does not find it. It then falls back to the jetty.version system property
which is not set. Finally it falls back to said version "8.y.z-SNAPSHOT".
> The fix is to set the jetty.version system property in the JettyService.getJettyVersion

This message was sent by Atlassian JIRA

View raw message