tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: 7.0.21 Redirects failing randomly
Date Tue, 27 Sep 2011 18:11:55 GMT
2011/9/27 Jacob Champlin <>:
> We have finished debugging this issue.  It turns out that what is happening
> is in 7.0.21 responses are returning to the client before the filter chain
> is complete.  In 7.0.20 all filters complete before the response is returned
> to the client.

It depends on the size of your response and on the size of buffers.
See ServletResponse#isCommitted().

I do not see any issue with that, but maybe I do not fully understand you.
Can you provide a simple web application that demonstrates this?

> In our particular case, we have a TransactionFilter managing our DB
> transactions, so the response page was rendering before the DB transaction
> was commited giving the appearance that the post didn't succeed.
> I think this is a MAJOR regression in 7.0.21.
> Jacob Champlin

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message