2011/9/27 Jacob Champlin <jac...@rentec.com>:
> 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to