Does anyone know of any problems using ring-jetty-adapter
with a higher version of jetty-server
than it brings in as a dependency?
Main issue: ring/ring-jetty-adapter "1.6.2"
is the most recent release I see, it uses [org.eclipse.jetty/jetty-server "9.2.21.v20170120"]
which behind several versions from current
In particular, the class org.eclipse.jetty.server.handler.gzip.GzipHandler
is missing, which can be useful
Also, I noticed this post http://martintrojer.github.io/clojure/2015/10/04/enable-gzip-with-ring-and-jetty
where the project is clearly configured to use an even older ring-jetty-adapter
with a newer jetty-server
It just isn’t clear to me where the issues may be in doing so and if there is any docs anywhere about it
We’re using Jetty 9.3 I believe with no issues. We may even be on a later version (but there are some issues with New Relic and some more recent Jetty versions).
I’ll try to remember to check when I get back to work (at lunch in Baltimore right now).
I’d love to hear more, or if you could point me to, the issues with jetty and new relic.
@seancorfield thanks. That is good to hear that you’ve had experience using a higher version in combination with the adapter
9.3 would be suitable for me at this point
Back at the hotel (and therefore at work). Our versions.properties
file has
org.eclipse.jetty/jetty-server=9.3.14.v20161028
# this version seems to work but is not yet officially supported by New Relic:
#org.eclipse.jetty/jetty-server=9.4.0.v20161208
So that's what we're using and also what we've tested against more recently.I'd have to dig thru all the support tickets I opened with New Relic about compatibility issues I ran into with various Jetty releases. Some were minor (exceptions thrown at startup that didn't seem to affect operation), some caused monitoring to fail, most were very minor issues (log messages indicating potential problems that didn't seem to be actual problems).
gotcha. thanks!
Nice. Thank you for the information!