Hi, Thanks for the response, u r right I'll do the cleanup. And is tomcat uses new thread for each request or reuse existing thread.
Thank you, Shiva On 05-Feb-2018 8:28 PM, "Johan Compagner" <jcompag...@servoy.com> wrote: > If that is the case then the problem is also that you don't clean up the > threadlocals.. > That is a problem by itself, you should always after a request have cleanup > all your threadlocals > > On 5 February 2018 at 15:36, Shiva Kumar K R <shiv...@securelyshare.com> > wrote: > > > Hi, > > > > Component details: > > Tomcat = 8.5.24 > > Java = 1.8 > > OS = Ubuntu 16.04 LTS > > > > Is above tomcat uses thread pool to process requests out of the box > without > > any explicit configuration of thread pool. > > > > I faced an issue while using threadlocal which was returning data stored > in > > previous request instead of current request. > > > > Thank You, > > Shiva Kumar K R > > > > > > -- > Johan Compagner > Servoy >