Tomcat ClientAbortException Listener? <p>Our Tomcat 6 Server is reporting quite a few ClientAbortException errors, which I believe is down to say a user navigating away from the page before its fully loaded. We are also getting No buffer space available (maximum connections reached? errors.</p> <p>Is there a way of creating a ClientAbortException Listener to terminate any Abandoned Connection Clean Up or unused http threads and delete any byte data used for incomplete downloaded images.</p> <p>This project is inherited and I've noticed that even when running locally if I start VisualJVM and view the monitor and then open a website locally I see an Abandoned Connection Clean Up thread created and a number of http threads created. If I open another website on the same local web server I can see yet again another Abandoned Connection Clean Up thread created and another set of http threads created. If I navigate through the pages, I don't see any other connections created, mainly because the project is using database pooling but if I close the browser the threads are still running, they are not being freed up.</p> <p>Needless to say, as soon as the server has been running for a number of days or is under load the aforementioned errors are generated.</p> <p>Any help would be much appreciated :-)</p>