开发者

Ways to prevent broken pipe?

ClientAbortException:  java.net.SocketException: Broken pipe

If I am wright, this happens when user aborts current operation or makes another request, before the last one is finished.

Can this 开发者_C百科reflects on browsing user or is this (always) just a Catalinas exception?

Are there any ways to avoid this exception?


Try defining a filter for all resources in your webapp, and catch & discard the exception there. I'm not sure if it will work, but give it a try.

In 99% of the cases this exception can be ignored, because it's mainly called by user disconnects (i-net breaks, user hits stop, closes browser, etc)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜