ring

2017-10-11T18:16:39.000504Z

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

2017-10-11T18:17:34.000275Z

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

2017-10-11T18:18:03.000034Z

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

2017-10-11T18:18:34.000371Z

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

2017-10-11T18:18:48.000422Z

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

seancorfield 2017-10-11T18:21:56.000238Z

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

seancorfield 2017-10-11T18:22:43.000023Z

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

bostonaholic 2017-10-11T18:25:47.000402Z

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

2017-10-11T18:26:58.000002Z

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

2017-10-11T18:27:06.000306Z

9.3 would be suitable for me at this point

seancorfield 2017-10-11T18:34:11.000177Z

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.

👍 1
seancorfield 2017-10-11T18:36:15.000073Z

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

bostonaholic 2017-10-11T18:38:46.000450Z

gotcha. thanks!

2017-10-11T19:08:20.000229Z

Nice. Thank you for the information!