They (oracle) first introduced this in Java9.. Its something that they don't expect that certain things are reused/cached i believe
Now they backported that same bug also to java 8, i think they already fixed it for the next java8 version: https://bugs.openjdk.java.net/browse/JDK-8189789 On 26 October 2017 at 16:19, Jörg Schubert <jschub...@cebacus.de> wrote: > Am 26.10.2017 um 15:36 schrieb Jörg Schubert: > >> >> Hello, >> >> We have a very stange problem. Since updating java 8 to build 151 >> (x86-64), tomcat is producing illegal compressed responses - sometimes. >> Firefox and Chrome are complaining about content encoding errors. Firefox >> error message is: an invalid or unknown form of compression was used. >> >> Tested with tomcat 7.0.56 ant tomcat 7.0.82 on debian stretch and ubuntu >> artful. The debian system is running on openvz kernel 2.6.32-46-pve (system >> locale en_US.UTF-8). Ubuntu is running kernel 4.13.0-16 with locale >> de_DE.UTF-8. >> >> Tomcat's manager,docs and demo pages are working. >> A lot of pages of Psi-Probe <https://github.com/psi-probe/psi-probe> >> (Version 2.3.0 and current HEAD) are failing. >> Also failing is a webservice result redirected over >> org.apache.camel.component.servlet.CamelHttpTransportServlet from apache >> camel 2.20. >> >> Going back to oracle jdk 1.8.0_144 or openjdk 1.8.0_141 resolves that >> issue. >> >> A tcpdump of a failed Psi-Probe page is attached. My knowledge about HTTP >> ist limited. Could anyone take a look at it? >> >> >> Thank You and with best regards, >> >> Joerg >> >> >> -- >> ********************************* >> Jörg Schubert >> cebacus Ingenieurgesellschaft mbH >> Friedgartenstr. 50-52 >> 32429 Minden, Germany >> >> Phone: +49-(0571)-9561953 >> Fax: +49-(0571)-9561929 >> e-mail:jschub...@cebacus.de >> ********************************* >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > Some additional information: > > - No problems with Tomcat 8.5.23 using standard connector with > compression="on". > > - Problem occurs on Tomcat7 with standard connector, ssl connector and > http11nio > > > -- Johan Compagner Servoy