This relates to the zm-jetty-conf repo/project, and the jetty.xml.production file most likely - at least as far as I can see. I haven't had anyone mention this for the builds that I've made, so I'm going to fire up a server with one of my builds now to find out if they are affected as well or not.
For completeness, the values for jetty.xml.production - which generate jetty.xml during build, this is how it looks from what I have cloned:I expect the Zimbra team already know where to find this anyway but just put it for completeness. I'll report back if I also have a similar issue as @liverpoolfcfan or whether mine look different for some reason.Code:
<!-- HTTPCOMPRESSIONBEGIN %%comment VAR:zimbraHttpCompressionEnabled,-->%% <Get id="next" name="handler" /> <Set name="handler"> <New id="GzipHandler" class="org.eclipse.jetty.server.handler.gzip.GzipHandler"> <Set name="handler"><Ref refid="next" /></Set> <Set name="minGzipSize"><Property name="jetty.gzip.minGzipSize" deprecated="gzip.minGzipSize" default="2048"/></Set> <Set name="checkGzExists"><Property name="jetty.gzip.checkGzExists" deprecated="gzip.checkGzExists" default="false"/></Set> <Set name="compressionLevel"><Property name="jetty.gzip.compressionLevel" deprecated="gzip.compressionLevel" default="-1"/></Set> <Set name="excludedAgentPatterns"> <Array type="String"> <Item><Property name="jetty.gzip.excludedUserAgent" deprecated="gzip.excludedUserAgent" default=".*MSIE.6\.0.*"/></Item> </Array> </Set> <Set name="includedMethods"> <Array type="String"> <Item>GET</Item> <Item>POST</Item> </Array> </Set> <!-- Modern UI uses build time compression --> <Set name="excludedPaths"> <Array type="String"> <Item>/modern/*</Item> </Array> </Set> </New> </Set> %%comment VAR:zimbraHttpCompressionEnabled,<!--%% HTTPCOMPRESSIONEND -->
On our system, the jetty.xml file was being generated from the /opt/zimbra/jetty_base/etc/jetty.xml.in template.
I deleted the <!-- Modern UI uses build time compression --> line, saved, restarted Zimbra services and the resulting /opt/zimbra/jetty_base/etc/jetty.xml was then OK and all services started normally.
I didn't build our installer for 10.0.6, as building is currently a bit beyond my knowledge sphere. I got the pre-built archive from Jan Skolnik, who kindly builds and shares them for both Ubuntu and RHEL distro's at https://drive.janskolnik.net/s/cyjYjzkHT9nqGgQ
Statistics: Posted by Al-MacLean — Tue Feb 06, 2024 11:40 am