Re: NPE in coyote InternalNioOutputBuffer

2013-05-30 Thread Peter Cipov
a) are not thread-safe b) are cached and reused for subsequent incoming requests. Thanks for helpful response. I did not expect these tomcat "features"... Now I am reinspecting my implementation and I have found one place that seems fuzzy to me. public void onTimeout(AsyncEvent ae) throws I

Re: NPE in coyote InternalNioOutputBuffer

2013-05-27 Thread Konstantin Kolinko
2013/5/27 Peter Cipov : > Hello > > I have the commet application - some sort of event bus where requests are > turned in async mode then stored in internal cache and when event occures / > or request times out response is sent back to subscriber (it is handled with > my executor worker threads). >

RE: NPE in coyote InternalNioOutputBuffer

2013-05-27 Thread Caldarale, Charles R
> From: Peter Cipov [mailto:pci...@kerio.com] > Subject: NPE in coyote InternalNioOutputBuffer > Did I miss some curtial lesson about flushing async responses ? > By the way that NPE should never occur - Is it a BUG ? I am using Tomcat > 7.0.28 (current in debian 7.0 Wheezy) That level is alm