Re: Tomcat 7.0: compression="on" or compression="force" running on Java 1.8.0_151 causes content encoding errors in browsers

2017-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/26/17 10:30 AM, Johan Compagner wrote:
> 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

Thanks to both Jörg and Johan for bring this to everyone's attention.

I was just getting ready to update to 8.latest in production and this
may have saved me a serious headache.

Thanks,
- -chri

> On 26 October 2017 at 16:19, Jörg Schubert 
> 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  
>>> (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
>> 
>> 
>> 
> 
> 
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAln3OCUACgkQHPApP6U8
pFhE5hAAkrQuqhvbL0Z8MjYOT9l9WKFoyVLrcu3NmvhboqBojdyfruwWB0eJLD0y
xeSDSyab5HNS26N1cFvQ1T0U7slNuDp/wAsuIYV8eSSISUvIz3FQD/on+/wyjVTL
247tSJdCfdSu0nxIZ1SXrenptrMRzak3oT9IYCHc4v7bkAonwQYNo3mlcHa5MZ4v
goIkN0O5I0ss+g1Vuy18Vt3Ixn+D4gem7sC0oFA1dAGcgmG5lsR91OGikYTlYwos
D8Pbwvbbmsz+lChKgF1qGJLQ4QSezkK19uL2Y20/0FKSd97zvFxsG0/1CJBBFYtl
PrbQnJjb84D7WkJo9djigS74AgBC885mAz+YAVYn02c5z0xma1zonZalhUeVhdzY
3JHZ+WXC61fF+sVj16ZcWGaOkWdFbkWJEa4AnUsRbGmvGjWUFOmYXCNdQOdE3/C6
SlV5Dd+L9IhrPmqr0fCcyScUHWyWSsfAhmAKgLH/5Cb0qioprtxFTx+J2SC7s3Yp
SV+CFo4rQIvBQ+LK0178x4EI9cFJJb+m5ia5Wim4jGyk6GQBGxPFNQxhZuHUxEob
6iWjMRIZc+D3zmD9DVmdFs8kK7L1Jn0TcUy3DjnOegEvRHHWGQM3fntqbVtG67ct
vpSbKXdoamAu8hv5hPxQc2sWAZOuupYdtXIYPV1NH7lqBTPihKo=
=ZrWj
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat 7.0: compression="on" or compression="force" running on Java 1.8.0_151 causes content encoding errors in browsers

2017-10-26 Thread Johan Compagner
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  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 
>> (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


Re: Tomcat 7.0: compression="on" or compression="force" running on Java 1.8.0_151 causes content encoding errors in browsers

2017-10-26 Thread Jörg Schubert

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  (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




Tomcat 7.0: compression="on" or compression="force" running on Java 1.8.0_151 causes content encoding errors in browsers

2017-10-26 Thread 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  (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