On Thu, Nov 25, 2010 at 3:08 PM, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote: >> From: declan harrison [mailto:harrison.dec...@gmail.com] >> Subject: Re: Tomcat 6.0.24 - Should send body As Chunked Response but >> sometimes sends it back Un-Chunked > >> it does look like it to me that state is leaking between >> these two request on this same thread. > > That hints of a ThreadLocal being used somewhere in your code (or a 3rd-party > library). That's usually not a good idea in a pooled environment. >
Must be in 3rd party code as I dont use any ThreadLocal data explicitly myself. >> Is there a way of obliterating a thread on Tomcat > > Not that I'm aware of. You could temporarily set clearReferencesThreadLocals > to true in your <Context> element to see if that takes care of the problem, > but you probably don't want to do that in production (not really thread-safe). Yea not sure. I was wondering it might be worth trying to use the APR Connector and see if the issue is the present there also or hopefully not. you think its worth a shot. Im also looking at trying to produce a simple servlet where I can reproduce this problem and send it to the mailing list. I'm hopeful I can get such a simple servlet --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org