You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2014/02/26 18:01:22 UTC
[jira] [Created] (FELIX-4438) [Jetty] Jetty server reports itself
as being version 8.y.z-SNAPSHOT
Felix Meschberger created FELIX-4438:
----------------------------------------
Summary: [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.1.5#6160)