Re: CloseNowException: This stream is not writable

2021-03-13 Thread DevNull
On 2021-03-10 13:02, Mark Thomas wrote: On 09/03/2021 20:57, DevNull wrote: Apache Tomcat Version 9.0.43 Hello In an application showing hundreds of thumbnail images at the same time, about a hundred thumbnails are loaded but the rest are not. Some posts claim it may be due to the http2

CloseNowException: This stream is not writable

2021-03-09 Thread DevNull
Apache Tomcat Version 9.0.43 Hello In an application showing hundreds of thumbnail images at the same time, about a hundred thumbnails are loaded but the rest are not. Some posts claim it may be due to the http2 connection closing due to too much overhead. I've tried to set

Stopping a Timer in contextDestroyed() to avoid memory leaks results in a NullPointerException

2010-05-26 Thread devnull
Hi, Thanks for reading this. I am developing a webapp and do not understand the following: In my app, I create a Timer when the servlet starts. When tomcat stops, I try to stop the timer in order to avoid memory leaks. My question is: why do I get a NullPointerException while trying to access