You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/08/01 11:23:07 UTC

[jira] [Closed] (FELIX-4438) [Jetty] Jetty server reports itself as being version 8.y.z-SNAPSHOT

     [ 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 method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)