tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat and "Chunked Transfer-Encoding"
Date Mon, 03 Feb 2014 18:58:01 GMT
2014-02-03 Mark Thomas <markt@apache.org>:
> On 03/02/2014 12:46, Walter.Heestermans@toyota-europe.com wrote:
>> I can't reproduce it with simple web application, it happens in one of our
>> applications, SDL WorldServer application which we bought for
>> translations. Even there the issue is random.

1. When response mixups happen, the first thing I would recommend is
to set the following system property (you can add it to
catalina.properties file):

apache.catalina.connector.RECYCLE_FACADES=true

Documentation:
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html#Security

That will make your configuration more secure (at price of some
performance) and will raise the chances that meddling with
requests/response objects outside of their lifecycle would not go
unnoticed.

Then look for any odd messages in the log files. E.g. attempts to write to a
closed stream, or an IllegalStateException, etc

A known culprit is javax.imageio.ImageIO API
http://wiki.apache.org/tomcat/FAQ/KnownIssues#ImageIOIssues

So far it looks like an application issue, as Mark mentioned.

2. The convention on this mailing list is to do not top-post.
http://tomcat.apache.org/lists.html#tomcat-users
-> 6.

3. What connector implementation are you using?

HTTP/AJP?
BIO/NIO/APR?

I guess that you use HTTP and are behind an HTTP proxy.

4. Do you use any Asynchronous IO, Comet, WebSockets (e.g. via
Atmosphere framework)?

5. In your traffic snippet,
does that HTML response match the request, or a previous request?

What generates those "scrollTo"  script fragments?

6. Note that you can configure AccessLogValve to log your thread name (%I),
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html

Best regards,
Konstantin Kolinko

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


Mime
View raw message