Fork me on GitHub
#ring
<
2017-10-11
>
mikerod18:10:39

Does anyone know of any problems using ring-jetty-adapter with a higher version of jetty-server than it brings in as a dependency?

mikerod18:10:34

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

mikerod18:10:03

In particular, the class org.eclipse.jetty.server.handler.gzip.GzipHandler is missing, which can be useful

mikerod18:10:34

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

mikerod18:10:48

It just isn’t clear to me where the issues may be in doing so and if there is any docs anywhere about it

seancorfield18:10:56

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).

bostonaholic18:10:47

I’d love to hear more, or if you could point me to, the issues with jetty and new relic.

seancorfield18:10:15

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).

bostonaholic18:10:46

gotcha. thanks!

seancorfield18:10:43

I’ll try to remember to check when I get back to work (at lunch in Baltimore right now).

mikerod18:10:58

@seancorfield thanks. That is good to hear that you’ve had experience using a higher version in combination with the adapter

mikerod18:10:06

9.3 would be suitable for me at this point

seancorfield18:10:11

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.

mikerod19:10:20

Nice. Thank you for the information!