Hi

I am experiencing deadlock when trying to set output stream write listener:
The thread from my own thread pool is trying to set a write listener (my
code via setWriteListener call) and another one thread is
https-jsse-nio-N-exec is trying to close and flush (there is no my code in
the stack trace) and no more threads locked.
.
So the question is: is it even legal to call any async operation from
non-server thread? I see a lot of existing code in the web assumes that it
is. I also used to write so many times with no issues until now. This is
why I suppose it could be a tomcat bug.

Reply via email to