-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vitaly,

Vitaly Baranovsky 2 wrote:
| Yes, data is added to ThreadLocal with every request.
| I can't modify this application.
|
| Does anybody knows, how to turn off thread pool? I want threads are
created
| before each requests and destroyed after each request. I thought
| minSpareThreads=0 maxSpareThreads=0 can do this...

Will this not break the application? Does it not rely on this information?

Or, are we talking about an application that incorrectly uses
ThreadLocal variables and needs to be "fixed" without modifying the code?

What about adding code? You could easily write a Filter that would be
invoked after every request to clean-out the ThreadLocal data. That way,
you would not have to try these thread pool tricks.

If that's an option, I'll give you some suggestions.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkezC1gACgkQ9CaO5/Lv0PAKtQCeJyhybmCQXHn8iWBBBGbId1oL
i3UAoKwvc2buTJPIGRcSbz/x/TP8Ab55
=oiwk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to