hhm..ThreadLocal is a very common parttern, and application servers are supposed to use only one
thread per request.
What usually happens when a scenario like yours occurs is that the ThreadLocal resources are not being freed, which causes the container to "reuse" information, due to the thread pool.
When using JForum's ThreadLocal implementation, all code should be in a try-finally block, where, in the finally call, the resources are released.
JForum
Servlet (JForum.java) does that, so you can take a look at how it acts.
Rafael
[originally posted on jforum.net by Rafael Steil]